# Uses of Class
com.ads.api.beans.csm.CodeValue

Packages that use CodeValue
Package
Description
com.ads.api.beans.csm
Contains Collection Classes,Java Bean Classes which are specific to Categories, Codesets, Code Values, Codeset Maps.
com.ads.api.beans.sm
Contains Collection Classes,Java Bean Classes which are specific to System, Environment,Table, Column and Node.
com.ads.api.util
Contains Utility Classes, Collection Classes, Java Bean Classes which are specific to System, Environment, Table, Column, Mappings, Subject, KeyValue Pairs, ROle, Business Glossary Catalog, Document etc...

- ## Uses of CodeValue in com.ads.api.beans.csm

  Methods in com.ads.api.beans.csm that return CodeValue
  Modifier and Type
  Method
  Description
  `CodeValue`
  CodeValue.`addExtendedProperty(KeyValue keyValue)`
  Returns CodeValue object by adding specified KeyValue object to the CodeValue object where KeyValue object contains details like key,value, objectId,objectTypeId etc....
  `CodeValue`
  CodeValue.`setExtendedProperties(List<KeyValue> extendedProperties)`
  Returns the CodeValue object by setting the specified list of extendedProperties to the CodeValue object
  Methods in com.ads.api.beans.csm that return types with arguments of type CodeValue
  Modifier and Type
  Method
  Description
  `List<CodeValue>`
  Codeset.`getCodeValues()`
  Returns the list of CodeValue objects where each codeValue Object contains details like codeName,codeValue,description etc...
  Methods in com.ads.api.beans.csm with parameters of type CodeValue
  Modifier and Type
  Method
  Description
  `Codeset`
  Codeset.`addCodeValue(CodeValue codeValue)`
  Returns the Codeset object by adding the specified CodeValue object to the codeValues list.
  `Codeset`
  Codeset.`removeCodeValue(CodeValue codeValue)`
  Returns the Codeset object by removing the specified CodeValue object from the codeValues list.
  Method parameters in com.ads.api.beans.csm with type arguments of type CodeValue
  Modifier and Type
  Method
  Description
  `Codeset`
  Codeset.`addCodeValues(List<CodeValue> codeValues)`
  Returns the codeset object by adding the specified list of CodeValue objects to the codeValues list.
  `Codeset`
  Codeset.`setCodeValues(List<CodeValue> codeValues)`
  Returns the codeset object by adding the specified list of CodeValue objects to the codeValues list.

- ## Uses of CodeValue in com.ads.api.beans.sm

  Methods in com.ads.api.beans.sm that return types with arguments of type CodeValue
  Modifier and Type
  Method
  Description
  `List<CodeValue>`
  SMColumn.`getValidValues()`
  Returns the list of CodeValue objects.
  Methods in com.ads.api.beans.sm with parameters of type CodeValue
  Modifier and Type
  Method
  Description
  `SMColumn`
  SMColumn.`addValidValues(CodeValue validValue)`
  Method parameters in com.ads.api.beans.sm with type arguments of type CodeValue
  Modifier and Type
  Method
  Description
  `void`
  SMColumn.`setValidValues(List<CodeValue> validValues)`
  Method sets the CodeValue objects as specified.

- ## Uses of CodeValue in com.ads.api.util

  Methods in com.ads.api.util that return types with arguments of type CodeValue
  Modifier and Type
  Method
  Description
  `List<CodeValue>`
  CodesetManagerUtil.`getCodeValues(int codesetId)`
  Returns the list of codevalue objects for the specified codesetId.
  `List<CodeValue>`
  CodesetManagerUtil.`getCodeValues(int codesetId, int fillOptions)`
  Returns the list of codevalue objects for the specified codesetId.
  `List<CodeValue>`
  CodesetManagerUtil.`getCodeValues(int categoryId, String codesetName)`
  Returns the list of codevalue objects for the specified categoryId and codesetName.
  `List<CodeValue>`
  CodesetManagerUtil.`getCodeValues(int categoryId, String codesetName, int fillOptions)`
  Returns the list of codevalue objects for the specified categoryId and codesetName.
  `List<CodeValue>`
  CodesetManagerUtil.`getLogicallyDeletedCodeValues(int codesetId)`
  Returns the list of logically deleted codevalue objects for the specified codesetId.
  `List<CodeValue>`
  CodesetManagerUtil.`getValidValues(Node.NodeType nodeType, int nodeId)`
  Returns the list of code value objects for the specified nodeId where each code value object contains code name, code value, code description and codeset name in which code value is present etc....
  `List<CodeValue>`
  CodesetManagerUtil.`getValidValues(Node.NodeType nodeType, int nodeId, int fillOptions)`
  Returns the list of codeValue objects for the specified nodeType and nodeId.
  `List<CodeValue>`
  SystemManagerUtil.`getValidValues(int columnId)`
  Deprecated.
  `List<CodeValue>`
  SystemManagerUtil.`getValidValues(int columnId, int fillOptions)`
  Deprecated.
  Methods in com.ads.api.util with parameters of type CodeValue
  Modifier and Type
  Method
  Description
  `RequestStatus`
  CodesetManagerUtil.`addCodeValue(int codesetId, CodeValue codeValue, boolean saveExtendedProperties)`
  Codevalue is added for the specified codesetId, codevalue object and also extended properties are added only if the saveExtendedProperties flag is true.
  `RequestStatus`
  CodesetManagerUtil.`addCodeValue(CodeValue codeValue, boolean saveExtendedProperties)`
  Codevalue is added for the specified codevalue object and also extended properties are added only if the saveExtendedProperties flag is true.
  `RequestStatus`
  CodesetManagerUtil.`updateCodeValue(CodeValue codeValue)`
  Updates codevalue for the code id specified in the codeValue object.
  `RequestStatus`
  CodesetManagerUtil.`updateCodeValue(CodeValue codeValue, boolean updateExtendedProperties)`
  Updates codevalue for the code id specified in the codevalue object and also updates its extended properties only if updateExtendedProperties flag is true.
  Method parameters in com.ads.api.util with type arguments of type CodeValue
  Modifier and Type
  Method
  Description
  `RequestStatus`
  CodesetManagerUtil.`addCodeValues(int codesetId, List<CodeValue> codeValues, boolean saveExtendedProperties)`
  Codevalues are added for the specified codesetId list of codevalue objects and also extended properties are added only if the saveExtendedProperties flag is true.
  `RequestStatus`
  CodesetManagerUtil.`addCodeValues(List<CodeValue> codeValues, boolean saveExtendedProperties)`
  Codevalues are added for the specified list of codevalue objects and also extended properties are added only if the saveExtendedProperties flag is true.
  `RequestStatus`
  CodesetManagerUtil.`updateCodeValues(List<CodeValue> codeValues)`
  Updates list of codevalues for the code id specified in the list of each codevalue object.
  `RequestStatus`
  CodesetManagerUtil.`updateCodeValues(List<CodeValue> codeValues, boolean updateExtendedProperties)`
  Updates list of codevalues for the code id specified in the each codevalue object and also updates its corresponding extended properties only if updateExtendedProperties flag is true.