|
JSR-927 (Maintenance Release) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The base interface of elements provided by the SI database.
SIElement
objects represent immutable copies
of the service information data contained in the SI database. If
the information represented by an SIElement
E
changes in the database, E will not be changed. The value
of the SIElement
's locator (obtained by the
getLocator()
method) will remain unchanged in this
case; the locator may be used to retrieve a copy of the SI element
with the new data. Two SIElement
objects retrieved
from the SI database using the same input Locator
at
different times will report Locator
objects that are
equal according to Locator.equal()
. However, the
SIElement
objects themselves will not be
equal()
if the corresponding data changed in the SI
database between the times of their respective retrievals.
getLocator()
,
SIManager.retrieveSIElement(javax.tv.locator.Locator, javax.tv.service.SIRequestor)
Method Summary | |
boolean |
equals(java.lang.Object obj)
Tests two SIElement objects for equality. |
Locator |
getLocator()
Reports the Locator of this SIElement . |
ServiceInformationType |
getServiceInformationType()
Reports the SI format in which this SIElement was
delivered. |
int |
hashCode()
Reports the hash code value of this SIElement . |
Methods inherited from interface javax.tv.service.SIRetrievable |
getUpdateTime |
Method Detail |
public Locator getLocator()
Locator
of this SIElement
.
SIElement
public boolean equals(java.lang.Object obj)
SIElement
objects for equality. Returns
true
if and only if:
obj
's class is the
same as the class of this SIElement
, and
obj
's Locator
is equal to
the Locator
of this object (as reported by
SIElement.getLocator()
, and
obj
and this object encapsulate identical data.
obj
- The object against which to test for equality.
true
if the two SIElement
objects
are equal; false
otherwise.public int hashCode()
SIElement
. Two
SIElement
objects that are equal will have identical
hash codes.
SIElement
.public ServiceInformationType getServiceInformationType()
SIElement
was
delivered.
If the SI format of the SIElement
is not represented
as a constant in the class ServiceInformationType
, the value
returned by this method may be outside the defined set of constants.
|
JSR-927 (Maintenance Release) | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |