org.exolab.jms.tools.db
Class Attribute

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

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

See Also:
Serialized Form

Constructor Summary
Attribute()
           
 
Method Summary
 void deleteNotNull()
           
 void deletePrimaryKey()
           
 void deleteUnique()
           
 java.lang.String getName()
           
 boolean getNotNull()
           
 boolean getPrimaryKey()
           
 java.lang.String getType()
           
 boolean getUnique()
           
 boolean hasNotNull()
           
 boolean hasPrimaryKey()
           
 boolean hasUnique()
           
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler)
           
 void marshal(java.io.Writer)
           
 void setName(java.lang.String)
           
 void setNotNull(boolean)
           
 void setPrimaryKey(boolean)
           
 void setType(java.lang.String)
           
 void setUnique(boolean)
           
static Attribute unmarshal(java.io.Reader)
           
 void 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

deleteNotNull

public void deleteNotNull()

deletePrimaryKey

public void deletePrimaryKey()

deleteUnique

public void deleteUnique()

getName

public java.lang.String getName()

getNotNull

public boolean getNotNull()

getPrimaryKey

public boolean getPrimaryKey()

getType

public java.lang.String getType()

getUnique

public boolean getUnique()

hasNotNull

public boolean hasNotNull()

hasPrimaryKey

public boolean hasPrimaryKey()

hasUnique

public boolean hasUnique()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException

setName

public void setName(java.lang.String)

setNotNull

public void setNotNull(boolean)

setPrimaryKey

public void setPrimaryKey(boolean)

setType

public void setType(java.lang.String)

setUnique

public void setUnique(boolean)

unmarshal

public static Attribute unmarshal(java.io.Reader)
                           throws org.exolab.castor.xml.MarshalException,
                                  org.exolab.castor.xml.ValidationException

validate

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


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