Known-Items Task Evaluation

Class SystemItem

java.lang.Object
  |
  +--Item
        |
        +--SystemItem

public class SystemItem
extends Item

This class represents a submitted item from a system. It inherits attributes and behaviour from Item abstract class, and has also a sequence number.


Fields inherited from class Item
matched, src, start, stop
 
Constructor Summary
SystemItem(java.lang.String start, java.lang.String stop, java.lang.String src, java.lang.String seqNum)
          Constructs SystemItem object with the given parameters.
 
Method Summary
 int getIntSeqNum()
          Gets the sequence number of the item as an integer.
 java.lang.String getSeqNum()
          Gets the sequence number of the item.
 SystemItem intersection(Item t)
          Returns an item representing the intersection with the given item.
 java.lang.String toString()
          Returns a Xml formatted string representation of this system-item.
 java.lang.String toStringClose()
          Returns the matching close tag.
 java.lang.String toStringOpen()
          Returns a Xml formatted string representation of this item and its start and stop values as a system item.
 java.lang.String toStringOut()
          Returns a Xml formatted string representation of this item and its start and stop values as a system item.
 
Methods inherited from class Item
getMilliStart, getMilliStop, getSrc, getStart, getStop, intersected, length, maxTime, maxTimeMilli, minTime, minTimeMilli, toMilliseconds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SystemItem

public SystemItem(java.lang.String start,
                  java.lang.String stop,
                  java.lang.String src,
                  java.lang.String seqNum)
           throws java.lang.Exception
Constructs SystemItem object with the given parameters.
Parameters:
start - The start time of the item in a defined format ("*h*m*s*ms").
stop - The stop time of the item in a defined format ("*h*m*s*ms").
src - The source of the item or video that the item is part of.
seqNum - The sequence number of the item.
Throws:
TransitionDefinitionException - Thrown if the pre frame is not strictly less than the post frame.
Method Detail

intersection

public SystemItem intersection(Item t)
Returns an item representing the intersection with the given item.

getSeqNum

public java.lang.String getSeqNum()
Gets the sequence number of the item.

getIntSeqNum

public int getIntSeqNum()
Gets the sequence number of the item as an integer.

toString

public java.lang.String toString()
Returns a Xml formatted string representation of this system-item. For example: ""
Overrides:
toString in class Item

toStringOut

public java.lang.String toStringOut()
Returns a Xml formatted string representation of this item and its start and stop values as a system item. without a line separator. For example: ""

toStringOpen

public java.lang.String toStringOpen()
Returns a Xml formatted string representation of this item and its start and stop values as a system item. without a closing "/" character at the end of the string. For example: ""

toStringClose

public java.lang.String toStringClose()
Returns the matching close tag.

Known-Items Task Evaluation

For information over@nist.gov or rtaban@nist.gov