Package com.ads.api.beans.bgm
Class Relationship
java.lang.Object
com.ads.api.beans.bgm.Relationship
This class provides some beans control methods related to relationship such
as id, masterId, titleForward, titleReverse, description, definedBy and
relationshipType etc..
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the definedBy of the relationship objectReturns the description of the relationship objectintgetId()Returns the id of the relationship objectintReturns the masterId of the relationship objectReturns the relationshipType of the association objectReturns the titleForward of the relationship objectReturns the titleReverse of the relationship objectvoidsetDefinedBy(APIConstants.DefinedBy definedBy) Sets the definedBy of the relationship object.voidsetDescription(String description) Sets the description of the relationship object.voidsetId(int id) Sets the id of the relationship object.voidsetMasterId(int masterId) Sets the masterId of the relationship object.voidsetRelationshipType(APIConstants.RelationshipType relationshipType) Sets the relationshipType of the association object.voidsetTitleForward(String titleForward) Sets the titleForward of the relationship object.voidsetTitleReverse(String titleReverse) Sets the titleReverse of the relationship object.toString()
-
Constructor Details
-
Relationship
public Relationship()
-
-
Method Details
-
getId
public int getId()Returns the id of the relationship object- Returns:
- id int
-
setId
public void setId(int id) Sets the id of the relationship object.- Parameters:
id- int
-
getMasterId
public int getMasterId()Returns the masterId of the relationship object- Returns:
- masterId int
-
setMasterId
public void setMasterId(int masterId) Sets the masterId of the relationship object.- Parameters:
masterId- int
-
getTitleForward
Returns the titleForward of the relationship object- Returns:
- titleForward String
-
setTitleForward
Sets the titleForward of the relationship object.- Parameters:
titleForward- String
-
getTitleReverse
Returns the titleReverse of the relationship object- Returns:
- titleReverse String
-
setTitleReverse
Sets the titleReverse of the relationship object.- Parameters:
titleReverse- String
-
getDescription
Returns the description of the relationship object- Returns:
- description String
-
setDescription
Sets the description of the relationship object.- Parameters:
description- String
-
getDefinedBy
Returns the definedBy of the relationship object- Returns:
- definedBy String
-
setDefinedBy
Sets the definedBy of the relationship object.- Parameters:
definedBy- String
-
getRelationshipType
Returns the relationshipType of the association object- Returns:
- relationshipType RelationshipType
-
setRelationshipType
Sets the relationshipType of the association object.- Parameters:
relationshipType- RelationshipType
-
toString
-