org.exolab.castor.mapping.xml
Class FieldMapping

java.lang.Object
  extended by org.exolab.castor.mapping.xml.FieldMapping
All Implemented Interfaces:
java.io.Serializable

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

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:35 $
See Also:
Serialized Form

Constructor Summary
FieldMapping()
           
 
Method Summary
 void deleteContainer()
           
 void deleteDirect()
           
 void deleteLazy()
           
 void deleteRequired()
           
 void deleteTransient()
           
 BindXml getBindXml()
           
 CollectionType getCollection()
           
 boolean getContainer()
           
 java.lang.String getCreateMethod()
           
 java.lang.String getDescription()
           
 boolean getDirect()
           
 java.lang.String getGetMethod()
           
 java.lang.String getHandler()
           
 java.lang.String getHasMethod()
           
 boolean getLazy()
           
 Ldap getLdap()
           
 java.lang.String getName()
           
 boolean getRequired()
           
 java.lang.String getSetMethod()
           
 Sql getSql()
           
 boolean getTransient()
           
 java.lang.String getType()
           
 boolean hasContainer()
           
 boolean hasDirect()
           
 boolean hasLazy()
           
 boolean hasRequired()
           
 boolean hasTransient()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setBindXml(BindXml _bindXml)
           
 void setCollection(CollectionType _collection)
           
 void setContainer(boolean _container)
           
 void setCreateMethod(java.lang.String _createMethod)
           
 void setDescription(java.lang.String _description)
           
 void setDirect(boolean _direct)
           
 void setGetMethod(java.lang.String _getMethod)
           
 void setHandler(java.lang.String _handler)
           
 void setHasMethod(java.lang.String _hasMethod)
           
 void setLazy(boolean _lazy)
           
 void setLdap(Ldap _ldap)
           
 void setName(java.lang.String _name)
           
 void setRequired(boolean _required)
           
 void setSetMethod(java.lang.String _setMethod)
           
 void setSql(Sql _sql)
           
 void setTransient(boolean _transient)
           
 void setType(java.lang.String _type)
           
static FieldMapping unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldMapping

public FieldMapping()
Method Detail

deleteDirect

public void deleteDirect()

deleteLazy

public void deleteLazy()

deleteContainer

public void deleteContainer()

deleteRequired

public void deleteRequired()

deleteTransient

public void deleteTransient()

getBindXml

public BindXml getBindXml()

getCollection

public CollectionType getCollection()

getCreateMethod

public java.lang.String getCreateMethod()

getDescription

public java.lang.String getDescription()

getDirect

public boolean getDirect()

getGetMethod

public java.lang.String getGetMethod()

getHandler

public java.lang.String getHandler()

getHasMethod

public java.lang.String getHasMethod()

getLazy

public boolean getLazy()

getContainer

public boolean getContainer()

getLdap

public Ldap getLdap()

getName

public java.lang.String getName()

getRequired

public boolean getRequired()

getSetMethod

public java.lang.String getSetMethod()

getSql

public Sql getSql()

getTransient

public boolean getTransient()

getType

public java.lang.String getType()

hasDirect

public boolean hasDirect()

hasLazy

public boolean hasLazy()

hasContainer

public boolean hasContainer()

hasRequired

public boolean hasRequired()

hasTransient

public boolean hasTransient()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws MarshalException,
                    ValidationException
Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws MarshalException,
                    ValidationException
Parameters:
handler -
Throws:
MarshalException
ValidationException

setBindXml

public void setBindXml(BindXml _bindXml)
Parameters:
_bindXml -

setCollection

public void setCollection(CollectionType _collection)
Parameters:
_collection -

setCreateMethod

public void setCreateMethod(java.lang.String _createMethod)
Parameters:
_createMethod -

setDescription

public void setDescription(java.lang.String _description)
Parameters:
_description -

setDirect

public void setDirect(boolean _direct)
Parameters:
_direct -

setGetMethod

public void setGetMethod(java.lang.String _getMethod)
Parameters:
_getMethod -

setHandler

public void setHandler(java.lang.String _handler)
Parameters:
_handler -

setHasMethod

public void setHasMethod(java.lang.String _hasMethod)
Parameters:
_hasMethod -

setLazy

public void setLazy(boolean _lazy)
Parameters:
_lazy -

setContainer

public void setContainer(boolean _container)
Parameters:
_container -

setLdap

public void setLdap(Ldap _ldap)
Parameters:
_ldap -

setName

public void setName(java.lang.String _name)
Parameters:
_name -

setRequired

public void setRequired(boolean _required)
Parameters:
_required -

setSetMethod

public void setSetMethod(java.lang.String _setMethod)
Parameters:
_setMethod -

setSql

public void setSql(Sql _sql)
Parameters:
_sql -

setTransient

public void setTransient(boolean _transient)
Parameters:
_transient -

setType

public void setType(java.lang.String _type)
Parameters:
_type -

unmarshal

public static FieldMapping unmarshal(java.io.Reader reader)
                              throws MarshalException,
                                     ValidationException
Parameters:
reader -
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Throws:
ValidationException


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