Class LinkEnd

java.lang.Object
lu.kbra.modelizer_next.domain.LinkEnd

public class LinkEnd extends Object
One endpoint of a link, including the target class or field and its cardinality information.
  • Constructor Details

    • LinkEnd

      public LinkEnd()
      Creates a link end instance.
    • LinkEnd

      public LinkEnd(String classId, String fieldId)
      Creates a link end instance.
      Parameters:
      classId - id of the class to look up or modify
      fieldId - id of the field to look up or modify
  • Method Details

    • getClassId

      public String getClassId()
      Returns the class ID.
      Returns:
      the class ID
    • getFieldId

      public String getFieldId()
      Returns the field ID.
      Returns:
      the field ID
    • setClassId

      public void setClassId(String classId)
      Sets the class ID.
      Parameters:
      classId - id of the class to look up or modify
    • setFieldId

      public void setFieldId(String fieldId)
      Sets the field ID.
      Parameters:
      fieldId - id of the field to look up or modify
    • toString

      public String toString()
      Builds a debug string for this link end.
      Overrides:
      toString in class Object
      Returns:
      a debug string for this object