Class ReadonlyDirtyType

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

public class ReadonlyDirtyType extends Object implements Serializable
Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • ReadonlyDirtyType

      public ReadonlyDirtyType()
  • Method Details

    • 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(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(ContentHandler handler) throws IOException, MarshalException, ValidationException
      Parameters:
      handler -
      Throws:
      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(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