Class BasePropertyConstraintsDescriptor
- java.lang.Object
 - 
- jetbrains.mps.smodel.runtime.base.BasePropertyConstraintsDescriptor
 
 
- 
- All Implemented Interfaces:
 PropertyConstraintsDescriptor,PropertyConstraintsDispatchable
public class BasePropertyConstraintsDescriptor extends Object implements PropertyConstraintsDispatchable
 
- 
- 
Constructor Summary
Constructors Constructor Description BasePropertyConstraintsDescriptor(SPropertyId property, ConstraintsDescriptor container)Deprecated.BasePropertyConstraintsDescriptor(SProperty property, ConstraintsDescriptor container) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstraintsDescriptorgetContainer()SPropertygetSProperty()ObjectgetValue(SNode node)booleanhasOwnGetter()booleanhasOwnSetter()booleanhasOwnValidator()booleanisGetterDefault()booleanisReadOnly()booleanisSetterDefault()booleanisValidatorDefault()voidsetValue(SNode node, String value)booleanvalidateValue(SNode node, String value)- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface jetbrains.mps.smodel.runtime.PropertyConstraintsDescriptor
setPropertyValue, validateValue 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
BasePropertyConstraintsDescriptor
@Deprecated public BasePropertyConstraintsDescriptor(SPropertyId property, ConstraintsDescriptor container)
Deprecated. 
- 
BasePropertyConstraintsDescriptor
public BasePropertyConstraintsDescriptor(SProperty property, ConstraintsDescriptor container)
 
 - 
 
- 
Method Detail
- 
isSetterDefault
public boolean isSetterDefault()
 
- 
isGetterDefault
public boolean isGetterDefault()
 
- 
isValidatorDefault
public boolean isValidatorDefault()
 
- 
hasOwnGetter
public boolean hasOwnGetter()
- Specified by:
 hasOwnGetterin interfacePropertyConstraintsDispatchable
 
- 
hasOwnSetter
public boolean hasOwnSetter()
- Specified by:
 hasOwnSetterin interfacePropertyConstraintsDispatchable
 
- 
hasOwnValidator
public boolean hasOwnValidator()
- Specified by:
 hasOwnValidatorin interfacePropertyConstraintsDispatchable
 
- 
getSProperty
public SProperty getSProperty()
- Specified by:
 getSPropertyin interfacePropertyConstraintsDescriptor
 
- 
getContainer
public ConstraintsDescriptor getContainer()
- Specified by:
 getContainerin interfacePropertyConstraintsDescriptor
 
- 
getValue
public Object getValue(SNode node)
- Specified by:
 getValuein interfacePropertyConstraintsDescriptor
 
- 
setValue
public void setValue(SNode node, String value)
- Specified by:
 setValuein interfacePropertyConstraintsDescriptor
 
- 
validateValue
public boolean validateValue(SNode node, String value)
- Specified by:
 validateValuein interfacePropertyConstraintsDescriptor
 
- 
isReadOnly
public boolean isReadOnly()
- Specified by:
 isReadOnlyin interfacePropertyConstraintsDescriptor
 
 - 
 
 -