Interface ModelElement

All Known Subinterfaces:
Attribute, Entity, Index, Relation
All Known Implementing Classes:
AttributeImpl, EntityImpl, IndexImpl, RelationImpl

public interface ModelElement
Element as part of the model.
Author:
harald
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the name of the element.
    int
    Gets the ordinal along the inheritance path.
    Gets the parent element.
    Gets the information about the source where this element is defined.
  • Method Details

    • getName

      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