|
Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework 2.0.0.0.0 E36392-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectoracle.adf.model.datacontrols.device.ContactField
public class ContactField
Object used as part of a Contact
Constructor Summary | |
---|---|
ContactField()
Default ContactField constructor |
|
ContactField(int id,
String type,
String value,
boolean pref)
ContactField constructor |
Method Summary | |
---|---|
int |
getId()
Get a unique identifier |
boolean |
getPref()
Get the flag to determine if this is the user's preferred value |
String |
getType()
Get a field type |
String |
getValue()
Get the field value |
oracle.adfmf.json.JSONObject |
modifyJSON(oracle.adfmf.json.JSONObject jsonObj)
Method to normalize the JSON object. |
Object |
modifyObject(oracle.adfmf.json.JSONObject jsonObj)
Method to update the class instance object by de-serializing the jsonObject into private setters |
void |
setPref(boolean pref)
Set the value for pref |
void |
setType(String type)
Set the value for type |
void |
setValue(String value)
Set the value for value |
String |
toString()
Method to convert ContactField object to string representation. |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContactField()
public ContactField(int id, String type, String value, boolean pref)
id
- of the contact fieldtype
- of the contact fieldvalue
- of the contact fieldpref
- of the contact fieldMethod Detail |
---|
public int getId()
public String getType()
public String getValue()
public boolean getPref()
public void setType(String type)
public void setValue(String value)
public void setPref(boolean pref)
public String toString()
toString
in class Object
public oracle.adfmf.json.JSONObject modifyJSON(oracle.adfmf.json.JSONObject jsonObj)
modifyJSON
in interface PostJSONSerializable
jsonObj
- JSONObject to be modified.
public Object modifyObject(oracle.adfmf.json.JSONObject jsonObj) throws Exception
modifyObject
in interface PostJSONDeserializable
jsonObj
- JSONObject to be modified.
Exception
|
Oracle Fusion Middleware Java API Reference for Oracle Mobile Application Framework 2.0.0.0.0 E36392-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |