public boolean addSQLWhen(SQLWhen when) throws BaseException(Code)
Adds an SQLWhen object to the when list.
Parameters: when - is the SQLWhen to be added. boolean true when added. throws: BaseException - when the input is null.
public void parseXML(Element xmlElement) throws BaseException(Code)
Parses the XML element data and populates a new SQLCase object.
Parameters: xmlElement - which represents SQLCase throws: BaseException - when the xmlElement is null.
removeSQLWhen
public boolean removeSQLWhen(SQLWhen when) throws BaseException(Code)
Removes an SQLWhen instance from the when list.
Parameters: when - SQLWhen instance to be removed. boolean true when removed. throws: BaseException - when the input is null.
secondPassParse
public void secondPassParse(Element element) throws BaseException(Code)
Second parse. Called if not found in first pass.
Parameters: element - to be parsed exception: BaseException - thrown while secondparsing
Generates this SQLCase object as an XML String and returns it
Parameters: prefix - is the prefix to use for the XML string. String in XML of the object. throws: BaseException - if error occurs during generation