public class IlpObjectReferenceAttribute extends IlpReferenceAttribute
| Constructor and Description |
|---|
IlpObjectReferenceAttribute(String name,
Class<?> valueClass,
IlpAttribute referenceAttribute)
Creates a new attribute with the given name and class.
|
IlpObjectReferenceAttribute(String name,
IlpAttribute referenceAttribute)
Creates a new attribute with the given name.
|
| Modifier and Type | Method and Description |
|---|---|
IlpAttributeValueHolder |
getReferenceAttributeValueHolder(IlpAttributeValueHolder h)
Returns the reference value holder for the given attribute
value holder.
|
Object |
getValue(IlpAttributeValueHolder h)
Returns the value of the attribute in the given holder.
|
void |
setReferenceAttributeValueHolder(IlpAttributeValueHolder key,
IlpAttributeValueHolder reference)
Sets the reference attribute holder.
|
getDefaultValue, getReferenceAttribute, isDependentOn, isTransient, setValueClassgetAttributeGroup, getName, getValueClass, setAttributeGroup, setDefaultValue, setName, setTransient, toStringpublic IlpObjectReferenceAttribute(String name, IlpAttribute referenceAttribute)
name - The name of the new attribute.referenceAttribute - The attribute that is being referenced
by this one.public IlpObjectReferenceAttribute(String name, Class<?> valueClass, IlpAttribute referenceAttribute)
name - The name of the new attribute.valueClass - The attribute value class.referenceAttribute - The attribute that is being referenced.public IlpAttributeValueHolder getReferenceAttributeValueHolder(IlpAttributeValueHolder h)
h - Holderpublic void setReferenceAttributeValueHolder(IlpAttributeValueHolder key, IlpAttributeValueHolder reference)
key - Original attribute value holderreference - Reference attribute value holderpublic Object getValue(IlpAttributeValueHolder h)
getValue in interface IlpAttributeValueProvidergetValue in class IlpReferenceAttribute© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.