public interface IModelElement extends IGraphic
IModelElement allows to read attribute values of a unique
element.
Item type constant: "uniqueElement"
| Modifier and Type | Method and Description |
|---|---|
java.util.List<IModelElement> |
getCausallyDirectlyPrecedingModelElements()
Returns all model elements which are causally directly preceeding
this model element.
|
java.util.List<? extends IModelElement> |
getCausallyDirectlyPrecedingModelElementsOnPlan(IPlan plan)
Returns all model elements which are causally directly preceeding
this model element on the specified plan.
|
java.util.List<IModelElement> |
getCausallyDirectlySucceedingModelElements()
Returns all model elements which are causally directly preceded by
this model element.
|
java.util.List<? extends IModelElement> |
getCausallyDirectlySucceedingModelElementsOnPlan(IPlan plan)
Returns all model elements which are causally directly preceded by
this model element on the specified plan.
|
java.util.List<? extends IModelElement> |
getCausallyPrecedingModelElements()
Returns all model elements which are causally preceding this model
element.
|
java.util.List<? extends IModelElement> |
getCausallyPrecedingModelElementsOnPlan(IPlan plan)
Returns all model elements which are causally preceding this model
element on the specified plan.
|
java.util.List<? extends IModelElement> |
getCausallySucceedingModelElements()
Returns all model elements which are causally preceded by this model
element.
|
java.util.List<? extends IModelElement> |
getCausallySucceedingModelElementsOnPlan(IPlan plan)
Returns all model elements which are causally preceded by this model
element on the specified plan.
|
java.util.List<? extends IModelElement> |
getCommunicatingFunctions()
Returns all communicating functions, i.e. functions which are
connected via transitive reading AND writing accesses.
|
java.util.List<? extends IModelElement> |
getCommunicatingFunctionsOnPlan(IPlan plan)
Returns all communicating functions on the specified plan, i.e.
|
java.util.List<? extends IModelElement> |
getContainedModelElements()
Returns all model elements which are contained directly or indirectly
in this model element.
|
java.util.List<? extends IModelElement> |
getContainedModelElementsOnPlan(IPlan plan)
Returns all model elements which are contained directly or indirectly
in this model element on the specified plan.
|
java.util.List<? extends IModelElement> |
getContainerModelElements()
Returns all model elements which directly or indirectly contain this
model element.
|
java.util.List<? extends IModelElement> |
getContainerModelElementsOnPlan(IPlan plan)
Returns all model elements which directly or indirectly contain this
model element on the specified plan.
|
java.util.List<java.lang.String> |
getDescription()
Returns the description of the unique element as list of Strings.
|
java.util.List<? extends IModelElement> |
getDirectContainerModelElements()
Returns all model elements which directly contain this model element.
|
java.util.List<? extends IModelElement> |
getDirectContainerModelElementsOnPlan(IPlan plan)
Returns all model elements which directly contain this model element
on the specified plan.
|
java.util.List<? extends IModelElement> |
getDirectlyContainedModelElements()
Returns all model elements which are contained directly in this model
element.
|
java.util.List<? extends IModelElement> |
getDirectlyContainedModelElementsOnPlan(IPlan plan)
Returns all model elements which are contained directly in this model
element on the specified plan.
|
java.lang.String |
getElementTypeID()
Returns the id of the type of this unique element.
|
java.lang.String |
getElementTypeName()
Returns the name of the type of this unique element.
|
java.util.List<? extends IModelElement> |
getInfluencedInfos()
Returns all influenced infos, i.e. infos which are connected via
transitive writing accesses.
|
java.util.List<? extends IModelElement> |
getInfluencedInfosOnPlan(IPlan plan)
Returns all influenced infos on the specified plan, i.e. infos which
are connected via transitive writing accesses.
|
java.util.List<? extends IModelElement> |
getInfluencingInfos()
Returns all influencing infos, i.e. infos which are connected via
transitive reading accesses.
|
java.util.List<? extends IModelElement> |
getInfluencingInfosOnPlan(IPlan plan)
Returns all influencing infos on the specified plan, i.e. infos which
are connected via transitive reading accesses.
|
java.util.List<? extends IModelElement> |
getModifiedInfos()
Returns all modified infos.
|
java.util.List<? extends IModelElement> |
getModifiedInfosOnPlan(IPlan plan)
Returns all modified infos on the specified plan.
|
java.util.List<? extends IModelElement> |
getModifyingFunctions()
Returns all modifying functions.
|
java.util.List<? extends IModelElement> |
getModifyingFunctionsOnPlan(IPlan plan)
Returns all modifying functions on the specified plan.
|
java.lang.String |
getName()
Returns the name of the unique element.
|
java.util.List<? extends IPlan> |
getOccurrences()
Returns all plans on which the current unique element is displayed.
|
java.util.List<? extends IModelElement> |
getReadInfos()
Returns all read infos.
|
java.util.List<? extends IModelElement> |
getReadInfosOnPlan(IPlan plan)
Returns all read infos on the specified plan.
|
java.util.List<? extends IModelElement> |
getReadingFunctions()
Returns all reading functions.
|
java.util.List<? extends IModelElement> |
getReadingFunctionsOnPlan(IPlan plan)
Returns all reading functions on the specified plan.
|
java.util.List<? extends IModelElement> |
getReceivingFunctions()
Returns all receiving functions, i.e. functions which are connected
via transitive writing accesses.
|
java.util.List<IModelElement> |
getReceivingFunctionsOnPlan(IPlan plan)
Returns all receiving functions on the specified plan, i.e. functions
which are connected via transitive writing accesses.
|
java.util.List<? extends IModelElement> |
getRelatedInfos()
Returns all related infos, i.e. infos which are connected via
transitive reading AND writing accesses.
|
java.util.List<? extends IModelElement> |
getRelatedInfosOnPlan(IPlan plan)
Returns all related infos on the specified plan, i.e. infos which are
connected via transitive reading AND writing accesses.
|
java.util.List<? extends IModelElement> |
getSendingFunctions()
Returns all sending functions, i.e. functions which are connected via
transitive reading accesses.
|
java.util.List<? extends IModelElement> |
getSendingFunctionsOnPlan(IPlan plan)
Returns all sending functions on the specified plan, i.e. functions
which are connected via transitive reading accesses.
|
java.lang.String |
getUniqueIdentifier()
Returns a unique identifier that uniquely identifies this object
within the COCKPIT project.
|
java.util.List<? extends IModelElement> |
getWritingFunctions()
Returns all writing functions.
|
java.util.List<? extends IModelElement> |
getWritingFunctionsOnPlan(IPlan plan)
Returns all writing functions on the specified plan.
|
java.util.List<IModelElement> |
getWrittenInfos()
Returns all written infos.
|
java.util.List<? extends IModelElement> |
getWrittenInfosOnPlan(IPlan plan)
Returns all written infos on the specified plan.
|
boolean |
hasDescription()
Checks whether a description is available for the unique element.
|
boolean |
isPartOfCausalityCycle()
Returns whether this model element is part of a cycle in the
causality relationship.
|
boolean |
isPartOfContainmentCycle()
Returns whether this model element is part of a cycle in the
containment relationship.
|
IRecord |
toRecord()
Converts this generic module data into a record.
|
getEMFFile, getImage, getPNGFile, getSVGFile, getWMFFilegetCategoryID, getCategoryLabel, getDateTimeProperty_MilliSecondsSince_01_01_1970, getFileProperty, getFileProperty, getFilePropertyAsBase64StringList, getFilePropertyAsFileName, getFilePropertyAsFileName, getFilePropertyAsRawStringList, getFilePropertyAsStringList, getPropertyAsString, getPropertyAsStringArray, getPropertyAsStringList, hasCustomPropertyValues, hasDefaultCategory, hasPropertyValue, readImageInfoOfFilePropertygetCommitVersion, getCreationDate_MilliSecondsSince_01_01_1970, getCreationDate, getCreator, getDateOfLastModification_MilliSecondsSince_01_01_1970, getDateOfLastModification, getDisplayName, getLastModifier, getLinkForShow, getModificationCount, getProjectUniqueIdentifier, getTypeID, getTypeName, toRecordjava.lang.String getUniqueIdentifier()
Example from report template:
#set($folder_uid = ${folder.UniqueIdentifier})
getUniqueIdentifier in interface ICockpitDatajava.lang.String getName()
The name is already HTML encoded so that it can be inserted into the document without further tranformations.
boolean hasDescription()
java.util.List<java.lang.String> getDescription()
The description text is already HTML encoded so that it can be
inserted into the document without further tranformations.
Example from report template:
#foreach( $text in ${folder.Description})
<para>$text</para>
#end
java.lang.String getElementTypeID()
The name is already HTML encoded so that it can be inserted into the document without further tranformations.
Valid type IDs are:
java.lang.String getElementTypeName()
The name is already HTML encoded so that it can be inserted into the document without further tranformations.
Examples for type names are:
java.util.List<? extends IPlan> getOccurrences()
java.util.List<? extends IModelElement> getContainedModelElements()
The model elements are returned sorted by their type and element
names.
java.util.List<? extends IModelElement> getContainerModelElements()
The model elements are returned sorted by their type and element
names.
java.util.List<? extends IModelElement> getDirectlyContainedModelElements()
The model elements are returned sorted by their type and element
names.
java.util.List<? extends IModelElement> getDirectContainerModelElements()
The model elements are returned sorted by their type and element
names.
java.util.List<? extends IModelElement> getContainedModelElementsOnPlan(IPlan plan)
The model elements are returned sorted by their type and element
names.
plan - the planjava.util.List<? extends IModelElement> getContainerModelElementsOnPlan(IPlan plan)
The model elements are returned sorted by their type and element
names.
plan - the planjava.util.List<? extends IModelElement> getDirectlyContainedModelElementsOnPlan(IPlan plan)
The model elements are returned sorted by their type and element
names.
plan - the planjava.util.List<? extends IModelElement> getDirectContainerModelElementsOnPlan(IPlan plan)
The model elements are returned sorted by their type and element
names.
plan - the planboolean isPartOfContainmentCycle()
java.util.List<? extends IModelElement> getReadingFunctions()
The functions are returned sorted by their element names.
Precondition: This model element must be of type "info". If this model element is not an "info", the returned list will be empty.
java.util.List<? extends IModelElement> getWritingFunctions()
The functions are returned sorted by their element names.
Precondition: This model element must be of type "info". If this model element is not an "info", the returned list will be empty.
java.util.List<? extends IModelElement> getModifyingFunctions()
The functions are returned sorted by their element names.
Precondition: This model element must be of type "info". If this model element is not an "info", the returned list will be empty.
java.util.List<? extends IModelElement> getInfluencedInfos()
The infos are returned sorted by their element names.
Precondition: This model element must be of type "info". If this model element is not an "info", the returned list will be empty.
java.util.List<? extends IModelElement> getInfluencingInfos()
The infos are returned sorted by their element names.
Precondition: This model element must be of type "info". If this model element is not an "info", the returned list will be empty.
java.util.List<? extends IModelElement> getRelatedInfos()
The infos are returned sorted by their element names.
Precondition: This model element must be of type "info". If this model element is not an "info", the returned list will be empty.
java.util.List<? extends IModelElement> getReadingFunctionsOnPlan(IPlan plan)
The functions are returned sorted by their element names.
Precondition: This model element must be of type "info". If this model element is not an "info", the returned list will be empty.
plan - the planjava.util.List<? extends IModelElement> getWritingFunctionsOnPlan(IPlan plan)
The functions are returned sorted by their element names.
Precondition: This model element must be of type "info". If this model element is not an "info", the returned list will be empty.
plan - the planjava.util.List<? extends IModelElement> getModifyingFunctionsOnPlan(IPlan plan)
The functions are returned sorted by their element names.
Precondition: This model element must be of type "info". If this model element is not an "info", the returned list will be empty.
plan - the planjava.util.List<? extends IModelElement> getInfluencedInfosOnPlan(IPlan plan)
The infos are returned sorted by their element names.
Precondition: This model element must be of type "info". If this model element is not an "info", the returned list will be empty.
plan - the planjava.util.List<? extends IModelElement> getInfluencingInfosOnPlan(IPlan plan)
The infos are returned sorted by their element names.
Precondition: This model element must be of type "info". If this model element is not an "info", the returned list will be empty.
plan - the planjava.util.List<? extends IModelElement> getRelatedInfosOnPlan(IPlan plan)
The infos are returned sorted by their element names.
Precondition: This model element must be of type "info". If this model element is not an "info", the returned list will be empty.
plan - the planjava.util.List<IModelElement> getWrittenInfos()
The infos are returned sorted by their element names.
Precondition: This model element must be of type "function". If this model element is not a "function", the returned list will be empty.
java.util.List<? extends IModelElement> getReadInfos()
The infos are returned sorted by their element names.
Precondition: This model element must be of type "function". If this model element is not a "function", the returned list will be empty.
java.util.List<? extends IModelElement> getModifiedInfos()
The infos are returned sorted by their element names.
Precondition: This model element must be of type "function". If this model element is not a "function", the returned list will be empty.
java.util.List<? extends IModelElement> getReceivingFunctions()
The functions are returned sorted by their element names.
Precondition: This model element must be of type "function". If this model element is not a "function", the returned list will be empty.
java.util.List<? extends IModelElement> getSendingFunctions()
The functions are returned sorted by their element names.
Precondition: This model element must be of type "function". If this model element is not a "function", the returned list will be empty.
java.util.List<? extends IModelElement> getCommunicatingFunctions()
The functions are returned sorted by their element names.
Precondition: This model element must be of type "function". If this model element is not a "function", the returned list will be empty.
java.util.List<? extends IModelElement> getWrittenInfosOnPlan(IPlan plan)
The infos are returned sorted by their element names.
Precondition: This model element must be of type "function". If this model element is not a "function", the returned list will be empty.
plan - the planjava.util.List<? extends IModelElement> getReadInfosOnPlan(IPlan plan)
The infos are returned sorted by their element names.
Precondition: This model element must be of type "function". If this model element is not a "function", the returned list will be empty.
plan - the planjava.util.List<? extends IModelElement> getModifiedInfosOnPlan(IPlan plan)
The infos are returned sorted by their element names.
Precondition: This model element must be of type "function". If this model element is not a "function", the returned list will be empty.
plan - the planjava.util.List<IModelElement> getReceivingFunctionsOnPlan(IPlan plan)
The functions are returned sorted by their element names.
Precondition: This model element must be of type "function". If this model element is not a "function", the returned list will be empty.
plan - the planjava.util.List<? extends IModelElement> getSendingFunctionsOnPlan(IPlan plan)
The functions are returned sorted by their element names.
Precondition: This model element must be of type "function". If this model element is not a "function", the returned list will be empty.
plan - the planjava.util.List<? extends IModelElement> getCommunicatingFunctionsOnPlan(IPlan plan)
The functions are returned sorted by their element names.
Precondition: This model element must be of type "function". If this model element is not a "function", the returned list will be empty.
plan - the planjava.util.List<? extends IModelElement> getCausallySucceedingModelElements()
The model elements are returned sorted by their type and element
names.
java.util.List<? extends IModelElement> getCausallyPrecedingModelElements()
The model elements are returned sorted by their type and element
names.
java.util.List<IModelElement> getCausallyDirectlySucceedingModelElements()
The model elements are returned sorted by their type and element
names.
java.util.List<IModelElement> getCausallyDirectlyPrecedingModelElements()
The model elements are returned sorted by their type and element
names.
java.util.List<? extends IModelElement> getCausallySucceedingModelElementsOnPlan(IPlan plan)
The model elements are returned sorted by their type and element
names.
plan - the planjava.util.List<? extends IModelElement> getCausallyPrecedingModelElementsOnPlan(IPlan plan)
The model elements are returned sorted by their type and element
names.
plan - the planjava.util.List<? extends IModelElement> getCausallyDirectlySucceedingModelElementsOnPlan(IPlan plan)
The model elements are returned sorted by their type and element
names.
plan - the planjava.util.List<? extends IModelElement> getCausallyDirectlyPrecedingModelElementsOnPlan(IPlan plan)
The model elements are returned sorted by their type and element
names.
plan - the planboolean isPartOfCausalityCycle()
IRecord toRecord()
In addition to all fields documented at
ICustomPropertiesAccess.toRecord(), in the created record,
the following fields are filled accoring to the wrapped cockpit data:
toRecord in interface ICockpitDatatoRecord in interface ICustomPropertiesAccess