Package lu.kbra.modelizer_next.domain
Class LinkEnd
java.lang.Object
lu.kbra.modelizer_next.domain.LinkEnd
One endpoint of a link, including the target class or field and its cardinality information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the class ID.Returns the field ID.voidsetClassId(String classId) Sets the class ID.voidsetFieldId(String fieldId) Sets the field ID.toString()Builds a debug string for this link end.
-
Constructor Details
-
LinkEnd
public LinkEnd()Creates a link end instance. -
LinkEnd
Creates a link end instance.- Parameters:
classId- id of the class to look up or modifyfieldId- id of the field to look up or modify
-
-
Method Details
-
getClassId
Returns the class ID.- Returns:
- the class ID
-
getFieldId
Returns the field ID.- Returns:
- the field ID
-
setClassId
Sets the class ID.- Parameters:
classId- id of the class to look up or modify
-
setFieldId
Sets the field ID.- Parameters:
fieldId- id of the field to look up or modify
-
toString
Builds a debug string for this link end.
-