org.exolab.castor.mapping.xml

Class FieldMapping

Implemented Interfaces:
java.io.Serializable

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

Class FieldMapping.
Version:
$Revision: 6104 $ $Date: 2006-02-14 07:53:50 -0700 (Tue, 14 Feb 2006) $
See Also:
Serialized Form

Constructor Summary

FieldMapping()

Method Summary

void
deleteContainer()
Method deleteContainer
void
deleteDirect()
Method deleteDirect
void
deleteIdentity()
Method deleteIdentity
void
deleteLazy()
Method deleteLazy
void
deleteRequired()
Method deleteRequired
void
deleteTransient()
Method deleteTransient
BindXml
getBindXml()
Returns the value of field 'bindXml'.
FieldMappingCollectionType
getCollection()
Returns the value of field 'collection'.
java.lang.String
getComparator()
Returns the value of field 'comparator'.
boolean
getContainer()
Returns the value of field 'container'.
java.lang.String
getCreateMethod()
Returns the value of field 'createMethod'.
java.lang.String
getDescription()
Returns the value of field 'description'.
boolean
getDirect()
Returns the value of field 'direct'.
java.lang.String
getGetMethod()
Returns the value of field 'getMethod'.
java.lang.String
getHandler()
Returns the value of field 'handler'.
java.lang.String
getHasMethod()
Returns the value of field 'hasMethod'.
boolean
getIdentity()
Returns the value of field 'identity'.
boolean
getLazy()
Returns the value of field 'lazy'.
Ldap
getLdap()
Returns the value of field 'ldap'.
java.lang.String
getName()
Returns the value of field 'name'.
boolean
getRequired()
Returns the value of field 'required'.
java.lang.String
getSetMethod()
Returns the value of field 'setMethod'.
Sql
getSql()
Returns the value of field 'sql'.
boolean
getTransient()
Returns the value of field 'transient'.
java.lang.String
getType()
Returns the value of field 'type'.
boolean
hasContainer()
Method hasContainer
boolean
hasDirect()
Method hasDirect
boolean
hasIdentity()
Method hasIdentity
boolean
hasLazy()
Method hasLazy
boolean
hasRequired()
Method hasRequired
boolean
hasTransient()
Method hasTransient
boolean
isValid()
Method isValid
void
marshal(java.io.Writer out)
Method marshal
void
marshal(org.xml.sax.ContentHandler handler)
Method marshal
void
setBindXml(BindXml bindXml)
Sets the value of field 'bindXml'.
void
setCollection(FieldMappingCollectionType collection)
Sets the value of field 'collection'.
void
setComparator(java.lang.String comparator)
Sets the value of field 'comparator'.
void
setContainer(boolean container)
Sets the value of field 'container'.
void
setCreateMethod(java.lang.String createMethod)
Sets the value of field 'createMethod'.
void
setDescription(java.lang.String description)
Sets the value of field 'description'.
void
setDirect(boolean direct)
Sets the value of field 'direct'.
void
setGetMethod(java.lang.String getMethod)
Sets the value of field 'getMethod'.
void
setHandler(java.lang.String handler)
Sets the value of field 'handler'.
void
setHasMethod(java.lang.String hasMethod)
Sets the value of field 'hasMethod'.
void
setIdentity(boolean identity)
Sets the value of field 'identity'.
void
setLazy(boolean lazy)
Sets the value of field 'lazy'.
void
setLdap(Ldap ldap)
Sets the value of field 'ldap'.
void
setName(java.lang.String name)
Sets the value of field 'name'.
void
setRequired(boolean required)
Sets the value of field 'required'.
void
setSetMethod(java.lang.String setMethod)
Sets the value of field 'setMethod'.
void
setSql(Sql sql)
Sets the value of field 'sql'.
void
setTransient(boolean _transient)
Sets the value of field 'transient'.
void
setType(java.lang.String type)
Sets the value of field 'type'.
static FieldMapping
unmarshal(java.io.Reader reader)
Method unmarshal
void
validate()
Method validate

Constructor Details

FieldMapping

public FieldMapping()

Method Details

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

getCollection

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

getComparator

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

getContainer

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

getCreateMethod

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

getDescription

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

getDirect

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

getGetMethod

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

getHandler

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

getHasMethod

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

getIdentity

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

getLazy

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

getLdap

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

getName

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

getRequired

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

getSetMethod

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

getSql

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

getTransient

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

getType

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

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(java.io.Writer out)
            throws MarshalException,
                   ValidationException
Method marshal
Parameters:
out -

marshal

public void marshal(org.xml.sax.ContentHandler handler)
            throws java.io.IOException,
                   MarshalException,
                   ValidationException
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(java.lang.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(java.lang.String createMethod)
Sets the value of field 'createMethod'.
Parameters:
createMethod - the value of field 'createMethod'.

setDescription

public void setDescription(java.lang.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(java.lang.String getMethod)
Sets the value of field 'getMethod'.
Parameters:
getMethod - the value of field 'getMethod'.

setHandler

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

setHasMethod

public void setHasMethod(java.lang.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(java.lang.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(java.lang.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 -

setType

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

unmarshal

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

validate

public void validate()
            throws ValidationException
Method validate

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