|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbbc.rd.tvanytime.segmentInformation.SegmentGroupInformation
public class SegmentGroupInformation
SegmentGroupInformation: Represents segment group information object.
| Constructor Summary | |
|---|---|
SegmentGroupInformation()
Constructor for objects of class SegmentGroupInformation. |
|
SegmentGroupInformation(java.lang.String groupID,
SegmentGroupType groupType,
ContentReference programRef,
BasicSegmentDescription description)
Constructor for objects of class SegmentGroupInformation with required fields. |
|
| Method Summary | |
|---|---|
void |
addDescription(BasicSegmentDescription description)
Adds a BasicSegmentDescription object. |
void |
addGroupType(SegmentGroupType groupType)
Adds a groupType. |
java.lang.Object |
clone()
Clones itself. |
BasicSegmentDescription |
getDescription(int index)
Gets the BasicSegmentDescription object specified by index. |
java.lang.String |
getGroupID()
Gets the SegmentGroupInformation groupID. |
java.lang.String |
getGroupRefList()
Gets the GroupRefList. |
java.util.Vector |
getGroupRefListAsVector()
Gets the GroupRefList as a vector of Group refs. |
SegmentGroupType |
getGroupType(int index)
Gets the groupType specified by index. |
int |
getNumDescriptions()
Get the number of BasicSegmentDescription objects belonging to this SegmentGroupInformation object. |
int |
getNumGroupTypes()
Get the number of GroupTypes belonging to this SegmentGroupInformation object. |
ContentReference |
getProgramRef()
Gets the SegmentGroupInformation ProgramRef. |
java.lang.String |
getSegmentRefList()
Gets the SegmentRefList as a String. |
java.util.Vector |
getSegmentRefListAsVector()
Gets the SegmentRefList as a vector of Segment refs. |
boolean |
isOrdered()
Is the group ordered? |
void |
removeAll()
Removes all Description objects and groupTypes. |
void |
setGroupID(java.lang.String groupID)
Set the SegmentGroupInformation groupID. |
void |
setGroupRefList(java.lang.String groupRefList)
Sets the GroupRefList. |
void |
setOrdered(boolean ordered)
Set the group ordered flag. |
void |
setProgramRef(ContentReference programRef)
Sets the SegmentGroupInformation ProgramRef. |
void |
setSegmentRefList(java.lang.String segmentRefList)
Sets the SegmentRefList. |
java.lang.String |
toString()
Returns string representation of this object. |
java.lang.String |
toString(int indent)
Returns string representation of this object. |
java.lang.String |
toXML()
Returns XML representation of this table. |
java.lang.String |
toXML(int indent)
Returns XML representation of this table. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SegmentGroupInformation()
public SegmentGroupInformation(java.lang.String groupID,
SegmentGroupType groupType,
ContentReference programRef,
BasicSegmentDescription description)
groupID - the group IDgroupType - the group type (SHOTS, OTHER, BOOKMARKS, THEME_GROUP, etc)programRef - the program ref (a ContentReference object)description - the description| Method Detail |
|---|
public java.lang.String getSegmentRefList()
public java.util.Vector getSegmentRefListAsVector()
public java.lang.String getGroupRefList()
public java.util.Vector getGroupRefListAsVector()
public ContentReference getProgramRef()
public boolean isOrdered()
public java.lang.String getGroupID()
public void setSegmentRefList(java.lang.String segmentRefList)
segmentRefList - the segmentRefListpublic void setGroupRefList(java.lang.String groupRefList)
groupRefList - the groupRefListpublic void setProgramRef(ContentReference programRef)
programRef - the programRefpublic void setOrdered(boolean ordered)
ordered - the SegmentGroupInformation ordered flagpublic void setGroupID(java.lang.String groupID)
groupID - the groupIDpublic int getNumDescriptions()
public int getNumGroupTypes()
public SegmentGroupType getGroupType(int index)
index - the index to the groupType
public void addGroupType(SegmentGroupType groupType)
groupType - the groupType objectpublic BasicSegmentDescription getDescription(int index)
index - the index to the Description object
public void addDescription(BasicSegmentDescription description)
description - the BasicSegmentDescription objectpublic void removeAll()
public java.lang.String toXML()
public java.lang.String toXML(int indent)
indent - Number of tabs with which to indent the string.
public java.lang.String toString()
toString in class java.lang.Objectpublic 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 | ||||||||