public interface SIElement extends SIRetrievable
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.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(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. |
getUpdateTimeLocator getLocator()
Locator of this SIElement.SIElementboolean equals(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.
int hashCode()
SIElement. Two
SIElement objects that are equal will have identical
hash codes.ServiceInformationType getServiceInformationType()
SIElement was
delivered.
NOTE: In the case where an SI format is in use which is not encoded as one of the set of values defined as
constants in the class ServiceInformationType, the value returned may be outside this set of values.Copyright © 2012 code4tv.com. All Rights Reserved.