Package com.ads.api.beans.bgm
Class Association
java.lang.Object
com.ads.api.beans.bgm.Association
This class provides some beans control methods related to Association such
as associationId, sourceObjectId, sourceObjectTypeId, targetObjectId,
targetObjectTypeId, relationship details and fields etc..
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the fields(extended properties) of the association objectgetFieldValue(String name) Returns the field value(extended property) of the association objectintgetId()Returns the id of the association object.intReturns the qualifierObjectId of the association object.intReturns the qualifierObjectTypeId of the association object.Returns the relationship details of the association object.Returns the source details of the association object.intReturns the sourceObjectId of the association object.intReturns the sourceObjectTypeId of the association object.Returns the target details of the association object.intReturns the targetObjectId of the association object.intReturns the targetObjectTypeId of the association object.voidSets the fields(extended properties) of the association objectvoidsetFieldValue(String name, Object value) Sets the field value(extended property) of the association object.voidsetId(int id) Sets the id of the association objectvoidsetQualifierObjectId(int qualifierObjectId) Sets the qualifierObjectId of the association object.voidsetQualifierObjectTypeId(int qualifierObjectTypeId) Sets the qualifierObjectTypeId of the association object.voidsetRelationship(Relationship relationship) Sets the relationship details as specified to the association object.voidSets the source details of the association object.voidsetSourceObjectId(int sourceObjectId) Sets the sourceObjectId of the association objectvoidsetSourceObjectTypeId(int sourceObjectTypeId) Sets the sourceObjectTypeId of the association object.voidSets the target details of the association object.voidsetTargetObjectId(int targetObjectId) Sets the targetObjectId of the association object.voidsetTargetObjectTypeId(int targetObjectTypeId) Sets the targetObjectTypeId of the association object.toString()
-
Constructor Details
-
Association
public Association()
-
-
Method Details
-
getId
public int getId()Returns the id of the association object.- Returns:
- id int
-
setId
public void setId(int id) Sets the id of the association object- Parameters:
id- int
-
getSourceObjectId
public int getSourceObjectId()Returns the sourceObjectId of the association object.- Returns:
- sourceObjectId int
-
setSourceObjectId
public void setSourceObjectId(int sourceObjectId) Sets the sourceObjectId of the association object- Parameters:
sourceObjectId-
-
getSourceObjectTypeId
public int getSourceObjectTypeId()Returns the sourceObjectTypeId of the association object.- Returns:
- sourceObjectTypeId int
-
setSourceObjectTypeId
public void setSourceObjectTypeId(int sourceObjectTypeId) Sets the sourceObjectTypeId of the association object.- Parameters:
sourceObjectTypeId- int.
-
getTargetObjectId
public int getTargetObjectId()Returns the targetObjectId of the association object.- Returns:
- targetObjectId int.
-
setTargetObjectId
public void setTargetObjectId(int targetObjectId) Sets the targetObjectId of the association object.- Parameters:
targetObjectId- int
-
getTargetObjectTypeId
public int getTargetObjectTypeId()Returns the targetObjectTypeId of the association object.- Returns:
- targetObjectTypeId int
-
setTargetObjectTypeId
public void setTargetObjectTypeId(int targetObjectTypeId) Sets the targetObjectTypeId of the association object.- Parameters:
targetObjectTypeId- int
-
getQualifierObjectId
public int getQualifierObjectId()Returns the qualifierObjectId of the association object.- Returns:
- qualifierObjectId int
-
setQualifierObjectId
public void setQualifierObjectId(int qualifierObjectId) Sets the qualifierObjectId of the association object.- Parameters:
qualifierObjectId- int
-
getQualifierObjectTypeId
public int getQualifierObjectTypeId()Returns the qualifierObjectTypeId of the association object.- Returns:
- qualifierObjectTypeId int
-
setQualifierObjectTypeId
public void setQualifierObjectTypeId(int qualifierObjectTypeId) Sets the qualifierObjectTypeId of the association object.- Parameters:
qualifierObjectTypeId- int
-
setFieldValue
Sets the field value(extended property) of the association object.- Parameters:
name- Stringvalue- Object
-
getFieldValue
Returns the field value(extended property) of the association object- Parameters:
name- String- Returns:
- fieldValue Object
-
getFields
Returns the fields(extended properties) of the association object- Returns:
- fields Map
-
setFields
Sets the fields(extended properties) of the association object- Parameters:
fields- Map
-
getRelationship
Returns the relationship details of the association object.- Returns:
- relationship Relationship
-
setRelationship
Sets the relationship details as specified to the association object.- Parameters:
relationship- Relationship
-
getSource
Returns the source details of the association object.- Returns:
- source Node.
-
setSource
Sets the source details of the association object.- Parameters:
Src- Node
-
getTarget
Returns the target details of the association object.- Returns:
- target Node
-
setTarget
Sets the target details of the association object.- Parameters:
target- Node
-
getUpstreamNode
-
getDownstreamNode
-
toString
-