Class RelationshipTypeRest

All Implemented Interfaces:
Serializable, RestModel

public class RelationshipTypeRest extends BaseObjectRest<Integer>
This class is the REST representation of the RelationshipType model class. This class acts as a data holder for the RelationshipTypeResource class Refer to RelationshipType for an explanation of the properties
See Also:
  • Field Details

  • Constructor Details

    • RelationshipTypeRest

      public RelationshipTypeRest()
  • Method Details

    • getType

      public String getType()
    • getTypePlural

      public String getTypePlural()
    • getCategory

      public String getCategory()
      Specified by:
      getCategory in class RestAddressableModel
    • getController

      public Class getController()
      Specified by:
      getController in class RestAddressableModel
    • getLeftwardType

      public String getLeftwardType()
    • setLeftwardType

      public void setLeftwardType(String leftwardType)
    • getRightwardType

      public String getRightwardType()
    • setRightwardType

      public void setRightwardType(String rightwardType)
    • isCopyToLeft

      public boolean isCopyToLeft()
      Generic getter for the copyToLeft
      Returns:
      the copyToLeft value of this RelationshipTypeRest
    • setCopyToLeft

      public void setCopyToLeft(boolean copyToLeft)
      Generic setter for the copyToLeft
      Parameters:
      copyToLeft - The copyToLeft to be set on this RelationshipTypeRest
    • isCopyToRight

      public boolean isCopyToRight()
      Generic getter for the copyToRight
      Returns:
      the copyToRight value of this RelationshipTypeRest
    • setCopyToRight

      public void setCopyToRight(boolean copyToRight)
      Generic setter for the copyToRight
      Parameters:
      copyToRight - The copyToRight to be set on this RelationshipTypeRest
    • getLeftMinCardinality

      public Integer getLeftMinCardinality()
    • setLeftMinCardinality

      public void setLeftMinCardinality(Integer leftMinCardinality)
    • getLeftMaxCardinality

      public Integer getLeftMaxCardinality()
    • setLeftMaxCardinality

      public void setLeftMaxCardinality(Integer leftMaxCardinality)
    • getRightMinCardinality

      public Integer getRightMinCardinality()
    • setRightMinCardinality

      public void setRightMinCardinality(Integer rightMinCardinality)
    • getRightMaxCardinality

      public Integer getRightMaxCardinality()
    • setRightMaxCardinality

      public void setRightMaxCardinality(Integer rightMaxCardinality)
    • getLeftType

      @LinkRest public EntityTypeRest getLeftType()
    • setLeftType

      public void setLeftType(EntityTypeRest leftType)
    • getRightType

      @LinkRest public EntityTypeRest getRightType()
    • setRightType

      public void setRightType(EntityTypeRest rightType)