java.io.Serializable
public class ClassMapping
extends java.lang.Object
implements java.io.Serializable
Constructor | Description |
---|---|
ClassMapping() |
Modifier and Type | Method | Description |
---|---|---|
void |
addIdentity(int index,
java.lang.String vIdentity) |
|
void |
addIdentity(java.lang.String vIdentity) |
|
void |
addNamedNativeQuery(int index,
NamedNativeQuery vNamedNativeQuery) |
|
void |
addNamedNativeQuery(NamedNativeQuery vNamedNativeQuery) |
|
void |
addNamedQuery(int index,
NamedQuery vNamedQuery) |
|
void |
addNamedQuery(NamedQuery vNamedQuery) |
|
void |
deleteAutoComplete() |
|
void |
deleteVerifyConstructable() |
|
java.util.Enumeration<? extends java.lang.String> |
enumerateIdentity() |
Method enumerateIdentity.
|
java.util.Enumeration<? extends NamedNativeQuery> |
enumerateNamedNativeQuery() |
Method enumerateNamedNativeQuery.
|
java.util.Enumeration<? extends NamedQuery> |
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.Returns the contents of the collection in
an Array.
|
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'.
|
NamedNativeQuery[] |
getNamedNativeQuery() |
Method getNamedNativeQuery.Returns the contents of the
collection in an Array.
|
NamedNativeQuery |
getNamedNativeQuery(int index) |
Method getNamedNativeQuery.
|
int |
getNamedNativeQueryCount() |
Method getNamedNativeQueryCount.
|
NamedQuery[] |
getNamedQuery() |
Method getNamedQuery.Returns the contents of the collection
in an Array.
|
NamedQuery |
getNamedQuery(int index) |
Method getNamedQuery.
|
int |
getNamedQueryCount() |
Method getNamedQueryCount.
|
boolean |
getVerifyConstructable() |
Returns the value of field 'verifyConstructable'.
|
java.lang.String |
getVersion() |
Returns the value of field 'version'.
|
boolean |
hasAutoComplete() |
Method hasAutoComplete.
|
boolean |
hasVerifyConstructable() |
Method hasVerifyConstructable.
|
boolean |
isAutoComplete() |
Returns the value of field 'autoComplete'.
|
boolean |
isValid() |
Method isValid.
|
boolean |
isVerifyConstructable() |
Returns the value of field 'verifyConstructable'.
|
java.util.Iterator<? extends java.lang.String> |
iterateIdentity() |
Method iterateIdentity.
|
java.util.Iterator<? extends NamedNativeQuery> |
iterateNamedNativeQuery() |
Method iterateNamedNativeQuery.
|
java.util.Iterator<? extends NamedQuery> |
iterateNamedQuery() |
Method iterateNamedQuery.
|
void |
marshal(java.io.Writer out) |
|
void |
marshal(org.xml.sax.ContentHandler handler) |
|
void |
removeAllIdentity() |
|
void |
removeAllNamedNativeQuery() |
|
void |
removeAllNamedQuery() |
|
boolean |
removeIdentity(java.lang.String vIdentity) |
Method removeIdentity.
|
java.lang.String |
removeIdentityAt(int index) |
Method removeIdentityAt.
|
boolean |
removeNamedNativeQuery(NamedNativeQuery vNamedNativeQuery) |
Method removeNamedNativeQuery.
|
NamedNativeQuery |
removeNamedNativeQueryAt(int index) |
Method removeNamedNativeQueryAt.
|
boolean |
removeNamedQuery(NamedQuery vNamedQuery) |
Method removeNamedQuery.
|
NamedQuery |
removeNamedQueryAt(int index) |
Method removeNamedQueryAt.
|
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) |
|
void |
setIdentity(java.lang.String[] vIdentityArray) |
|
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 |
setNamedNativeQuery(int index,
NamedNativeQuery vNamedNativeQuery) |
|
void |
setNamedNativeQuery(NamedNativeQuery[] vNamedNativeQueryArray) |
|
void |
setNamedQuery(int index,
NamedQuery vNamedQuery) |
|
void |
setNamedQuery(NamedQuery[] vNamedQueryArray) |
|
void |
setVerifyConstructable(boolean verifyConstructable) |
Sets the value of field 'verifyConstructable'.
|
void |
setVersion(java.lang.String version) |
Sets the value of field 'version'.
|
static ClassMapping |
unmarshal(java.io.Reader reader) |
Method unmarshal.
|
void |
validate() |
public void addIdentity(java.lang.String vIdentity) throws java.lang.IndexOutOfBoundsException
vIdentity
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addIdentity(int index, java.lang.String vIdentity) throws java.lang.IndexOutOfBoundsException
index
- vIdentity
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addNamedNativeQuery(NamedNativeQuery vNamedNativeQuery) throws java.lang.IndexOutOfBoundsException
vNamedNativeQuery
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addNamedNativeQuery(int index, NamedNativeQuery vNamedNativeQuery) throws java.lang.IndexOutOfBoundsException
index
- vNamedNativeQuery
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addNamedQuery(NamedQuery vNamedQuery) throws java.lang.IndexOutOfBoundsException
vNamedQuery
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addNamedQuery(int index, NamedQuery vNamedQuery) throws java.lang.IndexOutOfBoundsException
index
- vNamedQuery
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void deleteAutoComplete()
public void deleteVerifyConstructable()
public java.util.Enumeration<? extends java.lang.String> enumerateIdentity()
public java.util.Enumeration<? extends NamedNativeQuery> enumerateNamedNativeQuery()
public java.util.Enumeration<? extends NamedQuery> 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
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getIdentity()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getIdentityCount()
public java.lang.String getKeyGenerator()
public MapTo getMapTo()
public java.lang.String getName()
public NamedNativeQuery getNamedNativeQuery(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic NamedNativeQuery[] getNamedNativeQuery()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getNamedNativeQueryCount()
public NamedQuery getNamedQuery(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic NamedQuery[] getNamedQuery()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getNamedQueryCount()
public boolean getVerifyConstructable()
public java.lang.String getVersion()
public boolean hasAutoComplete()
public boolean hasVerifyConstructable()
public boolean isAutoComplete()
public boolean isValid()
public boolean isVerifyConstructable()
public java.util.Iterator<? extends java.lang.String> iterateIdentity()
public java.util.Iterator<? extends NamedNativeQuery> iterateNamedNativeQuery()
public java.util.Iterator<? extends NamedQuery> iterateNamedQuery()
public void marshal(java.io.Writer out) throws MarshalException, ValidationException
out
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, MarshalException, ValidationException
handler
- java.io.IOException
- if an IOException occurs during
marshalingValidationException
- if this
object is an invalid instance according to the schemaMarshalException
- if object is
null or if any SAXException is thrown during marshalingpublic void removeAllIdentity()
public void removeAllNamedNativeQuery()
public void removeAllNamedQuery()
public boolean removeIdentity(java.lang.String vIdentity)
vIdentity
- public java.lang.String removeIdentityAt(int index)
index
- public boolean removeNamedNativeQuery(NamedNativeQuery vNamedNativeQuery)
vNamedNativeQuery
- public NamedNativeQuery removeNamedNativeQueryAt(int index)
index
- public boolean removeNamedQuery(NamedQuery vNamedQuery)
vNamedQuery
- public NamedQuery removeNamedQueryAt(int index)
index
- 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
- if the index
given is outside the bounds of the collectionpublic void setIdentity(java.lang.String[] vIdentityArray)
vIdentityArray
- 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 setNamedNativeQuery(int index, NamedNativeQuery vNamedNativeQuery) throws java.lang.IndexOutOfBoundsException
index
- vNamedNativeQuery
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setNamedNativeQuery(NamedNativeQuery[] vNamedNativeQueryArray)
vNamedNativeQueryArray
- public void setNamedQuery(int index, NamedQuery vNamedQuery) throws java.lang.IndexOutOfBoundsException
index
- vNamedQuery
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setNamedQuery(NamedQuery[] vNamedQueryArray)
vNamedQueryArray
- public void setVerifyConstructable(boolean verifyConstructable)
verifyConstructable
- the value of field
'verifyConstructable'.public void setVersion(java.lang.String version)
version
- the value of field 'version'.public static ClassMapping unmarshal(java.io.Reader reader) throws MarshalException, ValidationException
reader
- MarshalException
- if object is
null or if any SAXException is thrown during marshalingValidationException
- if this
object is an invalid instance according to the schemapublic void validate() throws ValidationException
ValidationException
- if this
object is an invalid instance according to the schemaIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com