public class Account
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Account() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteId() |
java.lang.String |
getApiKey()
Returns the value of field 'apiKey'.
|
long |
getId()
Returns the value of field 'id'.
|
boolean |
hasId()
Method hasId.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(org.xml.sax.ContentHandler handler) |
void |
marshal(java.io.Writer out) |
void |
setApiKey(java.lang.String apiKey)
Sets the value of field 'apiKey'.
|
void |
setId(long id)
Sets the value of field 'id'.
|
static Account |
unmarshal(java.io.Reader reader)
Method unmarshal.
|
void |
validate() |
public void deleteId()
public java.lang.String getApiKey()
public long getId()
public boolean hasId()
public boolean isValid()
public void marshal(java.io.Writer out)
throws org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
out - org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler)
throws java.io.IOException,
org.exolab.castor.xml.MarshalException,
org.exolab.castor.xml.ValidationException
handler - java.io.IOException - if an IOException occurs during
marshalingorg.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schemaorg.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingpublic void setApiKey(java.lang.String apiKey)
apiKey - the value of field 'apiKey'.public void setId(long id)
id - the value of field 'id'.public static Account unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException
reader - org.exolab.castor.xml.MarshalException - if object is
null or if any SAXException is thrown during marshalingorg.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schemapublic void validate()
throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException - if this
object is an invalid instance according to the schemaCopyright © 2016. All Rights Reserved.