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 |
|---|---|
Object |
_doAdd(String childProperty,
Object rawChild,
String childKey,
int index) |
Object |
_doRemove(String childProperty,
String childKey,
int index) |
boolean |
_doRemoveZ(String childProperty,
String childKey,
int index) |
void |
_endMerge(boolean success)
Write lock for tree must be held
|
Map<String,Object> |
_getBeanLikeMap()
Returns a read-only copy of the
bean-like map corresponding to the current
state of this bean
|
DynamicChangeInfo |
_getChangeControl()
Gets the change control information for this bean
|
Set<String> |
_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
|
String |
_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
|
Object |
_getParent()
Returns the parent of this bean, or null if this
object is the root of the true
|
Object |
_getProperty(String propName)
Called by proxy
|
byte |
_getPropertyB(String propName)
Called by proxy
|
char |
_getPropertyC(String propName)
Called by proxy
|
double |
_getPropertyD(String propName)
Called by proxy
|
float |
_getPropertyF(String propName)
Called by proxy
|
int |
_getPropertyI(String propName)
Called by proxy
|
long |
_getPropertyJ(String propName)
Called by proxy
|
short |
_getPropertyS(String propName)
Called by proxy
|
boolean |
_getPropertyZ(String propName)
Called by proxy
|
ActiveDescriptor<?> |
_getSelfDescriptor() |
String |
_getSelfXmlTag() |
String |
_getXmlPath()
Returns the XmlPath for this object
|
boolean |
_hasProperty(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) |
Object |
_lookupChild(String propName,
String keyValue) |
void |
_merge(BaseHK2JAXBBean other,
WriteableBeanDatabase writeableDatabase)
Called with writeLock held
|
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(DynamicChangeInfo change) |
void |
_setDynamicChangeInfo(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(Object parent) |
void |
_setProperty(String propName,
boolean propValue) |
void |
_setProperty(String propName,
byte propValue) |
void |
_setProperty(String propName,
char propValue) |
void |
_setProperty(String propName,
double propValue) |
void |
_setProperty(String propName,
float propValue) |
void |
_setProperty(String propName,
int propValue) |
void |
_setProperty(String propName,
long propValue) |
void |
_setProperty(String propName,
Object propValue) |
void |
_setProperty(String propName,
Object propValue,
boolean changeInHub) |
void |
_setProperty(String propName,
short propValue) |
void |
_setSelfDescriptor(ActiveDescriptor<?> selfDescriptor) |
void |
_setSelfXmlTag(String selfXmlTag) |
void |
_shallowCopyFrom(BaseHK2JAXBBean copyMe)
This copy method ONLY copies NON child and
non parent fields, and so is not a full copy.
|
boolean |
changeInHub(String propName,
Object propValue,
WriteableBeanDatabase wbd)
Called under write lock
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait_getModelpublic static final char XML_PATH_SEPARATOR
public void _setProperty(String propName, byte propValue)
public void _setProperty(String propName, boolean propValue)
public void _setProperty(String propName, char propValue)
public void _setProperty(String propName, short propValue)
public void _setProperty(String propName, int propValue)
public void _setProperty(String propName, float propValue)
public void _setProperty(String propName, long propValue)
public void _setProperty(String propName, double propValue)
public Object _getProperty(String propName)
propName - Property of child or non-child element or attributepublic boolean _getPropertyZ(String propName)
propName - public byte _getPropertyB(String propName)
propName - public char _getPropertyC(String propName)
propName - public short _getPropertyS(String propName)
propName - public int _getPropertyI(String propName)
propName - public float _getPropertyF(String propName)
propName - public long _getPropertyJ(String propName)
propName - public double _getPropertyD(String propName)
propName - 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 boolean _hasProperty(String propName)
public Map<String,Object> _getBeanLikeMap()
XmlHk2ConfigurationBean_getBeanLikeMap in interface XmlHk2ConfigurationBeanpublic Object _getParent()
XmlHk2ConfigurationBean_getParent in interface XmlHk2ConfigurationBeanpublic void _setParent(Object parent)
public void _setSelfXmlTag(String selfXmlTag)
public String _getSelfXmlTag()
public String _getXmlPath()
XmlHk2ConfigurationBean_getXmlPath in interface XmlHk2ConfigurationBeanpublic void _setInstanceName(String name)
public String _getInstanceName()
XmlHk2ConfigurationBean_getInstanceName in interface XmlHk2ConfigurationBeanpublic void _setKeyValue(String key)
public String _getKeyPropertyName()
XmlHk2ConfigurationBean_getKeyPropertyName in interface XmlHk2ConfigurationBeanpublic void _setClassReflectionHelper(ClassReflectionHelper helper)
public String _getKeyValue()
XmlHk2ConfigurationBean_getKeyValue in interface XmlHk2ConfigurationBeanpublic void _setDynamicChangeInfo(DynamicChangeInfo change)
public void _setDynamicChangeInfo(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<String> _getChildrenXmlTags()
public void _shallowCopyFrom(BaseHK2JAXBBean copyMe)
copyMe - The non-null bean to copy FROMpublic void _merge(BaseHK2JAXBBean other, WriteableBeanDatabase writeableDatabase)
other - writeableDatabase - public void _endMerge(boolean success)
success - If the transaction committed successfullypublic boolean changeInHub(String propName, Object propValue, 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()
Copyright © 2009-2016 Oracle Corporation. All Rights Reserved.