public interface IConstraint extends IModelElement
Modifier and Type | Field and Description |
---|---|
static String |
MetaclassName |
Modifier and Type | Method and Description |
---|---|
void |
addConstrainedElement(IModelElement element)
Add a ObModelElement to the 'ConstrainedElement' association.
|
int |
cardConstrainedElement()
Returns the number elements in the ConstrainedElement association.
|
int |
cardConstrainedElement(Class<? extends IModelElement> filteredClass)
Returns the number elements in the ConstrainedElement association filtered with the given metaclass.
|
String |
getBaseClass()
Getter for the BaseClass meta class attribute.
|
String |
getBody()
Getter for the Body meta class attribute.
|
ObList<IModelElement> |
getConstrainedElement()
Get the list of ObModelElement to the ConstrainedElement association.
|
<T extends IModelElement> |
getConstrainedElement(Class<T> filteredClass)
Get the list of ObModelElement to the ConstrainedElement association.
|
String |
getLanguage()
Getter for the Language meta class attribute.
|
void |
removeConstrainedElement(IModelElement element)
Remove an ObModelElement from the 'ConstrainedElement' association.
|
void |
setBaseClass(String value)
Setter for the 'BaseClass' meta class attribute
|
void |
setBody(String value)
Setter for the 'Body' meta class attribute
|
void |
setLanguage(String value)
Setter for the 'Language' meta class attribute
|
addBpmnLaneRefs, addConstraintDefinition, addDefaultParametering, addDependsOnDependency, addDescriptor, addDocument, addExtension, addImpactedDependency, addLocalDescriptor, addLocalTag, addManifesting, addproduct, addReceivedInfo, addRepresentingConnector, addRepresentingEnd, addRepresentingInstance, addRepresentingPartition, addRepresents, addSentInfo, addStereotype, addTag, addTemplateSubstitution, addTypingParameter, cardBpmnLaneRefs, cardBpmnLaneRefs, cardConstraintDefinition, cardConstraintDefinition, cardDefaultParametering, cardDefaultParametering, cardDependsOnDependency, cardDependsOnDependency, cardDescriptor, cardDescriptor, cardDocument, cardDocument, cardExtension, cardExtension, cardImpactedDependency, cardImpactedDependency, cardLocalDescriptor, cardLocalDescriptor, cardLocalTag, cardLocalTag, cardManifesting, cardManifesting, cardproduct, cardproduct, cardReceivedInfo, cardReceivedInfo, cardRepresentingConnector, cardRepresentingConnector, cardRepresentingEnd, cardRepresentingEnd, cardRepresentingInstance, cardRepresentingInstance, cardRepresentingPartition, cardRepresentingPartition, cardRepresents, cardRepresents, cardSentInfo, cardSentInfo, cardTag, cardTag, cardTemplateSubstitution, cardTemplateSubstitution, cardTypingParameter, cardTypingParameter, getBpmnLaneRefs, getBpmnLaneRefs, getConstraintDefinition, getConstraintDefinition, getDefaultParametering, getDefaultParametering, getDependsOnDependency, getDependsOnDependency, getDescriptor, getDescriptor, getDocument, getDocument, getExtension, getExtension, getImpactedDependency, getImpactedDependency, getLocalDescriptor, getLocalDescriptor, getLocalTag, getLocalTag, getManifesting, getManifesting, getNote, getNoteContent, getOwnerTemplateParameter, getproduct, getproduct, getReceivedInfo, getReceivedInfo, getRepresentingConnector, getRepresentingConnector, getRepresentingEnd, getRepresentingEnd, getRepresentingInstance, getRepresentingInstance, getRepresentingPartition, getRepresentingPartition, getRepresents, getRepresents, getSentInfo, getSentInfo, getTag, getTag, getTagValues, getTemplateSubstitution, getTemplateSubstitution, getTypingParameter, getTypingParameter, isStereotyped, isTagged, putNoteContent, putTagValue, putTagValues, removeBpmnLaneRefs, removeConstraintDefinition, removeDefaultParametering, removeDependsOnDependency, removeDescriptor, removeDocument, removeExtension, removeImpactedDependency, removeLocalDescriptor, removeLocalTag, removeManifesting, removeNote, removeproduct, removeReceivedInfo, removeRepresentingConnector, removeRepresentingEnd, removeRepresentingInstance, removeRepresentingPartition, removeRepresents, removeSentInfo, removeStereotype, removeTag, removeTag, removeTemplateSubstitution, removeTypingParameter, setName, setOwnerTemplateParameter, toString
accept, addcausing, cardcausing, cardcausing, compareTo, delete, equals, getcausing, getcausing, getCompositionOwner, getElementStatus, getHid, getIdentifier, getLid, getMetaclassId, getMetaclassName, getmodifDate, getName, getSessionId, hashCode, isValid, removecausing, setmodifDate
static final String MetaclassName
String getBaseClass()
void setBaseClass(String value)
value
- the new 'BaseClass' value.String getBody()
void setBody(String value)
value
- the new 'Body' value.String getLanguage()
void setLanguage(String value)
value
- the new 'Language' value.void addConstrainedElement(IModelElement element)
element
- The ObModelElement to add.int cardConstrainedElement()
int cardConstrainedElement(Class<? extends IModelElement> filteredClass)
filteredClass
- The filter to apply.ObList<IModelElement> getConstrainedElement()
<T extends IModelElement> ObList<T> getConstrainedElement(Class<T> filteredClass)
This list is filtered using the given filteredClass
argument.
The returned list elements can therefore be directly safely casted.
T
- The applied filter.filteredClass
- The filter to apply.void removeConstrainedElement(IModelElement element)
element
- The ObModelElement to remove.