Class OneToMany
java.lang.Object
org.exolab.castor.xml.schema.annotations.jdo.ReadonlyDirtyType
org.exolab.castor.xml.schema.annotations.jdo.OneToMany
- All Implemented Interfaces:
Serializable
Class OneToMany.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the value of field 'name'.boolean
isValid()
Method isValid.void
void
marshal
(ContentHandler handler) void
Sets the value of field 'name'.static ReadonlyDirtyType
Method unmarshal.void
validate()
Methods inherited from class org.exolab.castor.xml.schema.annotations.jdo.ReadonlyDirtyType
deleteDirty, deleteReadOnly, getDirty, getReadOnly, hasDirty, hasReadOnly, isDirty, isReadOnly, setDirty, setReadOnly
-
Constructor Details
-
OneToMany
public OneToMany()
-
-
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
public static ReadonlyDirtyType unmarshal(Reader reader) throws MarshalException, ValidationException Method unmarshal.- Parameters:
reader
-- Returns:
- the unmarshaled org.exolab.castor.xml.schema.annotations.jdo.ReadonlyDirtyTyp
- 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
-