org.exolab.castor.mapping.xml
Class FieldMapping
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldMapping
public FieldMapping()
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