|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.mapping.xml.ClassMapping
public class ClassMapping
Class ClassMapping.
Constructor Summary | |
---|---|
ClassMapping()
|
Method Summary | |
---|---|
void |
addIdentity(int index,
java.lang.String vIdentity)
Method addIdentity |
void |
addIdentity(java.lang.String vIdentity)
Method addIdentity |
void |
addNamedQuery(int index,
NamedQuery vNamedQuery)
Method addNamedQuery |
void |
addNamedQuery(NamedQuery vNamedQuery)
Method addNamedQuery |
void |
clearIdentity()
Method clearIdentity |
void |
clearNamedQuery()
Method clearNamedQuery |
void |
deleteAutoComplete()
Method deleteAutoComplete |
void |
deleteVerifyConstructable()
Method deleteVerifyConstructable |
java.util.Enumeration |
enumerateIdentity()
Method enumerateIdentity |
java.util.Enumeration |
enumerateNamedQuery()
Method enumerateNamedQuery |
ClassMappingAccessType |
getAccess()
Returns the value of field 'access'. |
boolean |
getAutoComplete()
Returns the value of field 'autoComplete'. |
CacheTypeMapping |
getCacheTypeMapping()
Returns the value of field 'cacheTypeMapping'. |
ClassChoice |
getClassChoice()
Returns the value of field 'classChoice'. |
java.lang.Object |
getDepends()
Returns the value of field 'depends'. |
java.lang.String |
getDescription()
Returns the value of field 'description'. |
java.lang.Object |
getExtends()
Returns the value of field 'extends'. |
java.lang.String[] |
getIdentity()
Method getIdentity |
java.lang.String |
getIdentity(int index)
Method getIdentity |
int |
getIdentityCount()
Method getIdentityCount |
java.lang.String |
getKeyGenerator()
Returns the value of field 'keyGenerator'. |
MapTo |
getMapTo()
Returns the value of field 'mapTo'. |
java.lang.String |
getName()
Returns the value of field 'name'. |
NamedQuery[] |
getNamedQuery()
Method getNamedQuery |
NamedQuery |
getNamedQuery(int index)
Method getNamedQuery |
int |
getNamedQueryCount()
Method getNamedQueryCount |
boolean |
getVerifyConstructable()
Returns the value of field 'verifyConstructable'. |
boolean |
hasAutoComplete()
Method hasAutoComplete |
boolean |
hasVerifyConstructable()
Method hasVerifyConstructable |
boolean |
isValid()
Method isValid |
void |
marshal(org.xml.sax.ContentHandler handler)
Method marshal |
void |
marshal(java.io.Writer out)
Method marshal |
boolean |
removeIdentity(java.lang.String vIdentity)
Method removeIdentity |
boolean |
removeNamedQuery(NamedQuery vNamedQuery)
Method removeNamedQuery |
void |
setAccess(ClassMappingAccessType access)
Sets the value of field 'access'. |
void |
setAutoComplete(boolean autoComplete)
Sets the value of field 'autoComplete'. |
void |
setCacheTypeMapping(CacheTypeMapping cacheTypeMapping)
Sets the value of field 'cacheTypeMapping'. |
void |
setClassChoice(ClassChoice classChoice)
Sets the value of field 'classChoice'. |
void |
setDepends(java.lang.Object depends)
Sets the value of field 'depends'. |
void |
setDescription(java.lang.String description)
Sets the value of field 'description'. |
void |
setExtends(java.lang.Object _extends)
Sets the value of field 'extends'. |
void |
setIdentity(int index,
java.lang.String vIdentity)
Method setIdentity |
void |
setIdentity(java.lang.String[] identityArray)
Method setIdentity |
void |
setKeyGenerator(java.lang.String keyGenerator)
Sets the value of field 'keyGenerator'. |
void |
setMapTo(MapTo mapTo)
Sets the value of field 'mapTo'. |
void |
setName(java.lang.String name)
Sets the value of field 'name'. |
void |
setNamedQuery(int index,
NamedQuery vNamedQuery)
Method setNamedQuery |
void |
setNamedQuery(NamedQuery[] namedQueryArray)
Method setNamedQuery |
void |
setVerifyConstructable(boolean verifyConstructable)
Sets the value of field 'verifyConstructable'. |
static ClassMapping |
unmarshal(java.io.Reader reader)
Method unmarshal |
void |
validate()
Method validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassMapping()
Method Detail |
---|
public void addIdentity(java.lang.String vIdentity) throws java.lang.IndexOutOfBoundsException
vIdentity
-
java.lang.IndexOutOfBoundsException
public void addIdentity(int index, java.lang.String vIdentity) throws java.lang.IndexOutOfBoundsException
index
- vIdentity
-
java.lang.IndexOutOfBoundsException
public void addNamedQuery(NamedQuery vNamedQuery) throws java.lang.IndexOutOfBoundsException
vNamedQuery
-
java.lang.IndexOutOfBoundsException
public void addNamedQuery(int index, NamedQuery vNamedQuery) throws java.lang.IndexOutOfBoundsException
index
- vNamedQuery
-
java.lang.IndexOutOfBoundsException
public void clearIdentity()
public void clearNamedQuery()
public void deleteAutoComplete()
public void deleteVerifyConstructable()
public java.util.Enumeration enumerateIdentity()
public java.util.Enumeration enumerateNamedQuery()
public ClassMappingAccessType getAccess()
public boolean getAutoComplete()
public CacheTypeMapping getCacheTypeMapping()
public ClassChoice getClassChoice()
public java.lang.Object getDepends()
public java.lang.String getDescription()
public java.lang.Object getExtends()
public java.lang.String getIdentity(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public java.lang.String[] getIdentity()
public int getIdentityCount()
public java.lang.String getKeyGenerator()
public MapTo getMapTo()
public java.lang.String getName()
public NamedQuery getNamedQuery(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
public NamedQuery[] getNamedQuery()
public int getNamedQueryCount()
public boolean getVerifyConstructable()
public boolean hasAutoComplete()
public boolean hasVerifyConstructable()
public boolean isValid()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
-
MarshalException
ValidationException
public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
-
java.io.IOException
MarshalException
ValidationException
public boolean removeIdentity(java.lang.String vIdentity)
vIdentity
-
public boolean removeNamedQuery(NamedQuery vNamedQuery)
vNamedQuery
-
public void setAccess(ClassMappingAccessType access)
access
- the value of field 'access'.public void setAutoComplete(boolean autoComplete)
autoComplete
- the value of field 'autoComplete'.public void setCacheTypeMapping(CacheTypeMapping cacheTypeMapping)
cacheTypeMapping
- the value of field 'cacheTypeMapping'public void setClassChoice(ClassChoice classChoice)
classChoice
- the value of field 'classChoice'.public void setDepends(java.lang.Object depends)
depends
- the value of field 'depends'.public void setDescription(java.lang.String description)
description
- the value of field 'description'.public void setExtends(java.lang.Object _extends)
_extends
- extends
- the value of field 'extends'.public void setIdentity(int index, java.lang.String vIdentity) throws java.lang.IndexOutOfBoundsException
index
- vIdentity
-
java.lang.IndexOutOfBoundsException
public void setIdentity(java.lang.String[] identityArray)
identityArray
- public void setKeyGenerator(java.lang.String keyGenerator)
keyGenerator
- the value of field 'keyGenerator'.public void setMapTo(MapTo mapTo)
mapTo
- the value of field 'mapTo'.public void setName(java.lang.String name)
name
- the value of field 'name'.public void setNamedQuery(int index, NamedQuery vNamedQuery) throws java.lang.IndexOutOfBoundsException
index
- vNamedQuery
-
java.lang.IndexOutOfBoundsException
public void setNamedQuery(NamedQuery[] namedQueryArray)
namedQueryArray
- public void setVerifyConstructable(boolean verifyConstructable)
verifyConstructable
- the value of field
'verifyConstructable'.public static ClassMapping unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
reader
-
MarshalException
ValidationException
public void validate() throws ValidationException
ValidationException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |