public interface Constraint extends Element
The following features are supported:
IntegrityPackage.getConstraint()
Modifier and Type | Method and Description |
---|---|
MDWEList<String> |
getAllowedValues()
Returns the value of the 'Allowed Values' attribute list.
|
Field |
getConstrainedField()
Returns the value of the 'Constrained Field' reference.
|
String |
getDescription()
Returns the value of the 'Description' attribute.
|
Field |
getSourceField()
Returns the value of the 'Source Field' reference.
|
MDWEList<Type> |
getSourceTypes()
Returns the value of the 'Source Types' reference list.
|
boolean |
isMandatory()
Returns the value of the 'Mandatory' attribute.
|
void |
setConstrainedField(Field value)
Sets the value of the '
Constrained Field ' reference. |
void |
setDescription(String value)
Sets the value of the '
Description ' attribute. |
void |
setMandatory(boolean value)
Sets the value of the '
Mandatory ' attribute. |
void |
setSourceField(Field value)
Sets the value of the '
Source Field ' reference. |
eUninitialize
compareTo, eExtendedClass, eIsInstanceOf, eIsInstanceOf, eIsProfiled, eIsRemoved, eMetamodel, eMetaTypeName, eModel, eRemove, eSetUniqueID, eUniqueID, superScript, superScript, toBoolean, toBoolean, toByte, toByte, toChar, toChar, toDouble, toDouble, toFloat, toFloat, toInt, toInt, toList, toList, toList, toList, toList, toLong, toLong, toObject, toObject, toSet, toSet, toShort, toShort, toString, toString
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Field getConstrainedField()
setConstrainedField(Field)
,
IntegrityPackage.getConstraint_ConstrainedField()
void setConstrainedField(Field value)
Constrained Field
' reference.
value
- the new value of the 'Constrained Field' reference.getConstrainedField()
String getDescription()
""
.
setDescription(String)
,
IntegrityPackage.getConstraint_Description()
void setDescription(String value)
Description
' attribute.
value
- the new value of the 'Description' attribute.getDescription()
boolean isMandatory()
setMandatory(boolean)
,
IntegrityPackage.getConstraint_Mandatory()
void setMandatory(boolean value)
Mandatory
' attribute.
value
- the new value of the 'Mandatory' attribute.isMandatory()
MDWEList<Type> getSourceTypes()
Type
.
IntegrityPackage.getConstraint_SourceTypes()
Field getSourceField()
setSourceField(Field)
,
IntegrityPackage.getConstraint_SourceField()
void setSourceField(Field value)
Source Field
' reference.
value
- the new value of the 'Source Field' reference.getSourceField()
MDWEList<String> getAllowedValues()
String
.
IntegrityPackage.getConstraint_AllowedValues()