Class ReadonlyDirtyType
- java.lang.Object
-
- org.exolab.castor.xml.schema.annotations.jdo.ReadonlyDirtyType
-
- All Implemented Interfaces:
java.io.Serializable
public class ReadonlyDirtyType extends java.lang.Object implements java.io.Serializable
Class ReadonlyDirtyType.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReadonlyDirtyType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteDirty()
void
deleteReadOnly()
boolean
getDirty()
Returns the value of field 'dirty'.boolean
getReadOnly()
Returns the value of field 'readOnly'.boolean
hasDirty()
Method hasDirty.boolean
hasReadOnly()
Method hasReadOnly.boolean
isDirty()
Returns the value of field 'dirty'.boolean
isReadOnly()
Returns the value of field 'readOnly'.boolean
isValid()
Method isValid.void
marshal(java.io.Writer out)
void
marshal(org.xml.sax.ContentHandler handler)
void
setDirty(boolean dirty)
Sets the value of field 'dirty'.void
setReadOnly(boolean readOnly)
Sets the value of field 'readOnly'.static ReadonlyDirtyType
unmarshal(java.io.Reader reader)
Method unmarshal.void
validate()
-
-
-
Method Detail
-
deleteDirty
public void deleteDirty()
-
deleteReadOnly
public void deleteReadOnly()
-
getDirty
public boolean getDirty()
Returns the value of field 'dirty'. The field 'dirty' has the following description: If the value is 'true', the field will not be checked against the database for modification.- Returns:
- the value of field 'Dirty'.
-
getReadOnly
public boolean getReadOnly()
Returns the value of field 'readOnly'. The field 'readOnly' has the following description: Attribute 'read-only' is used to set off changing the column. If true, no update can be performed.- Returns:
- the value of field 'ReadOnly'.
-
hasDirty
public boolean hasDirty()
Method hasDirty.- Returns:
- true if at least one Dirty has been added
-
hasReadOnly
public boolean hasReadOnly()
Method hasReadOnly.- Returns:
- true if at least one ReadOnly has been added
-
isDirty
public boolean isDirty()
Returns the value of field 'dirty'. The field 'dirty' has the following description: If the value is 'true', the field will not be checked against the database for modification.- Returns:
- the value of field 'Dirty'.
-
isReadOnly
public boolean isReadOnly()
Returns the value of field 'readOnly'. The field 'readOnly' has the following description: Attribute 'read-only' is used to set off changing the column. If true, no update can be performed.- Returns:
- the value of field 'ReadOnly'.
-
isValid
public boolean isValid()
Method isValid.- Returns:
- true if this object is valid according to the schema
-
marshal
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
- 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(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
- Parameters:
handler
-- Throws:
java.io.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
-
setDirty
public void setDirty(boolean dirty)
Sets the value of field 'dirty'. The field 'dirty' has the following description: If the value is 'true', the field will not be checked against the database for modification.- Parameters:
dirty
- the value of field 'dirty'.
-
setReadOnly
public void setReadOnly(boolean readOnly)
Sets the value of field 'readOnly'. The field 'readOnly' has the following description: Attribute 'read-only' is used to set off changing the column. If true, no update can be performed.- Parameters:
readOnly
- the value of field 'readOnly'.
-
unmarshal
public static ReadonlyDirtyType unmarshal(java.io.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
public void validate() throws ValidationException
- Throws:
ValidationException
- if this object is an invalid instance according to the schema
-
-