|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.billpringle.utils.WrpValidateCsv.GoToLoc
public class WrpValidateCsv.GoToLoc
Inner class for statement label
A statement can have a statement label, which can then be used as a destination if a rule fires. A statement label can also be used for documentation, and do not require that a rule specifies the statement as a destination.
For efficiency sake, the index into the labels vector is stored so that the program doesn't have to search for the statement during run time.
Field Summary | |
---|---|
(package private) int |
loc
index into rules for statement |
(package private) java.lang.String |
name
the statement label |
(package private) int |
seq
the statement sequence number |
Constructor Summary | |
---|---|
WrpValidateCsv.GoToLoc()
|
Method Summary | |
---|---|
int |
getLoc()
Get the location in rules for the rule associated with this statement label |
java.lang.String |
getName()
Get the name of this statement label |
int |
getSeq()
Return the sequence number of the rule associated with this statement label. |
void |
setLoc(int loc)
Set the location within rules of the rule associated with this statement label. |
void |
setName(java.lang.String name)
Set the name of this statement label. |
void |
setSeq(int seq)
Set the statement number for the rule associated with this statement label |
java.lang.String |
toString()
Build string representation for this label |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
java.lang.String name
int seq
int loc
Constructor Detail |
---|
public WrpValidateCsv.GoToLoc()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- the name to setpublic int getSeq()
public void setSeq(int seq)
seq
- the seq to setpublic int getLoc()
public void setLoc(int loc)
loc
- the loc to setpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |