org.glite.lb
Class SeqCode

java.lang.Object
  extended by org.glite.lb.SeqCode

public class SeqCode
extends java.lang.Object

This class represents sequence code.


Field Summary
static int CONDOR
           
static int CREAM
           
static int CREAMWMS
           
static int DUPLICATE
           
static int NORMAL
           
static int PBS
           
 
Constructor Summary
SeqCode()
          Empty constructor which creates new instance of SeqCode with all values equal 0
SeqCode(int type, java.lang.String seqCodeString)
          Constructor which creates new instance of SeqCode with values set by user in input attribute
 
Method Summary
 void getSeqCodeFromString(int type, java.lang.String seqCodeString)
          Converts string representation of sequence code to format which is used in this class.
 void incrementSeqCode(Sources src)
          This method increments one specific part of sequence code given by part attribute
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NORMAL

public static final int NORMAL
See Also:
Constant Field Values

DUPLICATE

public static final int DUPLICATE
See Also:
Constant Field Values

PBS

public static final int PBS
See Also:
Constant Field Values

CONDOR

public static final int CONDOR
See Also:
Constant Field Values

CREAM

public static final int CREAM
See Also:
Constant Field Values

CREAMWMS

public static final int CREAMWMS
See Also:
Constant Field Values
Constructor Detail

SeqCode

public SeqCode()
Empty constructor which creates new instance of SeqCode with all values equal 0


SeqCode

public SeqCode(int type,
               java.lang.String seqCodeString)
Constructor which creates new instance of SeqCode with values set by user in input attribute

Parameters:
seqCodeString -
Method Detail

incrementSeqCode

public void incrementSeqCode(Sources src)
This method increments one specific part of sequence code given by part attribute

Parameters:
part - part of sequence number which will be increased

getSeqCodeFromString

public void getSeqCodeFromString(int type,
                                 java.lang.String seqCodeString)
Converts string representation of sequence code to format which is used in this class. Insert sequence codes in format: UI=000000:NS=0000000000:WM=000000:BH=0000000000:JSS=000000:LM=000000:LRMS=000000:APP=000000:LBS=000000

Parameters:
seqCodeString -

toString

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