-
- All Known Implementing Classes:
AttributeImpl,EntityImpl,IndexImpl,RelationImpl
public interface ModelElementElement as part of the model.- Author:
- harald
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetName()Gets the name of the element.intgetOrdinal()Gets the ordinal along the inheritance path.ModelElementgetParent()Gets the parent element.SourceInfogetSourceInfo()Gets the information about the source where this element is defined.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Gets the name of the element.- Returns:
- the name
-
getOrdinal
int getOrdinal()
Gets the ordinal along the inheritance path.- Returns:
- the ordinal, starting at 0
-
getSourceInfo
SourceInfo getSourceInfo()
Gets the information about the source where this element is defined.- Returns:
- the source info
-
getParent
ModelElement getParent()
Gets the parent element.- Returns:
- the parent, null if none
-
-