org.exolab.castor.xml.schema.annotations.jdo
Class ReadonlyDirtyType

java.lang.Object
  extended by org.exolab.castor.xml.schema.annotations.jdo.ReadonlyDirtyType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Column, OneToMany, OneToOne

public class ReadonlyDirtyType
extends java.lang.Object
implements java.io.Serializable

Class ReadonlyDirtyType.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
ReadonlyDirtyType()
           
 
Method Summary
 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(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadonlyDirtyType

public ReadonlyDirtyType()
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 marshaling
ValidationException - 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 marshaling
ValidationException - if this object is an invalid instance according to the schema
MarshalException - 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 marshaling
ValidationException - 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


Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com