XMT-O Reference Software

xmto2xmta.timegraph
Class Condition

java.lang.Object
  |
  +--xmto2xmta.timegraph.Condition

public class Condition
extends java.lang.Object

Syncbase or event-based condition.

History:


Field Summary
static int ACCESSKEY
           
private  java.lang.String accessKeyValue
           
static int ACTIVATE_EVENT
           
static int BASEANDOFFSET
           
static int BEGIN_EVENT
           
private  Time currentInstanceTime
           
static int END_EVENT
           
static int INDEFINITE
           
private  java.util.HashSet instanceTimes
           
private  java.lang.String marker
           
static int MEDIAMARKER
           
private  boolean offsetCondition
           
private  long offsetValue
           
static int REPEAT
           
private  long repeatCount
           
private  Container syncbase
           
static int SYNCBASE_BEGIN
           
static int SYNCBASE_END
           
private  java.lang.Integer syncbaseID
           
private  int type
           
static java.lang.String[] TYPE_NAME
           
static int UNKNOWN
           
static int WALLCLOCK
           
private  java.lang.String wallClockValue
           
 
Constructor Summary
Condition()
           
 
Method Summary
 java.lang.String getAccessKeyValue()
           
 Time getCurrentInstanceTime()
           
 java.util.HashSet getInstanceTimes()
           
 java.lang.String getMarker()
           
 boolean getOffsetCondition()
           
 long getOffsetValue()
           
 long getRepeatCount()
           
 Container getSyncbase()
           
 java.lang.Integer getSyncbaseID()
           
 int getType()
           
 java.lang.String getWallClockValue()
           
 boolean hasBaseAndOffset()
           
 boolean isDeterministic()
           
 boolean isEventType()
           
 boolean isIndefinite()
           
 boolean isSyncbaseType()
           
 void setAccessKeyValue(java.lang.String accessKeyValue)
           
 void setCurrentInstanceTime(Time instanceTime)
           
 void setInstanceTimes(java.util.HashSet instanceTimes)
          The instanceTimes is a set of Time objects.
 void setMarker(java.lang.String marker)
           
 void setOffsetCondition(boolean offsetCondition)
           
 void setOffsetValue(long offsetValue)
          The offset here means the offset value from the syncbase in the parent simple time.
 void setRepeatCount(long repeatCount)
           
 void setSyncbase(Container syncbase)
           
 void setSyncbaseID(java.lang.Integer syncbaseID)
           
 void setType(int type)
           
 void setWallClockValue(java.lang.String wallClockValue)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

UNKNOWN

public static final int UNKNOWN

SYNCBASE_BEGIN

public static final int SYNCBASE_BEGIN

SYNCBASE_END

public static final int SYNCBASE_END

BEGIN_EVENT

public static final int BEGIN_EVENT

END_EVENT

public static final int END_EVENT

ACTIVATE_EVENT

public static final int ACTIVATE_EVENT

REPEAT

public static final int REPEAT

BASEANDOFFSET

public static final int BASEANDOFFSET

ACCESSKEY

public static final int ACCESSKEY

MEDIAMARKER

public static final int MEDIAMARKER

WALLCLOCK

public static final int WALLCLOCK

INDEFINITE

public static final int INDEFINITE

TYPE_NAME

public static final java.lang.String[] TYPE_NAME

type

private int type

offsetValue

private long offsetValue

syncbaseID

private java.lang.Integer syncbaseID

syncbase

private Container syncbase

repeatCount

private long repeatCount

marker

private java.lang.String marker

accessKeyValue

private java.lang.String accessKeyValue

wallClockValue

private java.lang.String wallClockValue

offsetCondition

private boolean offsetCondition

instanceTimes

private java.util.HashSet instanceTimes

currentInstanceTime

private Time currentInstanceTime
Constructor Detail

Condition

public Condition()
Method Detail

setType

public void setType(int type)

getType

public int getType()

setSyncbaseID

public void setSyncbaseID(java.lang.Integer syncbaseID)

getSyncbaseID

public java.lang.Integer getSyncbaseID()

setSyncbase

public void setSyncbase(Container syncbase)

getSyncbase

public Container getSyncbase()

setOffsetValue

public void setOffsetValue(long offsetValue)
The offset here means the offset value from the syncbase in the parent simple time. E.g. begin=foo.begin+offset.

getOffsetValue

public long getOffsetValue()

setRepeatCount

public void setRepeatCount(long repeatCount)

getRepeatCount

public long getRepeatCount()

setMarker

public void setMarker(java.lang.String marker)

getMarker

public java.lang.String getMarker()

setAccessKeyValue

public void setAccessKeyValue(java.lang.String accessKeyValue)

getAccessKeyValue

public java.lang.String getAccessKeyValue()

setWallClockValue

public void setWallClockValue(java.lang.String wallClockValue)

getWallClockValue

public java.lang.String getWallClockValue()

setInstanceTimes

public void setInstanceTimes(java.util.HashSet instanceTimes)
The instanceTimes is a set of Time objects.

getInstanceTimes

public java.util.HashSet getInstanceTimes()

setCurrentInstanceTime

public void setCurrentInstanceTime(Time instanceTime)

getCurrentInstanceTime

public Time getCurrentInstanceTime()

isEventType

public boolean isEventType()

isSyncbaseType

public boolean isSyncbaseType()

hasBaseAndOffset

public boolean hasBaseAndOffset()

isIndefinite

public boolean isIndefinite()

isDeterministic

public boolean isDeterministic()

getOffsetCondition

public boolean getOffsetCondition()

setOffsetCondition

public void setOffsetCondition(boolean offsetCondition)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

XMT-O Reference Software