org.exolab.castor.mapping.xml

Class ClassMapping

public class ClassMapping extends Object implements Serializable

Class ClassMapping.

Version: $Revision: 6104 $ $Date: 2006-01-07 15:48:31 -0700 (Sat, 07 Jan 2006) $

Constructor Summary
ClassMapping()
Method Summary
voidaddIdentity(String vIdentity)
Method addIdentity
voidaddIdentity(int index, String vIdentity)
Method addIdentity
voidaddNamedQuery(NamedQuery vNamedQuery)
Method addNamedQuery
voidaddNamedQuery(int index, NamedQuery vNamedQuery)
Method addNamedQuery
voidclearIdentity()
Method clearIdentity
voidclearNamedQuery()
Method clearNamedQuery
voiddeleteAutoComplete()
Method deleteAutoComplete
voiddeleteVerifyConstructable()
Method deleteVerifyConstructable
EnumerationenumerateIdentity()
Method enumerateIdentity
EnumerationenumerateNamedQuery()
Method enumerateNamedQuery
ClassMappingAccessTypegetAccess()
Returns the value of field 'access'.
booleangetAutoComplete()
Returns the value of field 'autoComplete'.
CacheTypeMappinggetCacheTypeMapping()
Returns the value of field 'cacheTypeMapping'.
ClassChoicegetClassChoice()
Returns the value of field 'classChoice'.
ObjectgetDepends()
Returns the value of field 'depends'.
StringgetDescription()
Returns the value of field 'description'.
ObjectgetExtends()
Returns the value of field 'extends'.
StringgetIdentity(int index)
Method getIdentity
String[]getIdentity()
Method getIdentity
intgetIdentityCount()
Method getIdentityCount
StringgetKeyGenerator()
Returns the value of field 'keyGenerator'.
MapTogetMapTo()
Returns the value of field 'mapTo'.
StringgetName()
Returns the value of field 'name'.
NamedQuerygetNamedQuery(int index)
Method getNamedQuery
NamedQuery[]getNamedQuery()
Method getNamedQuery
intgetNamedQueryCount()
Method getNamedQueryCount
booleangetVerifyConstructable()
Returns the value of field 'verifyConstructable'.
booleanhasAutoComplete()
Method hasAutoComplete
booleanhasVerifyConstructable()
Method hasVerifyConstructable
booleanisValid()
Method isValid
voidmarshal(Writer out)
Method marshal
voidmarshal(ContentHandler handler)
Method marshal
booleanremoveIdentity(String vIdentity)
Method removeIdentity
booleanremoveNamedQuery(NamedQuery vNamedQuery)
Method removeNamedQuery
voidsetAccess(ClassMappingAccessType access)
Sets the value of field 'access'.
voidsetAutoComplete(boolean autoComplete)
Sets the value of field 'autoComplete'.
voidsetCacheTypeMapping(CacheTypeMapping cacheTypeMapping)
Sets the value of field 'cacheTypeMapping'.
voidsetClassChoice(ClassChoice classChoice)
Sets the value of field 'classChoice'.
voidsetDepends(Object depends)
Sets the value of field 'depends'.
voidsetDescription(String description)
Sets the value of field 'description'.
voidsetExtends(Object _extends)
Sets the value of field 'extends'.
voidsetIdentity(int index, String vIdentity)
Method setIdentity
voidsetIdentity(String[] identityArray)
Method setIdentity
voidsetKeyGenerator(String keyGenerator)
Sets the value of field 'keyGenerator'.
voidsetMapTo(MapTo mapTo)
Sets the value of field 'mapTo'.
voidsetName(String name)
Sets the value of field 'name'.
voidsetNamedQuery(int index, NamedQuery vNamedQuery)
Method setNamedQuery
voidsetNamedQuery(NamedQuery[] namedQueryArray)
Method setNamedQuery
voidsetVerifyConstructable(boolean verifyConstructable)
Sets the value of field 'verifyConstructable'.
static ClassMappingunmarshal(Reader reader)
Method unmarshal
voidvalidate()
Method validate

Constructor Detail

ClassMapping

public ClassMapping()

Method Detail

addIdentity

public void addIdentity(String vIdentity)
Method addIdentity

Parameters: vIdentity

addIdentity

public void addIdentity(int index, String vIdentity)
Method addIdentity

Parameters: index vIdentity

addNamedQuery

public void addNamedQuery(NamedQuery vNamedQuery)
Method addNamedQuery

Parameters: vNamedQuery

addNamedQuery

public void addNamedQuery(int index, NamedQuery vNamedQuery)
Method addNamedQuery

Parameters: index vNamedQuery

clearIdentity

public void clearIdentity()
Method clearIdentity

clearNamedQuery

public void clearNamedQuery()
Method clearNamedQuery

deleteAutoComplete

public void deleteAutoComplete()
Method deleteAutoComplete

deleteVerifyConstructable

public void deleteVerifyConstructable()
Method deleteVerifyConstructable

enumerateIdentity

public Enumeration enumerateIdentity()
Method enumerateIdentity

