Package com.ads.api.beans.csm
Class Codeset
java.lang.Object
com.ads.api.beans.common.Node
com.ads.api.beans.csm.Codeset
The codeset class contains several useful class fields and methods related to
codeset and category in which the codeset is present. These methods used for
setting data to the current object and getting data from the current object .
-
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 TypeMethodDescriptionaddCodeValue(CodeValue codeValue) Returns the Codeset object by adding the specified CodeValue object to the codeValues list.addCodeValues(List<CodeValue> codeValues) Returns the codeset object by adding the specified list of CodeValue objects to the codeValues list.Returns the auditHistory Details.intReturns the categoryId.Returns the changedDescription of codeset.Returns the list of CodeValue objects where each codeValue Object contains details like codeName,codeValue,description etc...Returns the description.Returns the list of environments.intgetId()Returns the id of the codeset.Returns the lockedBy user of codeset.getName()Returns the name of a codeset .Returns the status of codeset.floatReturns the version of codeset.Returns the versionLabel of codeset.booleanisLocked()Returns the isLocked state of a codeset.booleanReturns the isPublished flag of a codeset.removeCodeValue(CodeValue codeValue) Returns the Codeset object by removing the specified CodeValue object from the codeValues list.voidsetAuditHistory(AuditHistory auditHistory) Method sets the auditHistory details as specified.voidsetCategoryId(int categoryId) Sets the categoryId as specified.voidsetChangedDescription(String changedDescription) Sets the changedDescription as specified.setCodeValues(List<CodeValue> codeValues) Returns the codeset object by adding the specified list of CodeValue objects to the codeValues list.voidsetDescription(String description) Sets the description as specified.voidsetEnvironments(List<CSMEnvironment> environments) Sets the list of environments objects as specified.voidsetId(int id) Sets the id of codeset as specified.voidsetLocked(boolean isLocked) Sets the isLocked as specified.voidsetLockedBy(String lockedBy) Sets the lockedBy as specified.voidSets the name of a codeset as specified.voidsetPublished(boolean isPublished) Sets the isPublished flag as specified.voidsetStatus(APIConstants.Status status) Sets the status as specified.voidsetVersion(float version) Sets the version as specified.voidsetVersionLabel(String versionLabel) Sets the versionLabel as specified.toString()Methods inherited from class com.ads.api.beans.common.Node
addChildNode, getChildNodes, getEndPointType, getNodeId, getNodeType, getObjectTypeId, setChildNodes, setEndPointType, setNodeId, setNodeType, setObjectTypeId
-
Constructor Details
-
Codeset
public Codeset()
-
-
Method Details
-
getId
public int getId()Returns the id of the codeset.- Returns:
- id int
-
setId
public void setId(int id) Sets the id of codeset as specified.- Parameters:
id- int
-
getCategoryId
public int getCategoryId()Returns the categoryId.- Returns:
- categoryId int
-
setCategoryId
public void setCategoryId(int categoryId) Sets the categoryId as specified.- Parameters:
categoryId- int
-
getName
Returns the name of a codeset .- Returns:
- name String
-
setName
Sets the name of a codeset as specified.- Parameters:
name- String
-
getDescription
Returns the description.- Returns:
- description String
-
setDescription
Sets the description as specified.- Parameters:
description- String
-
getStatus
Returns the status of codeset.- Returns:
- status String
-
setStatus
Sets the status as specified.- Parameters:
status- String
-
getVersion
public float getVersion()Returns the version of codeset.- Returns:
- version String
-
setVersion
public void setVersion(float version) Sets the version as specified.- Parameters:
version- String
-
getVersionLabel
Returns the versionLabel of codeset.- Returns:
- versionLabel String
-
setVersionLabel
Sets the versionLabel as specified.- Parameters:
versionLabel- String
-
getChangedDescription
Returns the changedDescription of codeset.- Returns:
- changedDescription String
-
setChangedDescription
Sets the changedDescription as specified.- Parameters:
changedDescription- String
-
isPublished
public boolean isPublished()Returns the isPublished flag of a codeset.- Returns:
- isPublished boolean
-
setPublished
public void setPublished(boolean isPublished) Sets the isPublished flag as specified.- Parameters:
isPublished- boolean
-
isLocked
public boolean isLocked()Returns the isLocked state of a codeset.- Returns:
- isLocked String
-
setLocked
public void setLocked(boolean isLocked) Sets the isLocked as specified.- Parameters:
isLocked- String
-
getLockedBy
Returns the lockedBy user of codeset.- Returns:
- lockedBy String
-
setLockedBy
Sets the lockedBy as specified.- Parameters:
lockedBy- String
-
getCodeValues
Returns the list of CodeValue objects where each codeValue Object contains details like codeName,codeValue,description etc...- Returns:
- List codeValues
-
setCodeValues
Returns the codeset object by adding the specified list of CodeValue objects to the codeValues list.- Parameters:
codeValues- List- Returns:
- Codeset
-
addCodeValues
Returns the codeset object by adding the specified list of CodeValue objects to the codeValues list.- Parameters:
codeValues- List- Returns:
- Codeset
-
addCodeValue
Returns the Codeset object by adding the specified CodeValue object to the codeValues list.- Parameters:
codeValue- CodeValue- Returns:
- Codeset
-
removeCodeValue
Returns the Codeset object by removing the specified CodeValue object from the codeValues list.- Parameters:
codeValue- CodeValue- Returns:
- Codeset
-
getAuditHistory
Returns the auditHistory Details.- Returns:
- auditHistory AuditHistory
-
setAuditHistory
Method sets the auditHistory details as specified.- Parameters:
auditHistory- AuditHistory
-
getEnvironments
Returns the list of environments.- Returns:
- List of environments
-
setEnvironments
Sets the list of environments objects as specified.- Parameters:
environments- List
-
toString
-