|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bankframe.Constant
This class represents a collection of constants that are used within BankFrame.
Constructor Summary | |
Constant()
|
Method Summary | |
abstract DataPacket |
getConstants()
This is the interface for all constants classes. |
void |
validate(java.lang.String data,
int errorNumber)
This method checks if the parameter data is contained in the constants that this class represents. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Constant()
Method Detail |
public abstract DataPacket getConstants()
public void validate(java.lang.String data, int errorNumber) throws ValidationException
data
- value to check for in constantserrorNumber
- Error number to display if data is not found in constants
ValidationException
- Occurs if the parameter data is not contained in the constants this class represents
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |