# Uses of Enum Class
com.ads.api.beans.common.APIConstants.OutputFormat

Packages that use APIConstants.OutputFormat
Package
Description
com.ads.api.beans.common
Contains Collection Classes,Java Bean Classes which are common to all the modules like AMMObjectTypes, APIConstants, ImportHelper etc.
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 APIConstants.OutputFormat in com.ads.api.beans.common

  Methods in com.ads.api.beans.common that return APIConstants.OutputFormat
  Modifier and Type
  Method
  Description
  `static APIConstants.OutputFormat`
  APIConstants.OutputFormat.`getOutputFormat(String value)`
  `static APIConstants.OutputFormat`
  APIConstants.OutputFormat.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static APIConstants.OutputFormat[]`
  APIConstants.OutputFormat.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

- ## Uses of APIConstants.OutputFormat in com.ads.api.util

  Methods in com.ads.api.util with parameters of type APIConstants.OutputFormat
  Modifier and Type
  Method
  Description
  `String`
  KeyValueUtil.`addKeyValueAs(String keyValuejson, APIConstants.OutputFormat outputFormat)`
  Inserts a single KeyValue pair object for the specified KeyValue object,objectTypeId and objectId are mandatory.OutputFormat can be either JSON or XML.
  `String`
  KeyValueUtil.`addKeyValueAs(String keyValuejson, Node.NodeType objectType, int objectId, APIConstants.OutputFormat outputFormat)`
  Inserts a single KeyValue pair object for the specified KeyValue object,objectTypeId and objectId.OutputFormat can be either JSON or XML.
  `String`
  KeyValueUtil.`addKeyValuesAs(String keyValuejson, Node.NodeType objectType, int objectId, APIConstants.OutputFormat outputFormat)`
  Inserts a multiple KeyValue pair objects for the specified List of KeyValue objects,objectTypeId and objectId.OutputFormat can be either JSON or XML.
  `String`
  KeyValueUtil.`addKeyValuesAs(String keyValuemapjson, Node.NodeType objectType, APIConstants.OutputFormat outputFormat)`
  Inserts multiple key value pair objects for the specified node type and given objectIds along with key value objects.
  `String`
  KeyValueUtil.`getKeyValueAs(Node.NodeType objectType, int objectId, APIConstants.OutputFormat outputFormat)`
  Returns the List of KeyValue Objects for the specified objectTypeId and objectId.
  `String`
  KeyValueUtil.`getKeyValuesAs(Node.NodeType objectType, List<Integer> objectIds, APIConstants.OutputFormat outputFormat)`
  Returns the Map of KeyValue Objects for the specified objectTypeId and List of objectIds.
  `String`
  KeyValueUtil.`updateKeyValueAs(String keyValuejson, APIConstants.OutputFormat outputFormat)`
  Updates the Key Value pair Object for the specified KeyValue object, Specifying KeyValueId is mandatory.
  `String`
  KeyValueUtil.`updateKeyValuesAs(String keyValuejson, APIConstants.OutputFormat outputFormat)`
  Updates the List of Key Value pair Objects for the specified List of KeyValue objects, Specifying KeyValueId is mandatory.