|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.basecmp.core.persistence.util.XmlBeanMetaData
Immutable datacontainer for class XmlBean. Copyright (c) 2004 by Wolfgang Schröder Created on 13.06.2004
| Method Summary | |
boolean |
containsKey(java.lang.String xmlPropertyName)
|
java.lang.String |
getDataType(java.lang.String xmlPropertyName)
Returns the java-type for the given xml-property-name, which was defined by the xml-definition at instantiation. |
java.lang.Object |
getDefaultValue(java.lang.String xmlPropertyName)
Returns the default-value for the given xml-property-name, which was defined by the xml-definition at instantiation. |
static XmlBeanMetaData |
getInstance(java.lang.String xmlBeanDefinition)
Creates and caches an instance of XmlBeanMetaData for the given XML. |
int |
getXmlPropertyCount()
|
boolean |
isArray(java.lang.String xmlPropertyName)
Returns true, if the value for the given xml-property-name may is an array, otherwise false. |
static boolean |
isCached(java.lang.String xmlBeanDefinition)
Returns true, if an instance of XmlBeanMetaData with the given XML, identified by it's hash-value, has already been created and cached, otherwise false. |
boolean |
isInitialized()
Return true, if the instance is fully initialzed, otherwise false. |
boolean |
isNotNull(java.lang.String xmlPropertyName)
Returns true, if the value for the given xml-property-name may not become null, otherwise false. |
java.util.Set |
keySet()
|
void |
postProcess()
This method is used internally by the factory-method and has no functionality after initialization-phase of the bean-instance has been done. |
void |
setDataType(java.lang.String string)
This method is used internally by the factory-method and has no functionality after initialization-phase of the bean-instance has been done. |
void |
setDefaultValue(java.lang.String string)
This method is used internally by the factory-method and has no functionality after initialization-phase of the bean-instance has been done. |
void |
setIsArray(java.lang.String string)
This method is used internally by the factory-method and has no functionality after initialization-phase of the bean-instance has been done. |
void |
setName(java.lang.String string)
This method is used internally by the factory-method and has no functionality after initialization-phase of the bean-instance has been done. |
void |
setNotNull(java.lang.String string)
This method is used internally by the factory-method and has no functionality after initialization-phase of the bean-instance has been done. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public boolean containsKey(java.lang.String xmlPropertyName)
public java.lang.String getDataType(java.lang.String xmlPropertyName)
public java.lang.Object getDefaultValue(java.lang.String xmlPropertyName)
public static XmlBeanMetaData getInstance(java.lang.String xmlBeanDefinition)
xmlBeanDefinition -
java.lang.RuntimeException - Thrown if instantiation has problems reading and/or parsing the
given XML.public int getXmlPropertyCount()
public boolean isArray(java.lang.String xmlPropertyName)
public static boolean isCached(java.lang.String xmlBeanDefinition)
xmlBeanDefinition -
public boolean isInitialized()
public boolean isNotNull(java.lang.String xmlPropertyName)
public java.util.Set keySet()
public void postProcess()
public void setDataType(java.lang.String string)
public void setDefaultValue(java.lang.String string)
public void setIsArray(java.lang.String string)
public void setName(java.lang.String string)
public void setNotNull(java.lang.String string)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||