Package org.glassfish.hk2.xml.internal
Class ModelImpl
java.lang.Object
org.glassfish.hk2.xml.internal.ModelImpl
- All Implemented Interfaces:
Serializable,Model
This model is a description of the children and non-children nodes
of a Bean. It contains only Strings or other easy to constructs
structures so that it can be added to the proxy at build time
and hence save some reflection at runtime
- Author:
- jwells
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(String childInterface, String namespace, String xmlTag, String xmlAlias, ChildType childType, String givenDefault, AliasType aliased, String childWrapperTag, String adapter, boolean required, String originalMethodName) voidaddNonChild(String namespace, String xmlTag, String defaultValue, String childType, String childListType, boolean isReference, Format format, AliasType aliasType, String aliasOf, boolean required, String originalMethodName) voidaddNonChild(QName qName, String defaultValue, String childType, String childListType, boolean isReference, Format format, AliasType aliasType, String aliasOf, boolean required, String originalMethodName) booleangetChildDescriptor(QName xmlTag) getDefaultChildValue(String propNamespace, String propName) getJavaNameFromKey(String key, ClassReflectionHelper reflectionHelper) getModelPropertyType(String propNamespace, String propName) Class<?>getNonChildType(String propNamespace, String propName) Class<?>Class<?>Gets the class of the proxy for this beaninthashCode()voidsetJAUtilities(JAUtilities jaUtilities, ClassLoader myLoader) voidsetKeyProperty(String keyNamespace, String keyProperty) voidsetKeyProperty(QName qName) voidsetRootName(String rootNamespace, String rootName) voidsetRootName(QName root) toString()
-
Constructor Details
-
ModelImpl
public ModelImpl() -
ModelImpl
-
-
Method Details
-
setRootName
-
setRootName
-
setKeyProperty
-
setKeyProperty
-
addChild
-
addNonChild
-
addNonChild
-
getOriginalInterface
- Specified by:
getOriginalInterfacein interfaceModel- Returns:
- the originalInterface
-
getTranslatedClass
- Specified by:
getTranslatedClassin interfaceModel- Returns:
- the translatedClass
-
getRootName
- Specified by:
getRootNamein interfaceModel- Returns:
- the rootName
-
getKeyProperty
- Specified by:
getKeyPropertyin interfaceModel- Returns:
- the keyProperty
-
getChildrenByName
-
getNonChildProperties
-
getAllChildrenDescriptors
-
getValuePropertyNamespace
-
getValueProperty
-
getValueData
-
getAllXmlWrappers
-
getChildDescriptor
-
getUnKeyedChildren
-
getKeyedChildren
-
setJAUtilities
-
getDefaultChildValue
-
getModelPropertyType
-
getNonChildType
-
getChild
-
getOriginalInterfaceAsClass
- Specified by:
getOriginalInterfaceAsClassin interfaceModel- Returns:
- the original interface as a class
-
getProxyAsClass
Description copied from interface:ModelGets the class of the proxy for this bean- Specified by:
getProxyAsClassin interfaceModel- Returns:
- The class of the generated proxy
-
getAllChildren
-
getChildrenProperties
-
getAllAttributeChildren
-
getAllElementChildren
-
getJavaNameFromKey
-
hashCode
public int hashCode() -
equals
-
toString
-