public class AccountData
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
AccountData(java.lang.String formKey,
java.lang.String udTablePrimaryKey,
java.util.Map parentData)
This constructor is used to populate AccountData value object
for an already provisioned account.
|
Modifier and Type | Method and Description |
---|---|
void |
addChildData(java.util.Map ChildTableRecordMap) |
void |
addSingleChildData(java.lang.String formName,
ChildTableRecord childTableRecord) |
java.util.Map |
getChildData()
This method returns the Map containing the child table records.
|
java.util.Map |
getData()
This method returns the account attributes in key-value format.
|
java.util.Map |
getEntitlements()
This method returns the list of provisioned EntitlementInstance
for each child form associated to parent form.
|
java.lang.String |
getFormKey()
This method returns process form key (SDK_KEY) of an account.
|
java.lang.String |
getUdTablePrimaryKey()
This method returns primary key of an entry in UD_PARENT_KEY of an account.
|
void |
setChildData(java.util.Map childData)
This method sets the Map containing the child table records.
|
void |
setEntitlements(java.util.Map entitlements)
This method sets the Map containing EntitlementInstances for
each child table associated with parent form.
|
java.lang.String |
toString() |
public static final long serialVersionUID
public AccountData(java.lang.String formKey, java.lang.String udTablePrimaryKey, java.util.Map parentData)
formKey
- - This is a form key (SDK_KEY)udTablePrimaryKey
- - This is a unique key for an entry in UD_PARENT table.parentData
- - This is UD_PARENT data for account attributes.
Key in this map is UD_PARENT_FIELD and value if the value of the field.public java.lang.String getFormKey()
public java.lang.String getUdTablePrimaryKey()
public java.util.Map getData()
public java.util.Map getEntitlements()
public void setEntitlements(java.util.Map entitlements)
entitlements
- Map containing EntitlementInstnces for each
child table associated with parent form. The key of the map is
the child form key (SDK_KEY of the child form).public java.util.Map getChildData()
ChildTableRecord
public void setChildData(java.util.Map childData)
ChildTableRecord
public void addSingleChildData(java.lang.String formName, ChildTableRecord childTableRecord)
public void addChildData(java.util.Map ChildTableRecordMap)
public java.lang.String toString()
toString
in class java.lang.Object