public interface ModelElement extends Element
Modifier and Type | Method and Description |
---|---|
void |
addStereotype(String moduleName,
String stereotypeName)
Get the stereotype specified by the (moduleName, stereotypeName) pair from this model element.
|
org.eclipse.emf.common.util.EList<BpmnLane> |
getBpmnLaneRefs()
Getter for relation 'ModelElement->BpmnLaneRefs'
Metamodel description:
null
|
<T extends BpmnLane> |
getBpmnLaneRefs(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->BpmnLaneRefs'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<Constraint> |
getConstraintDefinition()
Getter for relation 'ModelElement->ConstraintDefinition'
Metamodel description:
null
|
<T extends Constraint> |
getConstraintDefinition(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->ConstraintDefinition'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<TemplateParameter> |
getDefaultParametering()
Getter for relation 'ModelElement->DefaultParametering'
Metamodel description:
null
|
<T extends TemplateParameter> |
getDefaultParametering(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->DefaultParametering'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<Dependency> |
getDependsOnDependency()
Getter for relation 'ModelElement->DependsOnDependency'
Metamodel description:
Designates a Dependency that relates to a supplier ModelElement.
|
<T extends Dependency> |
getDependsOnDependency(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->DependsOnDependency'
Metamodel description:
Designates a Dependency that relates to a supplier ModelElement.
|
org.eclipse.emf.common.util.EList<Note> |
getDescriptor()
Getter for relation 'ModelElement->Descriptor'
Metamodel description:
Notes (documentation, code, and so on) describing the ModelElement.
|
<T extends Note> |
getDescriptor(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Descriptor'
Metamodel description:
Notes (documentation, code, and so on) describing the ModelElement.
|
org.eclipse.emf.common.util.EList<ExternDocument> |
getDocument()
Getter for relation 'ModelElement->Document'
Metamodel description:
null
|
<T extends ExternDocument> |
getDocument(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Document'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<Stereotype> |
getExtension()
Getter for relation 'ModelElement->Extension'
Metamodel description:
Stereotype metaclassifying the ModelElement.
|
<T extends Stereotype> |
getExtension(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Extension'
Metamodel description:
Stereotype metaclassifying the ModelElement.
|
org.eclipse.emf.common.util.EList<Dependency> |
getImpactedDependency()
Getter for relation 'ModelElement->ImpactedDependency'
Metamodel description:
null
|
<T extends Dependency> |
getImpactedDependency(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->ImpactedDependency'
Metamodel description:
null
|
LocalPropertyTable |
getLocalProperties()
Getter for relation 'ModelElement->LocalProperties'
Metamodel description:
null
|
String |
getLocalProperty(String key) |
org.eclipse.emf.common.util.EList<Manifestation> |
getManifesting()
Getter for relation 'ModelElement->Manifesting'
Metamodel description:
null
|
<T extends Manifestation> |
getManifesting(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Manifesting'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<MatrixDefinition> |
getMatrix()
Getter for relation 'ModelElement->Matrix'
Metamodel description:
null
|
<T extends MatrixDefinition> |
getMatrix(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Matrix'
Metamodel description:
null
|
String |
getName()
Getter for attribute 'ModelElement.Name'
Metamodel description:
Name of the element.
|
Note |
getNote(String moduleName,
String noteTypeName)
This operation returns the first note of the type indicated by the (moduleName, noteTypeName) pair.
|
String |
getNoteContent(String moduleName,
String noteTypeName)
This method returns the content of the first note of the type indicated by the (moduleName, noteTypeName) pair.
|
TemplateParameter |
getOwnerTemplateParameter()
Getter for relation 'ModelElement->OwnerTemplateParameter'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<AbstractDiagram> |
getProduct()
Getter for relation 'ModelElement->Product'
Metamodel description:
null
|
<T extends AbstractDiagram> |
getProduct(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Product'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<PropertyTable> |
getProperties()
Getter for relation 'ModelElement->Properties'
Metamodel description:
null
|
<T extends PropertyTable> |
getProperties(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Properties'
Metamodel description:
null
|
PropertyTable |
getProperties(String name)
Get the first found
PropertyTable that has the given name. |
String |
getProperty(String tableName,
String key)
Get a property value.
|
String |
getProperty(String moduleName,
String stereotypeName,
String key)
Get a property value.
|
org.eclipse.emf.common.util.EList<InformationFlow> |
getReceivedInfo()
Getter for relation 'ModelElement->ReceivedInfo'
Metamodel description:
null
|
<T extends InformationFlow> |
getReceivedInfo(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->ReceivedInfo'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<NaryConnector> |
getRepresentingConnector()
Getter for relation 'ModelElement->RepresentingConnector'
Metamodel description:
null
|
<T extends NaryConnector> |
getRepresentingConnector(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->RepresentingConnector'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<ConnectorEnd> |
getRepresentingEnd()
Getter for relation 'ModelElement->RepresentingEnd'
Metamodel description:
null
|
<T extends ConnectorEnd> |
getRepresentingEnd(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->RepresentingEnd'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<BindableInstance> |
getRepresentingInstance()
Getter for relation 'ModelElement->RepresentingInstance'
Metamodel description:
null
|
<T extends BindableInstance> |
getRepresentingInstance(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->RepresentingInstance'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<ActivityPartition> |
getRepresentingPartition()
Getter for relation 'ModelElement->RepresentingPartition'
Metamodel description:
null
|
<T extends ActivityPartition> |
getRepresentingPartition(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->RepresentingPartition'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<Binding> |
getRepresents()
Getter for relation 'ModelElement->Represents'
Metamodel description:
null
|
<T extends Binding> |
getRepresents(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Represents'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<InformationFlow> |
getSentInfo()
Getter for relation 'ModelElement->SentInfo'
Metamodel description:
null
|
<T extends InformationFlow> |
getSentInfo(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->SentInfo'
Metamodel description:
null
|
Stereotype |
getStereotype(String moduleName,
String stereotypeName) |
org.eclipse.emf.common.util.EList<TaggedValue> |
getTag()
Getter for relation 'ModelElement->Tag'
Metamodel description:
TaggedValues annotating the ModelElement.
|
<T extends TaggedValue> |
getTag(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Tag'
Metamodel description:
TaggedValues annotating the ModelElement.
|
TaggedValue |
getTag(String moduleName,
String tagTypeName)
This method returns the (first) tagged value of the type indicated by the (moduleName, tagTypeName) pair.
|
String |
getTagValue(String moduleName,
String tagTypeName)
This method returns the first parameter value of the first tagged value of the type indicated by the (moduleName,
tagTypeName) pair.
|
List<String> |
getTagValues(String moduleName,
String tagTypeName)
This method returns the parameter values of the first tagged value of the type indicated by the (moduleName, tagTypeName)
pair.
|
org.eclipse.emf.common.util.EList<TemplateParameterSubstitution> |
getTemplateSubstitution()
Getter for relation 'ModelElement->TemplateSubstitution'
Metamodel description:
null
|
<T extends TemplateParameterSubstitution> |
getTemplateSubstitution(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->TemplateSubstitution'
Metamodel description:
null
|
org.eclipse.emf.common.util.EList<TemplateParameter> |
getTypingParameter()
Getter for relation 'ModelElement->TypingParameter'
Metamodel description:
null
|
<T extends TemplateParameter> |
getTypingParameter(Class<T> filterClass)
Filtered Getter for relation 'ModelElement->TypingParameter'
Metamodel description:
null
|
boolean |
isStereotyped(String modulePattern,
String stereotypeName)
Checks if a model element has the stereotype specified by the (moduleName, stereotypeName) pair.
|
boolean |
isTagged(String moduleName,
String tagTypeName)
This method returns 'true' if the element has a tagged value of the type indicated by the (moduleName, tagTypeName) pair.
|
void |
putNoteContent(String moduleName,
String noteTypeName,
String content)
This method sets the content of the first note of the type indicated by the (moduleName, noteTypeName) pair.
|
void |
putTagValue(String moduleName,
String tagTypeName,
String value)
This method sets the parameter of the tagged value of the type indicated by the (moduleName, tagTypeName) pair.
|
void |
putTagValues(String moduleName,
String tagTypeName,
List<String> values)
This method sets the parameters of the tagged value of the type indicated by the (moduleName, tagTypeName) pair.
|
void |
removeNotes(String moduleName,
String noteTypeName)
This method deletes all the notes having this noteType of the type indicated by the (moduleName, noteTypeName) pair.
|
void |
removeStereotypes(String moduleName,
String stereotypeName)
This method removes the stereotype the stereotype specified by the (moduleName, stereotypeName) pair.
|
void |
removeTags(String moduleName,
String tagTypeName)
This method deletes all the tagged values of the type indicated by the (moduleName, tagTypeName) pair.
|
void |
setLocalProperties(LocalPropertyTable value)
Setter for relation 'ModelElement->LocalProperties'
Metamodel description:
null
|
void |
setLocalProperty(String key,
String value) |
void |
setName(String value)
Setter for attribute 'ModelElement.Name'
Metamodel description:
Name of the element.
|
void |
setOwnerTemplateParameter(TemplateParameter value)
Setter for relation 'ModelElement->OwnerTemplateParameter'
Metamodel description:
null
|
void |
setProperty(String tableName,
String key,
String value)
Set a property value.
|
void |
setProperty(String moduleName,
String stereotypeName,
String key,
String value)
Set a property value.
|
getAddedToQuery, getAddedToQuery, getCausing, getCausing, getDiagramElement, getDiagramElement
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, delete, getCompositionChildren, getCompositionOwner, getMClass, getStatus, getUuid, isDeleted, isModifiable, isShell, isValid, mGet, mGet, mSet
compareTo
static final String MNAME
boolean isStereotyped(String modulePattern, String stereotypeName)
moduleName
- - the name of the module providing the type. Cannot be null.stereotypeName
- The stereotype to find. Cannot be null.void addStereotype(String moduleName, String stereotypeName) throws ExtensionNotFoundException
moduleName
- - the name of the module providing the type. Cannot be null.stereotypeName
- The stereotype to find. Cannot be null
.ExtensionNotFoundException
void removeStereotypes(String moduleName, String stereotypeName)
type
- - the stereotype name. Cannot be null
.moduleName
- - the name of the module providing the type. Cannot be null
.Stereotype getStereotype(String moduleName, String stereotypeName)
boolean isTagged(String moduleName, String tagTypeName)
moduleName
- - the name of the module providing the type. Cannot be null
.tagTypeName
- - The tagged value type name. Cannot be null
.TaggedValue getTag(String moduleName, String tagTypeName)
moduleName
- - the name of the module providing the type. Cannot be null
.tagTypeName
- - The tagged value type name. Cannot be null
.null
if it can't be foundString getTagValue(String moduleName, String tagTypeName)
moduleName
- - the name of the module providing the type. Cannot be null
.tagTypeName
- - The tagged value type name. Cannot be null
.null
if no tag can be found or there are no parameters, otherwise the first parameter value.List<String> getTagValues(String moduleName, String tagTypeName)
moduleName
- - the name of the module providing the type. Cannot be null
.tagTypeName
- - The tagged value type name. Cannot be null
.null
if no tag can be found otherwise the (possibly empty) parameter listvoid putTagValue(String moduleName, String tagTypeName, String value) throws ExtensionNotFoundException
null
or empty the existing tag is deleted.values
- - the values to store on the tag parameters. If value is null
the tag is deleted.moduleName
- - the name of the module providing the type. Cannot be null
.tagTypeName
- - The tagged value type name. Cannot be null
.ElementNotUniqueException
ExtensionNotFoundException
void putTagValues(String moduleName, String tagTypeName, List<String> values) throws ExtensionNotFoundException
null
or empty list the existing tag is deleted.moduleName
- - the name of the module providing the type. Cannot be null
.tagTypeName
- - The tagged value type name. Cannot be null
.ElementNotUniqueException
ExtensionNotFoundException
void removeTags(String moduleName, String tagTypeName)
moduleName
- - the name of the module providing the type. Cannot be null
.tagTypeName
- - The tagged value type name. Cannot be null
.Note getNote(String moduleName, String noteTypeName)
moduleName
- - the name of the module providing the type. Cannot be null
.noteTypeName
- - the note type name. Cannot be null
.null
if the note can't be found.String getNoteContent(String moduleName, String noteTypeName)
moduleName
- - the name of the module providing the type. Cannot be null
.noteTypeName
- - the note type name. Cannot be null
.null
if the note can't be found.void putNoteContent(String moduleName, String noteTypeName, String content) throws ExtensionNotFoundException
moduleName
- - the name of the module providing the type. Cannot be null
.noteTypeName
- - the note type name. Cannot be null
.content
- - the note contentElementNotUniqueException
ExtensionNotFoundException
void removeNotes(String moduleName, String noteTypeName)
moduleName
- - the name of the module providing the type. Cannot be null
.noteTypeName
- - the note type name. Cannot be null
.String getProperty(String tableName, String key)
Return null
if no PropertyTable
with the given name exists or it does not contain the given property.
tableName
- The table name. The table may not exist.key
- a property namenull
.String getProperty(String moduleName, String stereotypeName, String key) throws ExtensionNotFoundException
Return null
if no TypedPropertyTable
for the stereotype exists or it does not contain the given
property.
moduleName
- - the name of the module providing stereotype. Cannot be null
.stereotypeName
- - the name of the stereotype providing the table type. Cannot be null
.key
- a property namenull
.ExtensionNotFoundException
PropertyTable getProperties(String name)
PropertyTable
that has the given name.name
- a property table namenull
.void setProperty(String moduleName, String stereotypeName, String key, String value) throws ExtensionNotFoundException
Update the value of a property in a stereotype's TypedPropertyTable
. If missing, the table itself is created.
moduleName
- - the name of the module providing stereotype. Cannot be null
.stereotypeName
- - the name of the stereotype providing the table type. Cannot be null
.key
- a property namevalue
- the property value.ExtensionNotFoundException
void setProperty(String tableName, String key, String value)
Update the value of a property in a PropertyTable
. If missing, the table itself is created.
tableName
- The table name. The table may not exist.key
- a property namevalue
- the property value.String getName()
void setName(String value)
LocalPropertyTable getLocalProperties()
void setLocalProperties(LocalPropertyTable value)
org.eclipse.emf.common.util.EList<TemplateParameterSubstitution> getTemplateSubstitution()
<T extends TemplateParameterSubstitution> List<T> getTemplateSubstitution(Class<T> filterClass)
org.eclipse.emf.common.util.EList<BpmnLane> getBpmnLaneRefs()
<T extends BpmnLane> List<T> getBpmnLaneRefs(Class<T> filterClass)
org.eclipse.emf.common.util.EList<Stereotype> getExtension()
<T extends Stereotype> List<T> getExtension(Class<T> filterClass)
org.eclipse.emf.common.util.EList<Dependency> getDependsOnDependency()
<T extends Dependency> List<T> getDependsOnDependency(Class<T> filterClass)
org.eclipse.emf.common.util.EList<TemplateParameter> getDefaultParametering()
<T extends TemplateParameter> List<T> getDefaultParametering(Class<T> filterClass)
org.eclipse.emf.common.util.EList<Binding> getRepresents()
<T extends Binding> List<T> getRepresents(Class<T> filterClass)
org.eclipse.emf.common.util.EList<ExternDocument> getDocument()
<T extends ExternDocument> List<T> getDocument(Class<T> filterClass)
org.eclipse.emf.common.util.EList<TaggedValue> getTag()
<T extends TaggedValue> List<T> getTag(Class<T> filterClass)
TemplateParameter getOwnerTemplateParameter()
void setOwnerTemplateParameter(TemplateParameter value)
org.eclipse.emf.common.util.EList<Dependency> getImpactedDependency()
<T extends Dependency> List<T> getImpactedDependency(Class<T> filterClass)
org.eclipse.emf.common.util.EList<ConnectorEnd> getRepresentingEnd()
<T extends ConnectorEnd> List<T> getRepresentingEnd(Class<T> filterClass)
org.eclipse.emf.common.util.EList<ActivityPartition> getRepresentingPartition()
<T extends ActivityPartition> List<T> getRepresentingPartition(Class<T> filterClass)
org.eclipse.emf.common.util.EList<Constraint> getConstraintDefinition()
<T extends Constraint> List<T> getConstraintDefinition(Class<T> filterClass)
org.eclipse.emf.common.util.EList<TemplateParameter> getTypingParameter()
<T extends TemplateParameter> List<T> getTypingParameter(Class<T> filterClass)
org.eclipse.emf.common.util.EList<Manifestation> getManifesting()
<T extends Manifestation> List<T> getManifesting(Class<T> filterClass)
org.eclipse.emf.common.util.EList<PropertyTable> getProperties()
<T extends PropertyTable> List<T> getProperties(Class<T> filterClass)
org.eclipse.emf.common.util.EList<AbstractDiagram> getProduct()
<T extends AbstractDiagram> List<T> getProduct(Class<T> filterClass)
org.eclipse.emf.common.util.EList<BindableInstance> getRepresentingInstance()
<T extends BindableInstance> List<T> getRepresentingInstance(Class<T> filterClass)
org.eclipse.emf.common.util.EList<InformationFlow> getReceivedInfo()
<T extends InformationFlow> List<T> getReceivedInfo(Class<T> filterClass)
org.eclipse.emf.common.util.EList<InformationFlow> getSentInfo()
<T extends InformationFlow> List<T> getSentInfo(Class<T> filterClass)
org.eclipse.emf.common.util.EList<Note> getDescriptor()
<T extends Note> List<T> getDescriptor(Class<T> filterClass)
org.eclipse.emf.common.util.EList<NaryConnector> getRepresentingConnector()
<T extends NaryConnector> List<T> getRepresentingConnector(Class<T> filterClass)
org.eclipse.emf.common.util.EList<MatrixDefinition> getMatrix()
<T extends MatrixDefinition> List<T> getMatrix(Class<T> filterClass)