org.exolab.jms.tools.db
Class Attribute

java.lang.Object
  |
  +--org.exolab.jms.tools.db.Attribute
All Implemented Interfaces:
java.io.Serializable

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

This element defines a table attribute.

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

Constructor Summary
Attribute()
           
 
Method Summary
 void deleteNot_null()
          Method deleteNot_null
 java.lang.String getName()
          Returns the value of field 'name'.
 boolean getNot_null()
          Returns the value of field 'not_null'.
 java.lang.String getType()
          Returns the value of field 'type'.
 boolean hasNot_null()
          Method hasNot_null
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setName(java.lang.String name)
          Sets the value of field 'name'.
 void setNot_null(boolean not_null)
          Sets the value of field 'not_null'.
 void setType(java.lang.String type)
          Sets the value of field 'type'.
static Attribute unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute()
Method Detail

deleteNot_null

public void deleteNot_null()
Method deleteNot_null

getName

public java.lang.String getName()
Returns the value of field 'name'.
Returns:
the value of field 'name'.

getNot_null

public boolean getNot_null()
Returns the value of field 'not_null'.
Returns:
the value of field 'not_null'.

getType

public java.lang.String getType()
Returns the value of field 'type'.
Returns:
the value of field 'type'.

hasNot_null

public boolean hasNot_null()
Method hasNot_null

isValid

public boolean isValid()
Method isValid

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal
Parameters:
out -  

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal
Parameters:
handler -  

setName

public void setName(java.lang.String name)
Sets the value of field 'name'.
Parameters:
name - the value of field 'name'.

setNot_null

public void setNot_null(boolean not_null)
Sets the value of field 'not_null'.
Parameters:
not_null - the value of field 'not_null'.

setType

public void setType(java.lang.String type)
Sets the value of field 'type'.
Parameters:
type - the value of field 'type'.

unmarshal

public static Attribute unmarshal(java.io.Reader reader)
                           throws org.exolab.castor.xml.MarshalException,
                                  org.exolab.castor.xml.ValidationException
Method unmarshal
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate


Copyright © 1999-2004 The OpenJMS Group. All Rights Reserved.