|
Oracle Email Java API Reference Release 2(9.0.4) B10724-01 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.xml.classgen.CGXSDElement | +--oracle.mail.sdk.rule.RuleElement | +--oracle.mail.sdk.rule.ConditionType
This class represents a condition object. There are 4 types of conditions:
A condition object has two attributes:
AttributeType
, OperatorType
, InSectionType
Constructor Summary | |
ConditionType() |
Method Summary | |
void |
addAttribute(AttributeType theattribute) Adds an attribute object. |
void |
addAttribute(java.lang.String theattribute) Adds the attribute string if the attribute does not require any parameters. |
void |
addCondition(ConditionType thecondition) Adds a subcondition if this is a compound condition. |
void |
addInSection(InSectionType theinSection) Adds the insection type condition object if this is a sectional search condition. |
void |
addOperand(java.lang.String theoperand) Adds an operand. |
void |
addOperator(OperatorType theoperator) Adds the operator object. |
void |
addOperator(java.lang.String theoperator) Adds the operator string if it is a simple operation. |
void |
addProcCall(java.lang.String theprocCall) Adds an external condition if this is an user-defined PL/SQL function call. |
AttributeType |
getAttribute() Gets the message attribute if it is a simple condition |
java.lang.String |
getConditionType() Gets the type of the condition. |
InSectionType |
getInSection() Gets the InSectionType object that contains sectional search condition information. |
java.lang.String |
getJunction() Gets the value of the Junction attribute |
java.lang.String |
getNegation() Gets the value of the Negation attribute |
java.lang.String |
getOperand() Gets the first operand string |
java.util.Vector |
getOperands() Gets all operands in a vector |
OperatorType |
getOperator() Gets tje operator object if it is a simple condition |
java.lang.String |
getProcCall() Gets the external condition PL/SQL function name |
java.util.Vector |
getSubConditions() Gets all sub conditions in a vector if this is a compound condition |
void |
print(oracle.xml.parser.v2.XMLOutputStream out) Prints in XML format of this object. |
void |
setConditions(java.util.Vector conditions) Sets the sub-conditions for this parent condition. |
void |
setJunction(java.lang.String thejunction) Sets the value of Junction attribute |
void |
setNegation(java.lang.String thenegation) Sets the value of Negation attribute |
void |
setOperands(java.util.Vector operands) Sets operands to the condition. |
Methods inherited from class oracle.mail.sdk.rule.RuleElement |
getParent, getType, printAttributes, removeAll, removeAt |
Methods inherited from class oracle.xml.classgen.CGXSDElement |
getAttributes, getChildElements, getNodeValue, printAttributes |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConditionType()
Method Detail |
public void setJunction(java.lang.String thejunction) throws java.lang.IllegalArgumentException, oracle.xml.classgen.InvalidContentException
thejunction
- the value to which the attribute is setpublic java.lang.String getJunction()
public void setNegation(java.lang.String thenegation) throws java.lang.IllegalArgumentException, oracle.xml.classgen.InvalidContentException
thenegation
- the value to which the attribute is setpublic java.lang.String getNegation()
public java.lang.String getConditionType()
public AttributeType getAttribute()
public OperatorType getOperator()
public java.lang.String getOperand()
public java.util.Vector getOperands()
public void setOperands(java.util.Vector operands) throws oracle.xml.classgen.InvalidContentException
operands
- the vector of operandspublic java.lang.String getProcCall()
public InSectionType getInSection()
InSectionType
public java.util.Vector getSubConditions()
public void setConditions(java.util.Vector conditions) throws oracle.xml.classgen.InvalidContentException
conditions
- the vector of conditionspublic void addAttribute(AttributeType theattribute) throws oracle.xml.classgen.InvalidContentException
theattribute
- the attribute objectAttributeType
public void addAttribute(java.lang.String theattribute) throws oracle.xml.classgen.InvalidContentException
theattribute
- the attribute stringpublic void addOperator(OperatorType theoperator) throws oracle.xml.classgen.InvalidContentException
theoperator
- the operator objectOperatorType
public void addOperator(java.lang.String theoperator) throws oracle.xml.classgen.InvalidContentException
theoperator
- the operator stringpublic void addOperand(java.lang.String theoperand) throws oracle.xml.classgen.InvalidContentException
theoperand
- the operand stringpublic void addCondition(ConditionType thecondition) throws oracle.xml.classgen.InvalidContentException
thecondition
- the condition objectpublic void addProcCall(java.lang.String theprocCall) throws oracle.xml.classgen.InvalidContentException
theprocCall
- the external condition PL/SQL function stringpublic void addInSection(InSectionType theinSection) throws oracle.xml.classgen.InvalidContentException
theinSection
- the InSectionType objectInSectionType
public void print(oracle.xml.parser.v2.XMLOutputStream out) throws java.io.IOException
out
- the Output StreamXMLOutputStream
|
Oracle Email Java API Reference Release 2(9.0.4) B10724-01 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |