java.lang.Object
org.exolab.castor.xml.schema.annotations.jdo.ReadonlyDirtyType
org.exolab.castor.xml.schema.annotations.jdo.Column
All Implemented Interfaces:
Serializable

public class Column extends ReadonlyDirtyType implements Serializable
Element 'column' is used to specify the column where the property of an object will be saved.
Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • Column

      public Column()
  • Method Details

    • deleteAcceptNull

      public void deleteAcceptNull()
    • getAcceptNull

      public boolean getAcceptNull()
      Returns the value of field 'acceptNull'. The field 'acceptNull' has the following description: Specifies if this field accepts NULL values or not.
      Returns:
      the value of field 'AcceptNull'.
    • getName

      public String getName()
      Returns the value of field 'name'. The field 'name' has the following description: Attribute 'name' is used to specify the name of the column.
      Returns:
      the value of field 'Name'.
    • getType

      public String getType()
      Returns the value of field 'type'. The field 'type' has the following description: Attribute 'type' is used to specify the JDO-type of the column.
      Returns:
      the value of field 'Type'.
    • hasAcceptNull

      public boolean hasAcceptNull()
      Method hasAcceptNull.
      Returns:
      true if at least one AcceptNull has been added
    • isAcceptNull

      public boolean isAcceptNull()
      Returns the value of field 'acceptNull'. The field 'acceptNull' has the following description: Specifies if this field accepts NULL values or not.
      Returns:
      the value of field 'AcceptNull'.
    • isValid

      public boolean isValid()
      Method isValid.
      Overrides:
      isValid in class ReadonlyDirtyType
      Returns:
      true if this object is valid according to the schema
    • marshal

      public void marshal(Writer out) throws MarshalException, ValidationException
      Overrides:
      marshal in class ReadonlyDirtyType
      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
      Overrides:
      marshal in class ReadonlyDirtyType
      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
    • setAcceptNull

      public void setAcceptNull(boolean acceptNull)
      Sets the value of field 'acceptNull'. The field 'acceptNull' has the following description: Specifies if this field accepts NULL values or not.
      Parameters:
      acceptNull - the value of field 'acceptNull'.
    • setName

      public void setName(String name)
      Sets the value of field 'name'. The field 'name' has the following description: Attribute 'name' is used to specify the name of the column.
      Parameters:
      name - the value of field 'name'.
    • setType

      public void setType(String type)
      Sets the value of field 'type'. The field 'type' has the following description: Attribute 'type' is used to specify the JDO-type of the column.
      Parameters:
      type - the value of field 'type'.
    • 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
      Overrides:
      validate in class ReadonlyDirtyType
      Throws:
      ValidationException - if this object is an invalid instance according to the schema