org.glite.lb

Class SeqCode

public class SeqCode extends Object

This class represents sequence code.
Field Summary
static intCONDOR
static intCREAM
static intCREAMWMS
static intDUPLICATE
static intNORMAL
static intPBS
Constructor Summary
SeqCode()
Empty constructor which creates new instance of SeqCode with all values equal 0
SeqCode(int type, String seqCodeString)
Constructor which creates new instance of SeqCode with values set by user in input attribute
Method Summary
voidgetSeqCodeFromString(int type, String seqCodeString)
Converts string representation of sequence code to format which is used in this class.
voidincrementSeqCode(Sources src)
This method increments one specific part of sequence code given by part attribute
StringtoString()

Field Detail

CONDOR

public static final int CONDOR

CREAM

public static final int CREAM

CREAMWMS

public static final int CREAMWMS

DUPLICATE

public static final int DUPLICATE

NORMAL

public static final int NORMAL

PBS

public static final int PBS

Constructor Detail

SeqCode

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

SeqCode

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

Parameters: seqCodeString

Method Detail

getSeqCodeFromString

public void getSeqCodeFromString(int type, 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

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

toString

public String toString()