|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.xtvdclient.xtvd.datatypes.LineupTypes
public class LineupTypes
A ordinal-based typesafe enum class that represents
the pre-defined values for tms:lineupTypes as defined
in the XTVD schema.
| Field Summary | |
|---|---|
static LineupTypes |
CABLE
The typesafe representation of the Cable lineupType. |
static LineupTypes |
CABLE_DIGITAL
The typesafe representation of the CableDigital
lineupType. |
static LineupTypes |
LOCAL_BROADCAST
The typesafe representation of the LocalBroadcast
lineupType. |
static LineupTypes |
SATELLITE
The typesafe representation of the Satellite
lineupType. |
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object object)
Implementation of the Comparable interface. |
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" this one. |
static LineupTypes |
getLineupType(java.lang.String type)
Return the appropriate LineupType based upon the
string specified. |
int |
hashCode()
Returns a hash code value for this class. |
java.lang.String |
toString()
Over-ridden to return the value of type. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final LineupTypes CABLE
Cable lineupType.
public static final LineupTypes CABLE_DIGITAL
CableDigital
lineupType.
public static final LineupTypes SATELLITE
Satellite
lineupType.
public static final LineupTypes LOCAL_BROADCAST
LocalBroadcast
lineupType.
| Method Detail |
|---|
public static final LineupTypes getLineupType(java.lang.String type)
LineupType based upon the
string specified. If the appropriate lineup type does not exist
return null.
String - type - The type value that is to be used to fetch
the corresponding LineupType.
null otherwise.public java.lang.String toString()
type.
toString in class java.lang.Objectpublic int compareTo(java.lang.Object object)
Comparable interface.
Compares this object with the specified object for order. Returns
a negative integer, zero, or a positive integer as this object is
less than, equal to, or greater than the specified object.
compareTo in interface java.lang.ComparableObject - object - The object with which this class is to
be compared. No class type checking is done.
public boolean equals(java.lang.Object object)
ordinal value.
equals in class java.lang.ObjectObject - object - The reference object with which to compare.
true if the match succeeds.public int hashCode()
ordinal.
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||