public interface ModelElement extends Element
A ModelElement describes every element that can exist in a model. Only low-level Elements are not ModelElements.
ModelElements can be extended by Stereotypes and TaggedValues, can have Notes, can be the origin or target of Dependencies, and can have Constraints.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MNAME
The metaclass simple name.
|
static java.lang.String |
MQNAME
The metaclass qualified name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addStereotype(java.lang.String moduleName,
java.lang.String stereotypeName)
This method add the stereotype specified by the (moduleName, stereotypeName) pair.
|
<any> |
getAttached()
Getter for relation 'ModelElement->Attached'
Metamodel description:
Attached resources
|
<T extends AbstractResource> |
getAttached(java.lang.Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Attached'
Metamodel description:
Attached resources
|
<any> |
getDependsOnDependency()
Getter for relation 'ModelElement->DependsOnDependency'
Metamodel description:
Designates a Dependency that relates to a supplier ModelElement.
|
<T extends Dependency> |
getDependsOnDependency(java.lang.Class<T> filterClass)
Filtered Getter for relation 'ModelElement->DependsOnDependency'
Metamodel description:
Designates a Dependency that relates to a supplier ModelElement.
|
<any> |
getDescriptor()
Getter for relation 'ModelElement->Descriptor'
Metamodel description:
Notes (documentation, code, and so on) describing the ModelElement.
|
<T extends Note> |
getDescriptor(java.lang.Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Descriptor'
Metamodel description:
Notes (documentation, code, and so on) describing the ModelElement.
|
<any> |
getExtension()
Getter for relation 'ModelElement->Extension'
Metamodel description:
|
<T extends Stereotype> |
getExtension(java.lang.Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Extension'
Metamodel description:
|
<any> |
getImpactDependsOn()
Getter for relation 'ModelElement->impactDependsOn'
Metamodel description:
Impact links from this element.
|
<T extends ImpactLink> |
getImpactDependsOn(java.lang.Class<T> filterClass)
Filtered Getter for relation 'ModelElement->impactDependsOn'
Metamodel description:
Impact links from this element.
|
<any> |
getImpactedDependency()
Getter for relation 'ModelElement->ImpactedDependency'
Metamodel description:
Dependencies whose source depend on this element.
|
<T extends Dependency> |
getImpactedDependency(java.lang.Class<T> filterClass)
Filtered Getter for relation 'ModelElement->ImpactedDependency'
Metamodel description:
Dependencies whose source depend on this element.
|
<any> |
getImpactImpacted()
Getter for relation 'ModelElement->impactImpacted'
Metamodel description:
Impact link targeting this element.
|
<T extends ImpactLink> |
getImpactImpacted(java.lang.Class<T> filterClass)
Filtered Getter for relation 'ModelElement->impactImpacted'
Metamodel description:
Impact link targeting this element.
|
LocalPropertyTable |
getLocalProperties()
Getter for relation 'ModelElement->LocalProperties'
Metamodel description:
The local property table.
|
java.lang.String |
getLocalProperty(java.lang.String key)
Get a local property value.
|
<any> |
getMatrix()
Getter for relation 'ModelElement->Matrix'
Metamodel description:
Owned matrices.
|
<T extends MatrixDefinition> |
getMatrix(java.lang.Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Matrix'
Metamodel description:
Owned matrices.
|
java.lang.String |
getName()
Getter for attribute 'ModelElement.Name'
Metamodel description:
Name of the element.
|
Note |
getNote(NoteType noteType)
Get the first note of the given type.
|
Note |
getNote(java.lang.String moduleName,
java.lang.String noteTypeName)
Deprecated.
since Modelio 3.8, it is recommended to use
getNote(String, String, String) instead. |
Note |
getNote(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String noteTypeName)
This operation returns the first note of the type indicated by the (moduleName, noteTypeName) pair.
|
java.lang.String |
getNoteContent(NoteType noteType)
This method returns the content of the first note of the given type.
|
java.lang.String |
getNoteContent(java.lang.String moduleName,
java.lang.String noteTypeName)
Deprecated.
since Modelio 3.8, it is recommended to use
getNoteContent(String, String, String) instead. |
java.lang.String |
getNoteContent(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String noteTypeName)
This method returns the content of the first note of the type indicated by the (moduleName, noteTypeName) pair.
|
<any> |
getProduct()
Getter for relation 'ModelElement->Product'
Metamodel description:
null
|
<T extends AbstractDiagram> |
getProduct(java.lang.Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Product'
Metamodel description:
null
|
<any> |
getProperties()
Getter for relation 'ModelElement->Properties'
Metamodel description:
Owned property tables.
|
<T extends PropertyTable> |
getProperties(java.lang.Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Properties'
Metamodel description:
Owned property tables.
|
TypedPropertyTable |
getProperties(MetaclassReference ref)
Get the property table for the properties defined by the given metaclass reference.
|
TypedPropertyTable |
getProperties(Stereotype stereotype)
Get the property table for the properties defined by the given stereotype.
|
PropertyTable |
getProperties(java.lang.String name)
Get the first found
PropertyTable that has the given name. |
java.lang.String |
getProperty(MetaclassReference ref,
java.lang.String key)
Get the value of a property defined by a
MetaclassReference. |
java.lang.String |
getProperty(Stereotype stereotype,
java.lang.String key)
Get the value of a property defined by a
Stereotype. |
java.lang.String |
getProperty(java.lang.String tableName,
java.lang.String key)
Get a property value.
|
java.lang.String |
getProperty(java.lang.String moduleName,
java.lang.String stereotypeName,
java.lang.String key)
Get a
Stereotype defined property value. |
Stereotype |
getStereotype(java.lang.String moduleName,
java.lang.String stereotypeName)
Get the first stereotype applied to this element that matches the (moduleName, stereotypeName) pair from this model element.
|
<any> |
getTag()
Getter for relation 'ModelElement->Tag'
Metamodel description:
TaggedValues annotating the ModelElement.
|
<T extends TaggedValue> |
getTag(java.lang.Class<T> filterClass)
Filtered Getter for relation 'ModelElement->Tag'
Metamodel description:
TaggedValues annotating the ModelElement.
|
TaggedValue |
getTag(java.lang.String moduleName,
java.lang.String tagTypeName)
Deprecated.
since Modelio 3.8, it is recommended to use
getTagValue(String, String, String) instead. |
TaggedValue |
getTag(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String tagTypeName)
This method returns the (first) tagged value of the type indicated by the (moduleName, tagTypeName) pair.
|
TaggedValue |
getTag(TagType tagType)
This method returns the first tagged value of the given type.
|
java.lang.String |
getTagValue(java.lang.String moduleName,
java.lang.String tagTypeName)
Deprecated.
since Modelio 3.8, it is recommended to use
getTagValue(String, String, String) instead. |
java.lang.String |
getTagValue(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String tagTypeName)
This method returns the first parameter value of the first tagged value of the type indicated by the (moduleName, tagTypeName) pair.
|
java.lang.String |
getTagValue(TagType tagType)
This method returns the first parameter value of the first tagged value of the given type.
|
java.util.List<java.lang.String> |
getTagValues(java.lang.String moduleName,
java.lang.String tagTypeName)
Deprecated.
since Modelio 3.8, it is recommended to use
getTagValues(String, String, String) instead. |
java.util.List<java.lang.String> |
getTagValues(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String tagTypeName)
This method returns the parameter values of the first tagged value of the type indicated by the (moduleName, tagTypeName) pair.
|
java.util.List<java.lang.String> |
getTagValues(TagType tagType)
This method returns the parameter values of the first tagged value of the given type.
|
boolean |
isStereotyped(Stereotype stereotype) |
boolean |
isStereotyped(java.lang.String moduleName,
java.lang.String stereotypeName)
Checks if a model element has the stereotype specified by the (moduleName, stereotypeName) pair.
|
boolean |
isTagged(java.lang.String moduleName,
java.lang.String tagTypeName)
Deprecated.
since Modelio 3.8, it is recommended to use
isTagged(String, String, String) instead. |
boolean |
isTagged(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String tagTypeName)
This method returns
true if the element has a tagged value of the type indicated by the (moduleName, tagTypeName) pair. |
boolean |
isTagged(TagType tagType)
This method returns
true if the element has a tagged value of the given type. |
void |
putNoteContent(NoteType noteType,
java.lang.String content)
This method sets the content of the first note of the given type.
|
void |
putNoteContent(java.lang.String moduleName,
java.lang.String noteTypeName,
java.lang.String content)
Deprecated.
since Modelio 3.8, it is recommended to use
putNoteContent(String, String, String, String) instead. |
void |
putNoteContent(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String noteTypeName,
java.lang.String content)
This method sets the content of the first note of the type indicated by the (moduleName, noteTypeName) pair.
|
void |
putTagValue(java.lang.String moduleName,
java.lang.String tagTypeName,
java.lang.String value)
Deprecated.
since Modelio 3.8, it is recommended to use
putTagValue(String, String, String, String) instead. |
void |
putTagValue(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String tagTypeName,
java.lang.String value)
This method sets the first parameter of the tagged value of the type indicated by the (moduleName, tagTypeName) pair.
|
void |
putTagValue(TagType tagType,
java.lang.String value)
This method sets the first parameter of the tagged value of the given type.
|
void |
putTagValues(java.lang.String moduleName,
java.lang.String tagTypeName,
java.util.List<java.lang.String> values)
Deprecated.
since Modelio 3.8, it is recommended to use
putTagValues(String, String, String, List) instead. |
void |
putTagValues(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String tagTypeName,
java.util.List<java.lang.String> values)
This method sets the parameters of the tagged value of the type indicated by the (moduleName, tagTypeName) pair.
|
void |
putTagValues(TagType tagType,
java.util.List<java.lang.String> values)
This method sets the parameters of the tagged value of the given type.
|
void |
removeNotes(NoteType noteType)
This method deletes all the notes having this note Type .
|
void |
removeNotes(java.lang.String moduleName,
java.lang.String noteTypeName)
Deprecated.
since Modelio 3.8, it is recommended to use
removeNotes(String, String, String) instead. |
void |
removeNotes(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String noteTypeName)
This method deletes all the notes having this noteType of the type indicated by the (moduleName, noteTypeName) pair.
|
void |
removeStereotypes(java.lang.String moduleName,
java.lang.String stereotypeName)
This method removes the stereotype specified by the (moduleName, stereotypeName) pair.
|
void |
removeTags(java.lang.String moduleName,
java.lang.String tagTypeName)
Deprecated.
since Modelio 3.8, it is recommended to use
removeTags(String, String, String) instead. |
void |
removeTags(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String tagTypeName)
This method deletes all the tagged values of the type indicated by the (moduleName, tagTypeName) pair.
|
void |
removeTags(TagType tagType)
This method deletes all the tagged values of given type .
|
void |
setLocalProperties(LocalPropertyTable value)
Setter for relation 'ModelElement->LocalProperties'
Metamodel description:
The local property table.
|
void |
setLocalProperty(java.lang.String key,
java.lang.String value)
Set a local property value.
|
void |
setName(java.lang.String value)
Setter for attribute 'ModelElement.Name'
Metamodel description:
Name of the element.
|
void |
setProperty(MetaclassReference ref,
java.lang.String key,
java.lang.String value)
Set a property value.
|
void |
setProperty(Stereotype stereotype,
java.lang.String key,
java.lang.String value)
Set a property value.
|
void |
setProperty(java.lang.String tableName,
java.lang.String key,
java.lang.String value)
Set a property value.
|
void |
setProperty(java.lang.String moduleName,
java.lang.String stereotypeName,
java.lang.String key,
java.lang.String value)
Set a property value.
|
getAddedToQuery, getAddedToQuery, getCausedImpact, getCausedImpact, getDiagramElement, getDiagramElementaccept, delete, getCompositionChildren, getCompositionOwner, getMClass, getStatus, getUuid, isDeleted, isModifiable, isShell, isValid, mGet, mGet, mSetstatic final java.lang.String MNAME
static final java.lang.String MQNAME
void addStereotype(java.lang.String moduleName,
java.lang.String stereotypeName)
throws ExtensionNotFoundException
Does nothing if the stereotype is already present.
moduleName - the name of the module providing the type. Cannot be null.stereotypeName - The stereotype to find. Cannot be null.ExtensionNotFoundException - when the stereotype has not been found.java.lang.String getLocalProperty(java.lang.String key)
Return null if no LocalPropertyTable with the given name exists or it does not contain the given property.
key - a property namenull.@Deprecated Note getNote(java.lang.String moduleName, java.lang.String noteTypeName)
getNote(String, String, String) instead.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.Note getNote(java.lang.String moduleName, java.lang.String ownerName, java.lang.String noteTypeName)
moduleName - the name of the module providing the type. Cannot be null.ownerName - the name of the Stereotype or MetaclassReference owning the type. If null, only types owned by a MetaclassReference are considered.noteTypeName - the note type name. Cannot be null.null if the note can't be found.Note getNote(NoteType noteType)
noteType - a note type@Deprecated
java.lang.String getNoteContent(java.lang.String moduleName,
java.lang.String noteTypeName)
getNoteContent(String, String, String) instead.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.java.lang.String getNoteContent(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String noteTypeName)
moduleName - the name of the module providing the type. Cannot be null.ownerName - the name of the Stereotype or MetaclassReference owning the type. Cannot be null.noteTypeName - the note type name. Cannot be null.null if the note can't be found.java.lang.String getNoteContent(NoteType noteType)
noteType - the note type.null if the note can't be found.PropertyTable getProperties(java.lang.String name)
PropertyTable that has the given name.name - a property table namenull.java.lang.String getProperty(java.lang.String tableName,
java.lang.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.java.lang.String getProperty(java.lang.String moduleName,
java.lang.String stereotypeName,
java.lang.String key)
throws ExtensionNotFoundException
Stereotype defined property value.
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 - when the Stereotype has not been found.Stereotype getStereotype(java.lang.String moduleName, java.lang.String stereotypeName)
The returned stereotype may be a sub stereotype that derives from the given specification.
moduleName - the name of the module providing the type. Cannot be null.stereotypeName - The stereotype to find. Cannot be null.null.@Deprecated TaggedValue getTag(java.lang.String moduleName, java.lang.String tagTypeName)
getTagValue(String, String, String) instead.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 foundTaggedValue getTag(java.lang.String moduleName, java.lang.String ownerName, java.lang.String tagTypeName)
moduleName - the name of the module providing the type. Cannot be null.ownerName - the name of the Stereotype or MetaclassReference owning the type. Cannot be null.tagTypeName - The tagged value type name. Cannot be null.null if it can't be foundTaggedValue getTag(TagType tagType)
tagType - a tag typenull if it can't be found.@Deprecated
java.lang.String getTagValue(java.lang.String moduleName,
java.lang.String tagTypeName)
getTagValue(String, String, String) instead.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.java.lang.String getTagValue(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String tagTypeName)
moduleName - the name of the module providing the type. Cannot be null.ownerName - the name of the Stereotype or MetaclassReference owning 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.java.lang.String getTagValue(TagType tagType)
tagType - a tag typenull if no tag can be found or there are no parameters, otherwise the first parameter value.@Deprecated
java.util.List<java.lang.String> getTagValues(java.lang.String moduleName,
java.lang.String tagTypeName)
getTagValues(String, String, String) instead.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 listjava.util.List<java.lang.String> getTagValues(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String tagTypeName)
moduleName - the name of the module providing the type. Cannot be null.ownerName - the name of the Stereotype or MetaclassReference owning 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 listjava.util.List<java.lang.String> getTagValues(TagType tagType)
tagType - a tag typenull if no tag can be found otherwise the (possibly empty) parameter list.boolean isStereotyped(Stereotype stereotype)
boolean isStereotyped(java.lang.String moduleName,
java.lang.String stereotypeName)
moduleName - the name of the module providing the type. Cannot be null.stereotypeName - The stereotype to find. Cannot be null.@Deprecated
boolean isTagged(java.lang.String moduleName,
java.lang.String tagTypeName)
isTagged(String, String, String) instead.true if the element has a tagged value of the type indicated by the (moduleName, tagTypeName) pair.moduleName - the name of the module providing the type. Cannot be null.tagTypeName - The tagged value type name. Cannot be null.true if the element has a tagged value with the corresponding type.boolean isTagged(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String tagTypeName)
true if the element has a tagged value of the type indicated by the (moduleName, tagTypeName) pair.moduleName - the name of the module providing the type. Cannot be null.ownerName - the name of the Stereotype or MetaclassReference owning the type. Cannot be null.tagTypeName - The tagged value type name. Cannot be null.true if the element has a tagged value with the corresponding type.boolean isTagged(TagType tagType)
true if the element has a tagged value of the given type.tagType - a tag typetrue if the element has a tagged value with the corresponding type.@Deprecated
void putNoteContent(java.lang.String moduleName,
java.lang.String noteTypeName,
java.lang.String content)
throws ExtensionNotFoundException
putNoteContent(String, String, String, String) instead.If no note with the given type is found, one is created.
moduleName - the name of the module providing the type. Cannot be null.noteTypeName - the note type name. Cannot be null.content - the note contentExtensionNotFoundException - when the NoteType has not been found.void putNoteContent(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String noteTypeName,
java.lang.String content)
throws ExtensionNotFoundException
If no note with the given type is found, one is created.
moduleName - the name of the module providing the type. Cannot be null.ownerName - the name of the Stereotype or MetaclassReference owning the type. Cannot be null.noteTypeName - the note type name. Cannot be null.content - the note contentExtensionNotFoundException - when the NoteType has not been found.void putNoteContent(NoteType noteType, java.lang.String content)
If no note with the given type is found, one is created.
noteType - a note typecontent - the note content@Deprecated
void putTagValue(java.lang.String moduleName,
java.lang.String tagTypeName,
java.lang.String value)
throws ExtensionNotFoundException
putTagValue(String, String, String, String) instead.
The tagged value and the parameter are created if they don't exist.
Other parameters are deleted.
If value is null 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.value - the values to store on the tag parameters. If value is null the tag is deleted.ExtensionNotFoundException - when the TagType has not been found.void putTagValue(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String tagTypeName,
java.lang.String value)
throws ExtensionNotFoundException
The tagged value and the parameter are created if they don't exist.
Other parameters are deleted.
If value is null the existing tag is deleted.
moduleName - the name of the module providing the type. Cannot be null.ownerName - the name of the Stereotype or MetaclassReference owning the type. Cannot be null.tagTypeName - The tagged value type name. Cannot be null.value - the values to store on the tag parameters. If value is null the tag is deleted.ExtensionNotFoundException - when the TagType has not been found.void putTagValue(TagType tagType, java.lang.String value)
The tagged value and the parameter are created if they don't exist.
Other parameters are deleted.
If value is null the existing tag is deleted.
tagType - a tag typevalue - the value to store on the tag parameter. If value is null the tag is deleted.@Deprecated
void putTagValues(java.lang.String moduleName,
java.lang.String tagTypeName,
java.util.List<java.lang.String> values)
throws ExtensionNotFoundException
putTagValues(String, String, String, List) instead.
The tagged value and the parameters are created if they don't exist, or updated otherwise.
Superfluous parameters are deleted.
If values is 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.values - the values to store on the tag parameters. If value is null or empty list, the tag is deleted.ExtensionNotFoundException - when the TagType has not been found.void putTagValues(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String tagTypeName,
java.util.List<java.lang.String> values)
throws ExtensionNotFoundException
The tagged value and the parameters are created if they don't exist, or updated otherwise.
Superfluous parameters are deleted.
If values is null or empty list, the existing tag is deleted.
moduleName - the name of the module providing the type. Cannot be null.ownerName - the name of the Stereotype or MetaclassReference owning the type. Cannot be null.tagTypeName - The tagged value type name. Cannot be null.values - the values to store on the tag parameters. If value is null or empty list, the tag is deleted.ExtensionNotFoundException - when the TagType has not been found.void putTagValues(TagType tagType, java.util.List<java.lang.String> values)
The tagged value and the parameters are created if they don't exist, or updated otherwise.
Superfluous parameters are deleted.
If values is null or empty list, the existing tag is deleted.
tagType - a tag typevalues - the new tag parameters@Deprecated
void removeNotes(java.lang.String moduleName,
java.lang.String noteTypeName)
removeNotes(String, String, String) instead.moduleName - the name of the module providing the type. Cannot be null.noteTypeName - the note type name. Cannot be null.void removeNotes(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String noteTypeName)
moduleName - the name of the module providing the type. Cannot be null.ownerName - the name of the Stereotype or MetaclassReference owning the type. Cannot be null.noteTypeName - the note type name. Cannot be null.void removeNotes(NoteType noteType)
noteType - the type of the notes to delete.void removeStereotypes(java.lang.String moduleName,
java.lang.String stereotypeName)
If several instances of the stereotype are present, they are all removed.
moduleName - the name of the module providing the type. Cannot be null.stereotypeName - The stereotype to find. Cannot be null.@Deprecated
void removeTags(java.lang.String moduleName,
java.lang.String tagTypeName)
removeTags(String, String, String) instead.moduleName - the name of the module providing the type. Cannot be null.tagTypeName - The tagged value type name. Cannot be null.void removeTags(java.lang.String moduleName,
java.lang.String ownerName,
java.lang.String tagTypeName)
moduleName - the name of the module providing the type. Cannot be null.ownerName - the name of the Stereotype or MetaclassReference owning the type. Cannot be null.tagTypeName - The tagged value type name. Cannot be null.void removeTags(TagType tagType)
tagType - a tag typevoid setLocalProperty(java.lang.String key,
java.lang.String value)
Update the value of a property in a LocalPropertyTable. If missing, the table itself is created.
Warning: local property tables are only part of the local project, and are never shared with other users.
key - a property namevalue - the property value.void setProperty(java.lang.String moduleName,
java.lang.String stereotypeName,
java.lang.String key,
java.lang.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 - when the stereotype has not been found.void setProperty(java.lang.String tableName,
java.lang.String key,
java.lang.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.TypedPropertyTable getProperties(Stereotype stereotype)
stereotype - a stereotype, must not be null.null.java.lang.String getProperty(Stereotype stereotype, java.lang.String key)
Stereotype.
Return null if no TypedPropertyTable for the stereotype exists or it does not contain the given property.
stereotype - the stereotype providing the table type. Cannot be null.key - a property namenull.void setProperty(Stereotype stereotype, java.lang.String key, java.lang.String value)
Update the value of a property in a stereotype's TypedPropertyTable. If missing, the table itself is created.
stereotype - the stereotype providing the table type. Cannot be null.key - a property namevalue - the property value.TypedPropertyTable getProperties(MetaclassReference ref)
ref - the metaclass reference providing the table type. Cannot be null.null.void setProperty(MetaclassReference ref, java.lang.String key, java.lang.String value)
Update the value of a property in a metaclass reference's TypedPropertyTable. If missing, the table itself is created.
ref - the metaclass reference providing the table type. Cannot be null.key - a property namevalue - the property value.java.lang.String getProperty(MetaclassReference ref, java.lang.String key)
MetaclassReference.
Return null if no TypedPropertyTable for the metaclass reference exists or it does not contain the given property.
ref - the metaclass reference providing the table type. Cannot be null.key - a property namenull.java.lang.String getName()
void setName(java.lang.String value)
LocalPropertyTable getLocalProperties()
void setLocalProperties(LocalPropertyTable value)
<any> getExtension()
Stereotypes metaclassifying the ModelElement.
<T extends Stereotype> java.util.List<T> getExtension(java.lang.Class<T> filterClass)
Stereotypes metaclassifying the ModelElement.
<any> getDependsOnDependency()
<T extends Dependency> java.util.List<T> getDependsOnDependency(java.lang.Class<T> filterClass)
<any> getTag()
<T extends TaggedValue> java.util.List<T> getTag(java.lang.Class<T> filterClass)
<any> getImpactedDependency()
<T extends Dependency> java.util.List<T> getImpactedDependency(java.lang.Class<T> filterClass)
<any> getProperties()
<T extends PropertyTable> java.util.List<T> getProperties(java.lang.Class<T> filterClass)
<any> getProduct()
<T extends AbstractDiagram> java.util.List<T> getProduct(java.lang.Class<T> filterClass)
<any> getDescriptor()
<T extends Note> java.util.List<T> getDescriptor(java.lang.Class<T> filterClass)
<any> getMatrix()
<T extends MatrixDefinition> java.util.List<T> getMatrix(java.lang.Class<T> filterClass)
<any> getImpactImpacted()
<T extends ImpactLink> java.util.List<T> getImpactImpacted(java.lang.Class<T> filterClass)
<any> getImpactDependsOn()
<T extends ImpactLink> java.util.List<T> getImpactDependsOn(java.lang.Class<T> filterClass)
<any> getAttached()
<T extends AbstractResource> java.util.List<T> getAttached(java.lang.Class<T> filterClass)