com.gcapmedia.dab.epg
Class Membership

java.lang.Object
  extended by com.gcapmedia.dab.epg.Membership

public class Membership
extends java.lang.Object

Indicates a group an element belongs to.


Constructor Summary
Membership(int shortId)
          Create a new membership link
 
Method Summary
 Crid getCrid()
           
 int getIndex()
           
 int getShortId()
           
 void setCrid(Crid crid)
          Sets the Content Reference ID (CRID)
 void setIndex(int index)
          Sets the
 void setShortId(int shortId)
          Sets the short ID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Membership

public Membership(int shortId)
Create a new membership link

Parameters:
id - ID of the group element to link to
Method Detail

getShortId

public int getShortId()
Returns:
Returns the short ID

setShortId

public void setShortId(int shortId)
Sets the short ID

Parameters:
shortId - Short ID

getCrid

public Crid getCrid()
Returns:
Returns the CRID of the group element

setCrid

public void setCrid(Crid crid)
Sets the Content Reference ID (CRID)

Parameters:
crid - CRID

getIndex

public int getIndex()
Returns:
Returns the index of the item within the group, e.g. episode number

setIndex

public void setIndex(int index)
Sets the



Copyright © 2007. All Rights Reserved.