Package com.ads.api.beans.bgm
Class BusinessObject
java.lang.Object
com.ads.api.beans.common.Node
com.ads.api.beans.bgm.BusinessObject
- Direct Known Subclasses:
BusinessPolicy,BusinessRule,BusinessTerm,CustomObject
This class provides some beans control methods related to Business Term,
Business Rule, Business Policy and Custom object such as name, id, catalog in
which it is present, its definition, description, related notes, objectTypeId,
catalogsTypeId, workflowStatus, sdiClassifications etc...and
its related Audit Specifications.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ads.api.beans.common.Node
Node.Depth, Node.InputDataType, Node.NodeType, Node.ReturnType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSDIClassification(SDIClassification classification) It adds the given sdiClassification object to the list.Returns the assetType details of the business object.Returns the auditHistory details of the business object.intReturns the catalogId in which the business object is present.Returns the definition of the business object.Returns the description of the business object.Returns the fields(extended properties) of the association objectgetFieldValue(String name) Return the field(extended property) value of the business objectintgetId()Returns the id of the business object.getName()Returns the business object name.intReturns the objectTypeId of the business object.Returns the list of sdiClassifications of the business object.Returns the workflowStatus related to the business object.booleanReturns the sdiFlag value as true or false.voidsetAssetType(AssetType assetType) Sets the assetType details as specified to the business object.voidsetAuditHistory(AuditHistory auditHistory) Sets the auditHistory details as specified to the business object.voidsetCatalogId(int catalogId) Sets the catalogId as specified.voidsetDefinition(String definition) Sets the definition to the business object as Specified.voidsetDescription(String description) Sets the description to the business object as Specified.voidSets the fields(extended properties) of the business objectvoidsetFieldValue(String name, Object value) Sets the field value(extended property) as specified.voidsetId(int id) Sets the id of the business objectvoidSets the business object name as Specified.voidsetSDIClassifications(List<SDIClassification> sdiClassifications) Method sets the list of sdiClassifications to the business object as specified.voidsetSdiFlag(boolean sdiFlag) Method sets the sdiFlag value.voidsetWorkflowStatus(String workflowStatus) Sets the workflowStatus to the business object.toString()Methods inherited from class com.ads.api.beans.common.Node
addChildNode, getChildNodes, getEndPointType, getNodeId, getNodeType, setChildNodes, setEndPointType, setNodeId, setNodeType, setObjectTypeId
-
Constructor Details
-
BusinessObject
public BusinessObject() -
BusinessObject
-
-
Method Details
-
setFieldValue
Sets the field value(extended property) as specified.- Parameters:
name- Stringvalue- Object
-
getFieldValue
Return the field(extended property) value of the business object- Parameters:
name- String- Returns:
- Object
-
getFields
Returns the fields(extended properties) of the association object- Returns:
- fields
-
setFields
Sets the fields(extended properties) of the business object- Parameters:
fields-
-
getWorkflowStatus
Returns the workflowStatus related to the business object.- Returns:
- workflowStatus String
-
setWorkflowStatus
Sets the workflowStatus to the business object.- Parameters:
workflowStatus- String
-
getName
Returns the business object name.- Returns:
- name String
-
setName
Sets the business object name as Specified.- Parameters:
name- String
-
getDefinition
Returns the definition of the business object.- Returns:
- definition String
-
setDefinition
Sets the definition to the business object as Specified.- Parameters:
definition- String
-
getDescription
Returns the description of the business object.- Returns:
- description String
-
setDescription
Sets the description to the business object as Specified.- Parameters:
description- String
-
getCatalogId
public int getCatalogId()Returns the catalogId in which the business object is present.
catalogId can be the id of any catalog or subCatalog.- Returns:
- catalogId int
-
setCatalogId
public void setCatalogId(int catalogId) Sets the catalogId as specified.- Parameters:
catalogId- int
-
getObjectTypeId
public int getObjectTypeId()Returns the objectTypeId of the business object.- Overrides:
getObjectTypeIdin classNode- Returns:
- objectTypeId int
-
getId
public int getId()Returns the id of the business object.- Returns:
- id int
-
setId
public void setId(int id) Sets the id of the business object- Parameters:
id- int
-
getAuditHistory
Returns the auditHistory details of the business object.- Returns:
- auditHistory AuditHistory
-
setAuditHistory
Sets the auditHistory details as specified to the business object.- Parameters:
auditHistory- AuditHistory
-
isSdiFlag
public boolean isSdiFlag()Returns the sdiFlag value as true or false.- Returns:
- sdiFlag boolean
-
setSdiFlag
public void setSdiFlag(boolean sdiFlag) Method sets the sdiFlag value.- Parameters:
sdiFlag-
-
getSDIClassifications
Returns the list of sdiClassifications of the business object.- Returns:
- sdiClassifications List
-
setSDIClassifications
Method sets the list of sdiClassifications to the business object as specified.- Parameters:
sdiClassifications- List
-
addSDIClassification
It adds the given sdiClassification object to the list.- Parameters:
classification-- Returns:
- BusinessObject
-
getAssetType
Returns the assetType details of the business object.- Returns:
- assetType AssetType
-
setAssetType
Sets the assetType details as specified to the business object.- Parameters:
assetType- AssetType
-
toString
-