public abstract class BaseHK2JAXBBean extends Object implements XmlHk2ConfigurationBean, Serializable
Modifier and Type | Field and Description |
---|---|
static char |
XML_PATH_SEPARATOR |
Constructor and Description |
---|
BaseHK2JAXBBean()
For JAXB and Serialization
|
Modifier and Type | Method and Description |
---|---|
void |
__activateChange()
Write lock must be held
|
void |
__fixAlias(String propNamespace,
String propName,
String baseName) |
int |
__getAddCost() |
void |
__rollbackChange()
Write lock must be held
|
void |
__setAddCost(int addCost) |
boolean |
_changeInHub(List<PropertyChangeEvent> events,
WriteableBeanDatabase wbd)
Called under write lock
|
boolean |
_changeInHub(String propNamespace,
String propName,
Object propValue,
WriteableBeanDatabase wbd)
Called under write lock
|
Object |
_doAdd(String propNamespace,
String childProperty,
Object rawChild,
String childKey,
int index) |
Object |
_doAdd(String propNamespace,
String childProperty,
Object rawChild,
String childKey,
int index,
boolean changeList) |
Object |
_doRemove(String propNamespace,
String childProperty,
String childKey,
int index,
Object child) |
Object |
_doRemove(String propNamespace,
String childProperty,
String childKey,
int index,
Object child,
boolean changeList) |
boolean |
_doRemoveZ(String propNamespace,
String childProperty,
String childKey,
int index,
Object child) |
Map<String,Object> |
_getBeanLikeMap()
Returns a read-only copy of the
bean-like map corresponding to the current
state of this bean in the default namespace
of the document
|
DynamicChangeInfo<?> |
_getChangeControl()
Gets the change control information for this bean
|
Set<QName> |
_getChildrenXmlTags()
Read lock must be held
|
ClassReflectionHelper |
_getClassReflectionHelper()
Returns the reflection helper for this bean
|
String |
_getInstanceName()
Returns the instance path/name for this object
|
QName |
_getKeyPropertyName()
Returns the name of the property that
returns the key for this bean, or
null if this bean does not have a key
property
|
String |
_getKeyValue()
Returns the key value for this object
|
XmlHk2ConfigurationBean |
_getParent()
Returns the parent of this bean, or null if this
object is the root of the true
|
Object |
_getProperty(QName qName) |
Object |
_getProperty(String propName)
Gets the property with the given name from the
default name space.
|
Object |
_getProperty(String propNamespace,
String propName)
Called by proxy
|
byte |
_getPropertyB(String propNamespace,
String propName)
Called by proxy
|
char |
_getPropertyC(String propNamespace,
String propName)
Called by proxy
|
double |
_getPropertyD(String propNamespace,
String propName)
Called by proxy
|
float |
_getPropertyF(String propNamespace,
String propName)
Called by proxy
|
int |
_getPropertyI(String propNamespace,
String propName)
Called by proxy
|
long |
_getPropertyJ(String propNamespace,
String propName)
Called by proxy
|
short |
_getPropertyS(String propNamespace,
String propName)
Called by proxy
|
boolean |
_getPropertyZ(String propNamespace,
String propName)
Called by proxy
|
Map<QName,Object> |
_getQNameMap() |
XmlRootHandle<?> |
_getRoot()
Gets the root associated with this bean.
|
ActiveDescriptor<?> |
_getSelfDescriptor()
Gets the descriptor with which this service was created.
|
String |
_getSelfNamespace() |
String |
_getSelfXmlTag() |
String |
_getXmlPath()
Returns the XmlPath for this object
|
boolean |
_hasProperty(String propNamespace,
String propName) |
Object |
_invokeCustomizedMethod(String methodName,
Class<?>[] params,
Object[] values) |
byte |
_invokeCustomizedMethodB(String methodName,
Class<?>[] params,
Object[] values) |
char |
_invokeCustomizedMethodC(String methodName,
Class<?>[] params,
Object[] values) |
double |
_invokeCustomizedMethodD(String methodName,
Class<?>[] params,
Object[] values) |
float |
_invokeCustomizedMethodF(String methodName,
Class<?>[] params,
Object[] values) |
int |
_invokeCustomizedMethodI(String methodName,
Class<?>[] params,
Object[] values) |
long |
_invokeCustomizedMethodJ(String methodName,
Class<?>[] params,
Object[] values) |
short |
_invokeCustomizedMethodS(String methodName,
Class<?>[] params,
Object[] values) |
boolean |
_invokeCustomizedMethodZ(String methodName,
Class<?>[] params,
Object[] values) |
boolean |
_isSet(String propName)
Returns true if the given property is explicitly set, false
if the property has not been explicitly set.
|
boolean |
_isSet(String propNamespace,
String propName)
Returns true if the given property is explicitly set, false
if the property has not been explicitly set
|
Object |
_lookupChild(String propName,
String keyValue)
Looks up the child with the given propertyName that has the
given key value.
|
Object |
_lookupChild(String propNamespace,
String propName,
String keyValue)
Looks up the child with the given propertyName that has the
given key value
|
void |
_setActive()
Once this has been set the bean is considered active, and
so defaulting can happen on the bean
|
void |
_setClassReflectionHelper(ClassReflectionHelper helper) |
void |
_setDynamicChangeInfo(XmlRootHandleImpl<?> root,
DynamicChangeInfo<?> change) |
void |
_setDynamicChangeInfo(XmlRootHandleImpl<?> root,
DynamicChangeInfo<?> change,
boolean doXmlPathCalculation)
Once this is set the dynamic change protocol is in effect,
and all paths can be calculated
|
void |
_setInstanceName(String name) |
void |
_setKeyValue(String key) |
void |
_setParent(XmlHk2ConfigurationBean parent)
When this is called all of the parents can be
found and so the namespaces can be determined
|
void |
_setProperty(QName qName,
Object propValue) |
void |
_setProperty(QName qName,
Object propValue,
boolean changeInHub) |
void |
_setProperty(String propName,
Object propValue)
Will set the corresponding property of this bean to the
given value in the default name space.
|
void |
_setProperty(String propNamespace,
String propName,
boolean propValue) |
void |
_setProperty(String propNamespace,
String propName,
byte propValue) |
void |
_setProperty(String propNamespace,
String propName,
char propValue) |
void |
_setProperty(String propNamespace,
String propName,
double propValue) |
void |
_setProperty(String propNamespace,
String propName,
float propValue) |
void |
_setProperty(String propNamespace,
String propName,
int propValue) |
void |
_setProperty(String propNamespace,
String propName,
long propValue) |
void |
_setProperty(String propNamespace,
String propName,
Object propValue)
Will set the corresponding property of this bean to the
given value.
|
void |
_setProperty(String propNamespace,
String propName,
Object propValue,
boolean changeInHub) |
void |
_setProperty(String propNamespace,
String propName,
Object propValue,
boolean changeInHub,
boolean rawSet) |
void |
_setProperty(String propNamespace,
String propName,
short propValue) |
void |
_setSelfDescriptor(ActiveDescriptor<?> selfDescriptor) |
void |
_setSelfXmlTag(String selfNamespace,
String selfXmlTag) |
void |
_shallowCopyFrom(BaseHK2JAXBBean copyMe,
boolean copyReferences)
This copy method ONLY copies non-child and
non-parent and optionally reference fields and so is
not a full copy.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
_getModel
public static final char XML_PATH_SEPARATOR
public void _setProperty(String propName, Object propValue)
XmlHk2ConfigurationBean
_setProperty
in interface XmlHk2ConfigurationBean
propName
- The non-null name of a property on this bean to setpropValue
- The possibly null value the property should take. May
not be null if this property represents some scalar valuepublic void _setProperty(String propNamespace, String propName, Object propValue)
XmlHk2ConfigurationBean
_setProperty
in interface XmlHk2ConfigurationBean
propNamespace
- The non-null name space of this propertypropName
- The non-null name of a property on this bean to setpropValue
- The possibly null value the property should take. May
not be null if this property represents some scalar valuepublic void _setProperty(String propNamespace, String propName, Object propValue, boolean changeInHub)
public void _setProperty(String propNamespace, String propName, Object propValue, boolean changeInHub, boolean rawSet)
public Object _getProperty(String propNamespace, String propName)
_getProperty
in interface XmlHk2ConfigurationBean
propName
- Property of child or non-child element or attributepropNamespace
- the non-null name space namepublic Object _getProperty(String propName)
XmlHk2ConfigurationBean
_getProperty
in interface XmlHk2ConfigurationBean
propName
- The property with the given namepublic boolean _getPropertyZ(String propNamespace, String propName)
propName
- public byte _getPropertyB(String propNamespace, String propName)
propName
- public char _getPropertyC(String propNamespace, String propName)
propName
- public short _getPropertyS(String propNamespace, String propName)
propName
- public int _getPropertyI(String propNamespace, String propName)
propName
- public float _getPropertyF(String propNamespace, String propName)
propName
- public long _getPropertyJ(String propNamespace, String propName)
propName
- public double _getPropertyD(String propNamespace, String propName)
propName
- public Object _lookupChild(String propName, String keyValue)
XmlHk2ConfigurationBean
_lookupChild
in interface XmlHk2ConfigurationBean
propName
- The non-null property name to look forkeyValue
- The non-null keyValue to look forpublic Object _lookupChild(String propNamespace, String propName, String keyValue)
XmlHk2ConfigurationBean
_lookupChild
in interface XmlHk2ConfigurationBean
propNamespace
- The namespace to find the property in.
If null then the default namespacepropName
- The non-null property name to look forkeyValue
- The non-null keyValue to look forpublic Object _doAdd(String propNamespace, String childProperty, Object rawChild, String childKey, int index)
public Object _doAdd(String propNamespace, String childProperty, Object rawChild, String childKey, int index, boolean changeList)
public Object _invokeCustomizedMethod(String methodName, Class<?>[] params, Object[] values)
public int _invokeCustomizedMethodI(String methodName, Class<?>[] params, Object[] values)
public long _invokeCustomizedMethodJ(String methodName, Class<?>[] params, Object[] values)
public boolean _invokeCustomizedMethodZ(String methodName, Class<?>[] params, Object[] values)
public byte _invokeCustomizedMethodB(String methodName, Class<?>[] params, Object[] values)
public char _invokeCustomizedMethodC(String methodName, Class<?>[] params, Object[] values)
public short _invokeCustomizedMethodS(String methodName, Class<?>[] params, Object[] values)
public float _invokeCustomizedMethodF(String methodName, Class<?>[] params, Object[] values)
public double _invokeCustomizedMethodD(String methodName, Class<?>[] params, Object[] values)
public Object _doRemove(String propNamespace, String childProperty, String childKey, int index, Object child)
public Object _doRemove(String propNamespace, String childProperty, String childKey, int index, Object child, boolean changeList)
public boolean _doRemoveZ(String propNamespace, String childProperty, String childKey, int index, Object child)
public Map<String,Object> _getBeanLikeMap()
XmlHk2ConfigurationBean
_getBeanLikeMap
in interface XmlHk2ConfigurationBean
public XmlHk2ConfigurationBean _getParent()
XmlHk2ConfigurationBean
_getParent
in interface XmlHk2ConfigurationBean
public void _setParent(XmlHk2ConfigurationBean parent)
parent
- public String _getSelfNamespace()
public String _getSelfXmlTag()
public String _getXmlPath()
XmlHk2ConfigurationBean
_getXmlPath
in interface XmlHk2ConfigurationBean
public void _setInstanceName(String name)
public String _getInstanceName()
XmlHk2ConfigurationBean
_getInstanceName
in interface XmlHk2ConfigurationBean
public void _setKeyValue(String key)
public QName _getKeyPropertyName()
XmlHk2ConfigurationBean
_getKeyPropertyName
in interface XmlHk2ConfigurationBean
public void _setClassReflectionHelper(ClassReflectionHelper helper)
public String _getKeyValue()
XmlHk2ConfigurationBean
_getKeyValue
in interface XmlHk2ConfigurationBean
public void _setDynamicChangeInfo(XmlRootHandleImpl<?> root, DynamicChangeInfo<?> change)
public void _setDynamicChangeInfo(XmlRootHandleImpl<?> root, DynamicChangeInfo<?> change, boolean doXmlPathCalculation)
change
- The change control objectdoXmlPathCalculation
- if true then this should calculate the xml path at this time
(all the parent information must be correct). If this is false it is assumed that this
is some sort of copy operation where the xmlPath has been pre-calculated and does not
need to be modifiedpublic void _setActive()
public Set<QName> _getChildrenXmlTags()
public void _shallowCopyFrom(BaseHK2JAXBBean copyMe, boolean copyReferences)
copyMe
- The non-null bean to copy FROMpublic boolean _changeInHub(String propNamespace, String propName, Object propValue, WriteableBeanDatabase wbd)
propName
- The name of the property to changepropValue
- The new value of the propertypublic boolean _changeInHub(List<PropertyChangeEvent> events, WriteableBeanDatabase wbd)
propName
- The name of the property to changepropValue
- The new value of the propertypublic DynamicChangeInfo<?> _getChangeControl()
public ClassReflectionHelper _getClassReflectionHelper()
public void _setSelfDescriptor(ActiveDescriptor<?> selfDescriptor)
public ActiveDescriptor<?> _getSelfDescriptor()
XmlHk2ConfigurationBean
_getSelfDescriptor
in interface XmlHk2ConfigurationBean
public void __activateChange()
public void __rollbackChange()
public XmlRootHandle<?> _getRoot()
_getRoot
in interface XmlHk2ConfigurationBean
public boolean _isSet(String propName)
XmlHk2ConfigurationBean
_isSet
in interface XmlHk2ConfigurationBean
propName
- The name of the property to check for being set,
may not be nullpublic boolean _isSet(String propNamespace, String propName)
XmlHk2ConfigurationBean
_isSet
in interface XmlHk2ConfigurationBean
propNamespace
- The namespace to find the property in.
If null then the default namespacepropName
- The name of the property to check for being set,
may not be nullpublic void __setAddCost(int addCost)
public int __getAddCost()
Copyright © 2009–2023 Oracle Corporation. All rights reserved.