Package org.dspace.app.rest.model
Class RelationshipTypeRest
- All Implemented Interfaces:
Serializable,RestModel
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 Summary
FieldsFields inherited from class org.dspace.app.rest.model.BaseObjectRest
idFields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CONTENT_REPORT, CORE, DISCOVER, DUPLICATES, EPERSON, INTEGRATION, LDN, PID, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()booleanGeneric getter for the copyToLeftbooleanGeneric getter for the copyToRightvoidsetCopyToLeft(boolean copyToLeft) Generic setter for the copyToLeftvoidsetCopyToRight(boolean copyToRight) Generic setter for the copyToRightvoidsetLeftMaxCardinality(Integer leftMaxCardinality) voidsetLeftMinCardinality(Integer leftMinCardinality) voidsetLeftType(EntityTypeRest leftType) voidsetLeftwardType(String leftwardType) voidsetRightMaxCardinality(Integer rightMaxCardinality) voidsetRightMinCardinality(Integer rightMinCardinality) voidsetRightType(EntityTypeRest rightType) voidsetRightwardType(String rightwardType) Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, setErrors, setIdMethods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Field Details
-
NAME
- See Also:
-
PLURAL_NAME
- See Also:
-
CATEGORY
- See Also:
-
-
Constructor Details
-
RelationshipTypeRest
public RelationshipTypeRest()
-
-
Method Details
-
getType
-
getTypePlural
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getLeftwardType
-
setLeftwardType
-
getRightwardType
-
setRightwardType
-
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
-
setLeftMinCardinality
-
getLeftMaxCardinality
-
setLeftMaxCardinality
-
getRightMinCardinality
-
setRightMinCardinality
-
getRightMaxCardinality
-
setRightMaxCardinality
-
getLeftType
-
setLeftType
-
getRightType
-
setRightType
-