|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbbc.rd.tvanytime.segmentInformation.SegmentReference
public class SegmentReference
SegmentReference: Represents a SegmentReference object.
Field Summary | |
---|---|
static int |
SEGMENT
SegmentReference for segment. |
static int |
SEGMENT_GROUP
SegmentReference for segment group. |
Constructor Summary | |
---|---|
SegmentReference()
Constructor. |
|
SegmentReference(int segmentType,
java.lang.String ref)
Constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones itself. |
java.lang.String |
getRef()
Return segment ref. |
int |
getSegmentType()
Get segment type - either SegmentReference.SEGMENT or SegmentReference.SEGMENT_GROUP. |
void |
setRef(java.lang.String ref)
Set segment ref. |
void |
setSegmentType(int segmentType)
Set segment type - either SegmentReference.SEGMENT or SegmentReference.SEGMENT_GROUP. |
java.lang.String |
toString()
Return a string representation of this object. |
java.lang.String |
toString(int indent)
Return a string representation of this object. |
java.lang.String |
toXML()
Return a XML representation of this object. |
java.lang.String |
toXML(int indent)
Return a XML representation of this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int SEGMENT
public static final int SEGMENT_GROUP
Constructor Detail |
---|
public SegmentReference()
public SegmentReference(int segmentType, java.lang.String ref) throws TVAnytimeException
segmentType
- Segment typeref
- Segment ref
TVAnytimeException
- if invalid segment type.Method Detail |
---|
public void setSegmentType(int segmentType) throws TVAnytimeException
segmentType
- SegmentReference.SEGMENT or SegmentReference.SEGMENT_GROUP
TVAnytimeException
- if invalid segment type.public int getSegmentType()
public void setRef(java.lang.String ref)
ref
- Segment ref.public java.lang.String getRef()
public java.lang.String toXML()
public java.lang.String toXML(int indent)
indent
- number of tabs to put before the string.
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(int indent)
indent
- number of tabs to put before the string.
public java.lang.Object clone()
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |