org.exolab.castor.mapping.xml

Class FieldMapping

public class FieldMapping extends Object implements Serializable

Class FieldMapping.

Version: $Revision: 6104 $ $Date: 2006-02-14 07:53:50 -0700 (Tue, 14 Feb 2006) $

Constructor Summary
FieldMapping()
Method Summary
voiddeleteContainer()
Method deleteContainer
voiddeleteDirect()
Method deleteDirect
voiddeleteIdentity()
Method deleteIdentity
voiddeleteLazy()
Method deleteLazy
voiddeleteRequired()
Method deleteRequired
voiddeleteTransient()
Method deleteTransient
BindXmlgetBindXml()
Returns the value of field 'bindXml'.
FieldMappingCollectionTypegetCollection()
Returns the value of field 'collection'.
StringgetComparator()
Returns the value of field 'comparator'.
booleangetContainer()
Returns the value of field 'container'.
StringgetCreateMethod()
Returns the value of field 'createMethod'.
StringgetDescription()
Returns the value of field 'description'.
booleangetDirect()
Returns the value of field 'direct'.
StringgetGetMethod()
Returns the value of field 'getMethod'.
StringgetHandler()
Returns the value of field 'handler'.
StringgetHasMethod()
Returns the value of field 'hasMethod'.
booleangetIdentity()
Returns the value of field 'identity'.
booleangetLazy()
Returns the value of field 'lazy'.
LdapgetLdap()
Returns the value of field 'ldap'.
StringgetName()
Returns the value of field 'name'.
booleangetRequired()
Returns the value of field 'required'.
StringgetSetMethod()
Returns the value of field 'setMethod'.
SqlgetSql()
Returns the value of field 'sql'.
booleangetTransient()
Returns the value of field 'transient'.
StringgetType()
Returns the value of field 'type'.
booleanhasContainer()
Method hasContainer
booleanhasDirect()
Method hasDirect
booleanhasIdentity()
Method hasIdentity
booleanhasLazy()
Method hasLazy
booleanhasRequired()
Method hasRequired
booleanhasTransient()
Method hasTransient
booleanisValid()
Method isValid
voidmarshal(Writer out)
Method marshal
voidmarshal(ContentHandler handler)
Method marshal
voidsetBindXml(BindXml bindXml)
Sets the value of field 'bindXml'.
voidsetCollection(FieldMappingCollectionType collection)
Sets the value of field 'collection'.
voidsetComparator(String comparator)
Sets the value of field 'comparator'.
voidsetContainer(boolean container)
Sets the value of field 'container'.
voidsetCreateMethod(String createMethod)
Sets the value of field 'createMethod'.
voidsetDescription(String description)
Sets the value of field 'description'.
voidsetDirect(boolean direct)
Sets the value of field 'direct'.
voidsetGetMethod(String getMethod)
Sets the value of field 'getMethod'.
voidsetHandler(String handler)
Sets the value of field 'handler'.
voidsetHasMethod(String hasMethod)
Sets the value of field 'hasMethod'.
voidsetIdentity(boolean identity)
Sets the value of field 'identity'.
voidsetLazy(boolean lazy)
Sets the value of field 'lazy'.
voidsetLdap(Ldap ldap)
Sets the value of field 'ldap'.
voidsetName(String name)
Sets the value of field 'name'.
voidsetRequired(boolean required)
Sets the value of field 'required'.
voidsetSetMethod(String setMethod)
Sets the value of field 'setMethod'.
voidsetSql(Sql sql)
Sets the value of field 'sql'.
voidsetTransient(boolean _transient)
Sets the value of field 'transient'.
voidsetType(String type)
Sets the value of field 'type'.
static FieldMappingunmarshal(Reader reader)
Method unmarshal
voidvalidate()
Method validate

Constructor Detail

FieldMapping

public FieldMapping()

Method Detail

deleteContainer

public void deleteContainer()
Method deleteContainer

deleteDirect

public void deleteDirect()
Method deleteDirect

deleteIdentity

public void deleteIdentity()
Method deleteIdentity

deleteLazy

public void deleteLazy()
Method deleteLazy

deleteRequired

public void deleteRequired()
Method deleteRequired

deleteTransient

public void deleteTransient()
Method deleteTransient

getBindXml

public BindXml getBindXml()
Returns the value of field 'bindXml'. The field 'bindXml' has the following description: The 'bind-xml' element is used for specifying XML specific databinding properties and behavior for a specific field. 'bind-xml' may only appear as a child of a 'field' element.

Returns: BindXml the value of field 'bindXml'.

getCollection

public FieldMappingCollectionType getCollection()
Returns the value of field 'collection'.

Returns: FieldMappingCollectionType the value of field 'collection'.

getComparator

public String getComparator()
Returns the value of field 'comparator'.

Returns: String the value of field 'comparator'.

getContainer

public boolean getContainer()
Returns the value of field 'container'.

Returns: boolean the value of field 'container'.

getCreateMethod

public String getCreateMethod()
Returns the value of field 'createMethod'.

Returns: String the value of field 'createMethod'.

getDescription

public String getDescription()
Returns the value of field 'description'.

Returns: String the value of field 'description'.

getDirect

public boolean getDirect()
Returns the value of field 'direct'.

Returns: boolean the value of field 'direct'.

getGetMethod

public String getGetMethod()
Returns the value of field 'getMethod'.

Returns: String the value of field 'getMethod'.

getHandler

public String getHandler()
Returns the value of field 'handler'.

Returns: String the value of field 'handler'.

getHasMethod

public String getHasMethod()
Returns the value of field 'hasMethod'.

Returns: String the value of field 'hasMethod'.

getIdentity

public boolean getIdentity()
Returns the value of field 'identity'.

Returns: boolean the value of field 'identity'.

getLazy

public boolean getLazy()
Returns the value of field 'lazy'.

Returns: boolean the value of field 'lazy'.

getLdap

public Ldap getLdap()
Returns the value of field 'ldap'.

Returns: Ldap the value of field 'ldap'.

getName

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

Returns: String the value of field 'name'.

getRequired

public boolean getRequired()
Returns the value of field 'required'.

Returns: boolean the value of field 'required'.

getSetMethod

public String getSetMethod()
Returns the value of field 'setMethod'.

Returns: String the value of field 'setMethod'.

getSql

public Sql getSql()
Returns the value of field 'sql'.

Returns: Sql the value of field 'sql'.

getTransient

public boolean getTransient()
Returns the value of field 'transient'.

Returns: boolean the value of field 'transient'.

getType

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

Returns: String the value of field 'type'.

hasContainer

public boolean hasContainer()
Method hasContainer

Returns: boolean

hasDirect

public boolean hasDirect()
Method hasDirect

Returns: boolean

hasIdentity

public boolean hasIdentity()
Method hasIdentity

Returns: boolean

hasLazy

public boolean hasLazy()
Method hasLazy

Returns: boolean

hasRequired

public boolean hasRequired()
Method hasRequired

Returns: boolean

hasTransient

public boolean hasTransient()
Method hasTransient

Returns: boolean

isValid

public boolean isValid()
Method isValid

Returns: boolean

marshal

public void marshal(Writer out)
Method marshal

Parameters: out

marshal

public void marshal(ContentHandler handler)
Method marshal

Parameters: handler

setBindXml

public void setBindXml(BindXml bindXml)
Sets the value of field 'bindXml'. The field 'bindXml' has the following description: The 'bind-xml' element is used for specifying XML specific databinding properties and behavior for a specific field. 'bind-xml' may only appear as a child of a 'field' element.

Parameters: bindXml the value of field 'bindXml'.

setCollection

public void setCollection(FieldMappingCollectionType collection)
Sets the value of field 'collection'.

Parameters: collection the value of field 'collection'.

setComparator

public void setComparator(String comparator)
Sets the value of field 'comparator'.

Parameters: comparator the value of field 'comparator'.

setContainer

public void setContainer(boolean container)
Sets the value of field 'container'.

Parameters: container the value of field 'container'.

setCreateMethod

public void setCreateMethod(String createMethod)
Sets the value of field 'createMethod'.

Parameters: createMethod the value of field 'createMethod'.

setDescription

public void setDescription(String description)
Sets the value of field 'description'.

Parameters: description the value of field 'description'.

setDirect

public void setDirect(boolean direct)
Sets the value of field 'direct'.

Parameters: direct the value of field 'direct'.

setGetMethod

public void setGetMethod(String getMethod)
Sets the value of field 'getMethod'.

Parameters: getMethod the value of field 'getMethod'.

setHandler

public void setHandler(String handler)
Sets the value of field 'handler'.

Parameters: handler the value of field 'handler'.

setHasMethod

public void setHasMethod(String hasMethod)
Sets the value of field 'hasMethod'.

Parameters: hasMethod the value of field 'hasMethod'.

setIdentity

public void setIdentity(boolean identity)
Sets the value of field 'identity'.

Parameters: identity the value of field 'identity'.

setLazy

public void setLazy(boolean lazy)
Sets the value of field 'lazy'.

Parameters: lazy the value of field 'lazy'.

setLdap

public void setLdap(Ldap ldap)
Sets the value of field 'ldap'.

Parameters: ldap the value of field 'ldap'.

setName

public void setName(String name)
Sets the value of field 'name'.

Parameters: name the value of field 'name'.

setRequired

public void setRequired(boolean required)
Sets the value of field 'required'.

Parameters: required the value of field 'required'.

setSetMethod

public void setSetMethod(String setMethod)
Sets the value of field 'setMethod'.

Parameters: setMethod the value of field 'setMethod'.

setSql

public void setSql(Sql sql)
Sets the value of field 'sql'.

Parameters: sql the value of field 'sql'.

setTransient

public void setTransient(boolean _transient)
Sets the value of field 'transient'.

Parameters: _transient transient the value of field 'transient'.

setType

public void setType(String type)
Sets the value of field 'type'.

Parameters: type the value of field 'type'.

unmarshal

public static FieldMapping unmarshal(Reader reader)
Method unmarshal

Parameters: reader

Returns: FieldMapping

validate

public void validate()
Method validate
Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com