|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MobyDataInstance
A convenience interface for passing arrays of instance data around without needing to type cast.
Field Summary | |
---|---|
static int |
CENTRAL_XML_MODE
|
static int |
SERVICE_XML_MODE
|
Method Summary | |
---|---|
String |
getName()
|
Object |
getObject()
Each implementer will return the underlying Java object used to store the MOBY value. |
Object |
getUserData()
Retrieves any application-specific data that may have been stored in association with this Moby object. |
int |
getXmlMode()
Report whether toXML will produce Central template or service call instance XML. |
void |
setName(String name)
|
void |
setUserData(Object data)
Allows developers to track their application-specific information alongside the Moby functionality. |
void |
setXmlMode(int mode)
Determined whether toXML will return a Central template value or a service call instance value. |
String |
toXML()
Returns the MOBY XML representation of the object. |
Field Detail |
---|
static final int CENTRAL_XML_MODE
static final int SERVICE_XML_MODE
Method Detail |
---|
String toXML()
void setXmlMode(int mode) throws IllegalArgumentException
mode
- one of CENTRAL_XML_MODE or SERVICE_XML_MODE
IllegalArgumentException
- if the mode is not one of the specified valuesint getXmlMode()
Object getObject()
Object getUserData()
void setUserData(Object data)
void setName(String name)
String getName()
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |