Class OneToOne
java.lang.Object
org.exolab.castor.xml.schema.annotations.jdo.ReadonlyDirtyType
org.exolab.castor.xml.schema.annotations.jdo.OneToOne
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.exolab.castor.xml.schema.annotations.jdo.ReadonlyDirtyType
deleteDirty, deleteReadOnly, getDirty, getReadOnly, hasDirty, hasReadOnly, isDirty, isReadOnly, setDirty, setReadOnly
-
Constructor Details
-
OneToOne
public OneToOne()
-
-
Method Details
-
getName
Returns the value of field 'name'. The field 'name' has the following description: The name attribute specifies the name of the column that represents this relation.- Returns:
- the value of field 'Name'.
-
isValid
public boolean isValid()Method isValid.- Overrides:
isValid
in classReadonlyDirtyType
- Returns:
- true if this object is valid according to the schema
-
marshal
- Overrides:
marshal
in classReadonlyDirtyType
- Parameters:
out
-- Throws:
MarshalException
- if object is null or if any SAXException is thrown during marshalingValidationException
- if this object is an invalid instance according to the schema
-
marshal
public void marshal(ContentHandler handler) throws IOException, MarshalException, ValidationException - Overrides:
marshal
in classReadonlyDirtyType
- Parameters:
handler
-- Throws:
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 marshaling
-
setName
Sets the value of field 'name'. The field 'name' has the following description: The name attribute specifies the name of the column that represents this relation.- Parameters:
name
- the value of field 'name'.
-
unmarshal
Method unmarshal.- Parameters:
reader
-- Returns:
- the unmarshaled org.exolab.castor.xml.schema.annotations.jdo.OneToOne
- Throws:
MarshalException
- if object is null or if any SAXException is thrown during marshalingValidationException
- if this object is an invalid instance according to the schema
-
validate
- Overrides:
validate
in classReadonlyDirtyType
- Throws:
ValidationException
- if this object is an invalid instance according to the schema
-