public interface IlpObject extends IlpAttributeValueHolder
An IlpObject
instance may be represented by representation objects.
It may also be contained in a data source.
An IlpObject
instance notifies listeners when the value of an
attribute changes.
IlpDataSource
,
IlpRepresentationObject
VALUE_NOT_SET
Modifier and Type | Method and Description |
---|---|
Object |
getIdentifier()
Returns the identifier of the
IlpObject . |
IlpClass |
getIlpClass()
Retrieves 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.
|
addAttributeValueListener, fireEvent, getAttributeGroup, getAttributeValue, getAttributeValue, hasAttributeValue, removeAttributeValueListener, setAttributeValue, setAttributeValue
Object getIdentifier()
IlpObject
.
This identifier is an Object
that can be used to identify
and retrieve this IlpObject
. It must be unique.
The identifier is given when the IlpObject
is
created. It can be either a String or another kind of Java
object.
If the identifier is a String, the code which creates
an IlpObject
and assigns its identifier must ensure that
the identifier is unique.
If the identifier is another kind of object, it must satisfy some constraints:
IlpTypeConverter
installed in the
IlpContext
. The default type converter uses
the toString()
method in order to convert
unknown objects to String.
IlpTypeConverter
installed in the
IlpContext
. The default type converter uses
a constructor with a single String argument in order to
create instances of unknown classes.
IlpObject
.
IlpObject
.IlpTypeConverter
IlpClass getIlpClass()
IlpClass
of this object.IlpClass
of this object.void initializeDefaultValues()
VALUE_NOT_SET
) AND that have not been set in another
way, using, for example, setAttributeValue
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.