Returns: Enumeration

enumerateNamedQuery

public Enumeration enumerateNamedQuery()
Method enumerateNamedQuery

Returns: Enumeration

getAccess

public ClassMappingAccessType getAccess()
Returns the value of field 'access'.

Returns: ClassMappingAccessType the value of field 'access'.

getAutoComplete

public boolean getAutoComplete()
Returns the value of field 'autoComplete'.

Returns: boolean the value of field 'autoComplete'.

getCacheTypeMapping

public CacheTypeMapping getCacheTypeMapping()
Returns the value of field 'cacheTypeMapping'.

Returns: CacheTypeMapping the value of field 'cacheTypeMapping'.

getClassChoice

public ClassChoice getClassChoice()
Returns the value of field 'classChoice'.

Returns: ClassChoice the value of field 'classChoice'.

getDepends

public Object getDepends()
Returns the value of field 'depends'.

Returns: Object the value of field 'depends'.

getDescription

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

Returns: String the value of field 'description'.

getExtends

public Object getExtends()
Returns the value of field 'extends'.

Returns: Object the value of field 'extends'.

getIdentity

public String getIdentity(int index)
Method getIdentity

Parameters: index

Returns: String

getIdentity

public String[] getIdentity()
Method getIdentity

Returns: String

getIdentityCount

public int getIdentityCount()
Method getIdentityCount

Returns: int

getKeyGenerator

public String getKeyGenerator()
Returns the value of field 'keyGenerator'.

Returns: String the value of field 'keyGenerator'.

getMapTo

public MapTo getMapTo()
Returns the value of field 'mapTo'.

Returns: MapTo the value of field 'mapTo'.

getName

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

Returns: String the value of field 'name'.

getNamedQuery

public NamedQuery getNamedQuery(int index)
Method getNamedQuery

Parameters: index

Returns: NamedQuery

getNamedQuery

public NamedQuery[] getNamedQuery()
Method getNamedQuery

Returns: NamedQuery

getNamedQueryCount

public int getNamedQueryCount()
Method getNamedQueryCount

Returns: int

getVerifyConstructable

public boolean getVerifyConstructable()
Returns the value of field 'verifyConstructable'.

Returns: boolean the value of field 'verifyConstructable'.

hasAutoComplete

public boolean hasAutoComplete()
Method hasAutoComplete

Returns: boolean

hasVerifyConstructable

public boolean hasVerifyConstructable()
Method hasVerifyConstructable

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

removeIdentity

public boolean removeIdentity(String vIdentity)
Method removeIdentity

Parameters: vIdentity

Returns: boolean

removeNamedQuery

public boolean removeNamedQuery(NamedQuery vNamedQuery)
Method removeNamedQuery

Parameters: vNamedQuery

Returns: boolean

setAccess

public void setAccess(ClassMappingAccessType access)
Sets the value of field 'access'.

Parameters: access the value of field 'access'.

setAutoComplete

public void setAutoComplete(boolean autoComplete)
Sets the value of field 'autoComplete'.

Parameters: autoComplete the value of field 'autoComplete'.

setCacheTypeMapping

public void setCacheTypeMapping(CacheTypeMapping cacheTypeMapping)
Sets the value of field 'cacheTypeMapping'.

Parameters: cacheTypeMapping the value of field 'cacheTypeMapping'

setClassChoice

public void setClassChoice(ClassChoice classChoice)
Sets the value of field 'classChoice'.

Parameters: classChoice the value of field 'classChoice'.

setDepends

public void setDepends(Object depends)
Sets the value of field 'depends'.

Parameters: depends the value of field 'depends'.

setDescription

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

Parameters: description the value of field 'description'.

setExtends

public void setExtends(Object _extends)
Sets the value of field 'extends'.

Parameters: _extends extends the value of field 'extends'.

setIdentity

public void setIdentity(int index, String vIdentity)
Method setIdentity

Parameters: index vIdentity

setIdentity

public void setIdentity(String[] identityArray)
Method setIdentity

Parameters: identityArray

setKeyGenerator

public void setKeyGenerator(String keyGenerator)
Sets the value of field 'keyGenerator'.

Parameters: keyGenerator the value of field 'keyGenerator'.

setMapTo

public void setMapTo(MapTo mapTo)
Sets the value of field 'mapTo'.

Parameters: mapTo the value of field 'mapTo'.

setName

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

Parameters: name the value of field 'name'.

setNamedQuery

public void setNamedQuery(int index, NamedQuery vNamedQuery)
Method setNamedQuery

Parameters: index vNamedQuery

setNamedQuery

public void setNamedQuery(NamedQuery[] namedQueryArray)
Method setNamedQuery

Parameters: namedQueryArray

setVerifyConstructable

public void setVerifyConstructable(boolean verifyConstructable)
Sets the value of field 'verifyConstructable'.

Parameters: verifyConstructable the value of field 'verifyConstructable'.

unmarshal

public static ClassMapping unmarshal(Reader reader)
Method unmarshal

Parameters: reader

Returns: ClassMapping

validate

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