|
androidenterprise
v1
|
#include <variable_set.h>
Public Member Functions | |
| VariableSet (const Json::Value &storage) | |
| VariableSet (Json::Value *storage) | |
| virtual | ~VariableSet () |
| const StringPiece | GetTypeName () const |
| bool | has_kind () const |
| void | clear_kind () |
| const StringPiece | get_kind () const |
| void | set_kind (const StringPiece &value) |
| bool | has_placeholder () const |
| void | clear_placeholder () |
| const StringPiece | get_placeholder () const |
| void | set_placeholder (const StringPiece &value) |
| bool | has_user_value () const |
| void | clear_user_value () |
| const StringPiece | get_user_value () const |
| void | set_user_value (const StringPiece &value) |
Static Public Member Functions | |
| static VariableSet * | New () |
A variable set is a key-value pair of EMM-provided placeholders and its corresponding value, which is attributed to a user. For example, $FIRSTNAME could be a placeholder, and its value could be Alice. Placeholders should start with a '$' sign and should be alphanumeric only.
|
explicit |
Standard constructor for an immutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
| [in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'placeholder' attribute.
|
inline |
Clears the 'userValue' attribute.
|
inline |
Get the value of the 'kind' attribute.
|
inline |
Get the value of the 'placeholder' attribute.
|
inline |
Get the value of the 'userValue' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'placeholder' attribute was set.
placeholder' attribute was set.
|
inline |
Determine if the 'userValue' attribute was set.
userValue' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'kind' attribute.
| [in] | value | The new value. |
|
inline |
Change the 'placeholder' attribute.
The placeholder string; defined by EMM.
| [in] | value | The new value. |
|
inline |
Change the 'userValue' attribute.
The value of the placeholder, specific to the user.
| [in] | value | The new value. |