public class IlpObjectSupport extends IlpAttributeValueHolderSupport implements IlpObject
IlpObject
instances
for storing attributes and values.VALUE_NOT_SET
Constructor and Description |
---|
IlpObjectSupport(IlpObject source,
IlpClass ilpClass,
IlpAttributeGroup model,
Object identifier)
Provides support to
IlpObject instances for storing
the attribute model, the attribute values, and the IlpClass that is being
represented. |
Modifier and Type | Method and Description |
---|---|
Object |
getIdentifier()
Returns the identifier of the
IlpObject . |
IlpClass |
getIlpClass()
Returns the
IlpClass of this object. |
void |
initializeDefaultValues()
This method initializes the attribute values of the object with the default
attribute values, if there are any.
|
void |
setIlpClass(IlpClass clazz)
Sets the
IlpClass of this object. |
addAttributeValueListener, attributeValueChange, getAttributeGroup, getAttributeValue, getAttributeValue, hasAttributeValue, recomputeDependentAttributes, removeAttributeValueListener, setAttributeValue, setAttributeValue
fireAttributeChange, fireEvent, getSource, hasAttributeValueNotification
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValue
public IlpObjectSupport(IlpObject source, IlpClass ilpClass, IlpAttributeGroup model, Object identifier)
IlpObject
instances for storing
the attribute model, the attribute values, and the IlpClass
that is being
represented.source
- The IlpObject
instance that uses this support instance.ilpClass
- The IlpClass
that defines this IlpObject
instance.model
- The object attribute group. It can be the business class if the business
object does not contain attributes of its own, or it can be an instance of
IlpExtendedAttributeGroup
.identifier
- The identifier of the IlpObject
instance.public Object getIdentifier()
IlpObject
.
This identifier is an Object
that can be used to identify
and retrieve this IlpObject
. It must be unique.getIdentifier
in interface IlpObject
IlpObject
.IlpTypeConverter
public IlpClass getIlpClass()
IlpClass
of this object.getIlpClass
in interface IlpObject
IlpClass
of this object.public void setIlpClass(IlpClass clazz)
IlpClass
of this object.clazz
- The IlpClass
of this object.public void initializeDefaultValues()
VALUE_NOT_SET
and
setAttributeValue
).
initializeDefaultValues
in interface IlpObject
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.