Class RelationshipRest

All Implemented Interfaces:
Serializable, RestModel

@LinksRest(links=@LinkRest(name="relationshipType",method="getRelationshipType")) public class RelationshipRest extends BaseObjectRest<Integer>
This class acts as the REST representation of the Relationship model class. This class acts as a data holder for the RelationshipResource Refer to Relationship for explanation about the properties
See Also:
  • Field Details

  • Constructor Details

    • RelationshipRest

      public RelationshipRest()
  • 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
    • getLeftId

      public UUID getLeftId()
    • setLeftId

      public void setLeftId(UUID leftId)
    • getRelationshipType

      @LinkRest public RelationshipTypeRest getRelationshipType()
    • setRelationshipType

      public void setRelationshipType(RelationshipTypeRest relationshipType)
    • getRightId

      public UUID getRightId()
    • setRightId

      public void setRightId(UUID rightId)
    • getLeftPlace

      public int getLeftPlace()
    • setLeftPlace

      public void setLeftPlace(int leftPlace)
    • getRightPlace

      public int getRightPlace()
    • setRightPlace

      public void setRightPlace(int rightPlace)
    • getRightwardValue

      public String getRightwardValue()
    • setRightwardValue

      public void setRightwardValue(String rightwardValue)
    • getLeftwardValue

      public String getLeftwardValue()
    • setLeftwardValue

      public void setLeftwardValue(String leftwardValue)