Class OneToOne
java.lang.Object
org.exolab.castor.xml.schema.annotations.jdo.ReadonlyDirtyType
org.exolab.castor.xml.schema.annotations.jdo.OneToOne
- All Implemented Interfaces:
Serializable
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ReadonlyDirtyType
deleteDirty, deleteReadOnly, getDirty, getReadOnly, hasDirty, hasReadOnly, isDirty, isReadOnly, setDirty, setReadOnlyModifier and TypeMethodDescriptionvoidvoidbooleangetDirty()Returns the value of field 'dirty'.booleanReturns the value of field 'readOnly'.booleanhasDirty()Method hasDirty.booleanMethod hasReadOnly.booleanisDirty()Returns the value of field 'dirty'.booleanReturns the value of field 'readOnly'.voidsetDirty(boolean dirty) Sets the value of field 'dirty'.voidsetReadOnly(boolean readOnly) Sets the value of field 'readOnly'.
-
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:
isValidin classReadonlyDirtyType- Returns:
- true if this object is valid according to the schema
-
marshal
- Overrides:
marshalin 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:
marshalin 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:
validatein classReadonlyDirtyType- Throws:
ValidationException- if this object is an invalid instance according to the schema
-