public class OneToOne extends ReadonlyDirtyType implements Serializable
Constructor and Description |
---|
OneToOne() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the value of field 'name'.
|
boolean |
isValid()
Method isValid.
|
void |
marshal(ContentHandler handler) |
void |
marshal(Writer out) |
void |
setName(String name)
Sets the value of field 'name'.
|
static ReadonlyDirtyType |
unmarshal(Reader reader)
Method unmarshal.
|
void |
validate() |
deleteDirty, deleteReadOnly, getDirty, getReadOnly, hasDirty, hasReadOnly, isDirty, isReadOnly, setDirty, setReadOnly
public String getName()
public boolean isValid()
isValid
in class ReadonlyDirtyType
public void marshal(Writer out) throws MarshalException, ValidationException
marshal
in class ReadonlyDirtyType
out
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException
marshal
in class ReadonlyDirtyType
handler
- IOException
- if an IOException occurs during
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void setName(String name)
name
- the value of field 'name'.public static ReadonlyDirtyType unmarshal(Reader reader) throws MarshalException, ValidationException
reader
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
validate
in class ReadonlyDirtyType
ValidationException
- if this
object is an invalid instance according to the schemaCopyright © 2013. All rights reserved.