.. java:import:: org.json JSONObject DataContainer ============= .. java:package:: com.idopte.scmapi :noindex: .. java:type:: public class DataContainer extends TokenObject This class describes a data container object. Inherits from \ :java:ref:`TokenObject`\ . Note that the constructor is not intended to be called by user code. Such objects are constructed internally by the API. Methods ------- getApplication ^^^^^^^^^^^^^^ .. java:method:: public String getApplication() :outertype: DataContainer Gets the application name of the data container. :return: the application name of the data container. getLabel ^^^^^^^^ .. java:method:: public String getLabel() :outertype: DataContainer Gets the label of the data container. :return: the label of the data container. getValue ^^^^^^^^ .. java:method:: public byte[] getValue() throws SCMException :outertype: DataContainer Retrieves the data container data value. :return: the data container data value. isModifiable ^^^^^^^^^^^^ .. java:method:: public boolean isModifiable() :outertype: DataContainer Indicates whether the data container data value is modifiable. :return: ``true`` if the object data value is modifiable. isPrivate ^^^^^^^^^ .. java:method:: public boolean isPrivate() :outertype: DataContainer Indicates whether the object is public or private (protected by PIN). :return: ``true`` if the object data value is protected by PIN. setValue ^^^^^^^^ .. java:method:: public void setValue(byte[] value) throws SCMException :outertype: DataContainer Modifies the data container data value. :param value: a byte array containing the new data value.