@Entity public class RelationshipType extends Object implements ReloadableEntity<Integer>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
id
The Integer ID used as a primary key for this database object.
|
| Modifier | Constructor and Description |
|---|---|
protected |
RelationshipType()
Protected constructor, create object using:
DSpaceCRUDService.create(Context) } |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getID()
Standard getter for the ID of this RelationshipType
|
String |
getLeftLabel()
Standard getter for the leftLabel String for this RelationshipType
|
Integer |
getLeftMaxCardinality()
Standard getter for the leftMaxCardinality Integer for this RelationshipType
|
Integer |
getLeftMinCardinality()
Standard getter for the leftMinCardinality Integer for this RelationshipType
|
EntityType |
getLeftType()
Standard getter for The leftType EntityType for this RelationshipType
|
String |
getRightLabel()
Standard getter for the rightLabel String for this RelationshipType
|
Integer |
getRightMaxCardinality()
Standard getter for the rightMaxCardinality Integer for this RelationshipType
|
Integer |
getRightMinCardinality()
Standard getter for the rightMinCardinality Integer for this RelationshipType
|
EntityType |
getRightType()
Standard getter for The rightType EntityType for this RelationshipType
|
void |
setId(Integer id)
Standard getter for the ID of this RelationshipType
|
void |
setLeftLabel(String leftLabel)
Standard setter for the leftLabel String for this RelationshipType
|
void |
setLeftMaxCardinality(Integer leftMaxCardinality)
Standard setter for the leftMaxCardinality Integer for this RelationshipType
|
void |
setLeftMinCardinality(Integer leftMinCardinality)
Standard setter for the leftMinCardinality Integer for this RelationshipType
|
void |
setLeftType(EntityType leftType)
Standard setter for the leftType EntityType for this RelationshipType
|
void |
setRightLabel(String rightLabel)
Standard setter for the rightLabel String for this RelationshipType
|
void |
setRightMaxCardinality(Integer rightMaxCardinality)
Standard setter for the rightMaxCardinality Integer for this RelationshipType
|
void |
setRightMinCardinality(Integer rightMinCardinality)
Standard setter for the rightMinCardinality Integer for this RelationshipType
|
void |
setRightType(EntityType rightType)
Standard setter for the rightType EntityType for this RelationshipType
|
protected Integer id
protected RelationshipType()
DSpaceCRUDService.create(Context) }public void setId(Integer id)
id - The ID that this RelationshipType should receivepublic EntityType getLeftType()
public void setLeftType(EntityType leftType)
leftType - The leftType EntityType that this RelationshipType should receivepublic EntityType getRightType()
public void setRightType(EntityType rightType)
rightType - The rightType EntityType that this RelationshipType should receivepublic String getLeftLabel()
public void setLeftLabel(String leftLabel)
leftLabel - The leftLabel String that this RelationshipType should receivepublic String getRightLabel()
public void setRightLabel(String rightLabel)
rightLabel - The rightLabel String that this RelationshipType should receivepublic Integer getLeftMinCardinality()
public void setLeftMinCardinality(Integer leftMinCardinality)
leftMinCardinality - The leftMinCardinality Integer that this RelationshipType should recievepublic Integer getLeftMaxCardinality()
public void setLeftMaxCardinality(Integer leftMaxCardinality)
leftMaxCardinality - The leftMaxCardinality Integer that this RelationshipType should recievepublic Integer getRightMinCardinality()
public void setRightMinCardinality(Integer rightMinCardinality)
rightMinCardinality - The rightMinCardinality Integer that this RelationshipType should recievepublic Integer getRightMaxCardinality()
public void setRightMaxCardinality(Integer rightMaxCardinality)
rightMaxCardinality - The rightMaxCardinality Integer that this RelationshipType should recievepublic Integer getID()
getID in interface ReloadableEntity<Integer>Copyright © 2019 DuraSpace. All rights reserved.