|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile 11g Release 2 (11.1.2.3.0) E27204-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.model.datacontrols.device.ContactField
public class ContactField
Object used as part of a Contact
Constructor Summary | |
---|---|
ContactField() Default ContactField constructor |
|
ContactField(int id, java.lang.String type, java.lang.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 |
java.lang.String |
getType() Get a field type |
java.lang.String |
getValue() Get the field value |
oracle.adfmf.json.JSONObject |
modifyJSON(oracle.adfmf.json.JSONObject jsonObj) Method to normalize the JSON object. |
java.lang.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(java.lang.String type) Set the value for type |
void |
setValue(java.lang.String value) Set the value for value |
java.lang.String |
toString() Method to convert ContactField object to string representation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContactField()
public ContactField(int id, java.lang.String type, java.lang.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 java.lang.String getType()
public java.lang.String getValue()
public boolean getPref()
public void setType(java.lang.String type)
public void setValue(java.lang.String value)
public void setPref(boolean pref)
public java.lang.String toString()
toString
in class java.lang.Object
public oracle.adfmf.json.JSONObject modifyJSON(oracle.adfmf.json.JSONObject jsonObj)
modifyJSON
in interface PostJSONSerializable
jsonObj
- JSONObject to be modified.public java.lang.Object modifyObject(oracle.adfmf.json.JSONObject jsonObj) throws java.lang.Exception
modifyObject
in interface PostJSONDeserializable
jsonObj
- JSONObject to be modified.java.lang.Exception
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile 11g Release 2 (11.1.2.3.0) E27204-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |