|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uci.isr.xarch.boolguard.BooleanExpImpl
DOM-Based implementation of the IBooleanExp interface.
| Field Summary | |
static String |
AND_ELT_NAME
Tag name for ands in this object. |
static String |
BOOL_ELT_NAME
Tag name for bools in this object. |
protected Element |
elt
|
static String |
EQUALS_ELT_NAME
Tag name for equalss in this object. |
static String |
GREATER_THAN_ELT_NAME
Tag name for greaterThans in this object. |
static String |
GREATER_THAN_OR_EQUALS_ELT_NAME
Tag name for greaterThanOrEqualss in this object. |
static String |
IN_RANGE_ELT_NAME
Tag name for inRanges in this object. |
static String |
IN_SET_ELT_NAME
Tag name for inSets in this object. |
static String |
LESS_THAN_ELT_NAME
Tag name for lessThans in this object. |
static String |
LESS_THAN_OR_EQUALS_ELT_NAME
Tag name for lessThanOrEqualss in this object. |
static String |
NOT_ELT_NAME
Tag name for nots in this object. |
static String |
NOT_EQUALS_ELT_NAME
Tag name for notEqualss in this object. |
static String |
OR_ELT_NAME
Tag name for ors in this object. |
static String |
PAREN_EXP_ELT_NAME
Tag name for parenExps in this object. |
protected IXArch |
xArch
|
static String |
XSD_TYPE_NAME
|
static String |
XSD_TYPE_NSURI
|
| Fields inherited from interface edu.uci.isr.xarch.boolguard.IBooleanExp |
TYPE_METADATA |
| Fields inherited from interface edu.uci.isr.xarch.IXArchElement |
DEPTH_INFINITY, DEPTH_ONE, DEPTH_ZERO |
| Constructor Summary | |
BooleanExpImpl(Element elt)
|
|
| Method Summary | |
void |
clearAnd()
Clear the and from this BooleanExp. |
void |
clearBool()
Clear the bool from this BooleanExp. |
void |
clearEquals()
Clear the equals from this BooleanExp. |
void |
clearGreaterThan()
Clear the greaterThan from this BooleanExp. |
void |
clearGreaterThanOrEquals()
Clear the greaterThanOrEquals from this BooleanExp. |
void |
clearInRange()
Clear the inRange from this BooleanExp. |
void |
clearInSet()
Clear the inSet from this BooleanExp. |
void |
clearLessThan()
Clear the lessThan from this BooleanExp. |
void |
clearLessThanOrEquals()
Clear the lessThanOrEquals from this BooleanExp. |
void |
clearNot()
Clear the not from this BooleanExp. |
void |
clearNotEquals()
Clear the notEquals from this BooleanExp. |
void |
clearOr()
Clear the or from this BooleanExp. |
void |
clearParenExp()
Clear the parenExp from this BooleanExp. |
IXArchElement |
cloneElement(int depth)
|
boolean |
equals(Object o)
|
IAnd |
getAnd()
Get the and from this BooleanExp. |
IBool |
getBool()
Get the bool from this BooleanExp. |
Node |
getDOMNode()
Gets the DOM node on which this implementation is based. |
IEquals |
getEquals()
Get the equals from this BooleanExp. |
IGreaterThan |
getGreaterThan()
Get the greaterThan from this BooleanExp. |
IGreaterThanOrEquals |
getGreaterThanOrEquals()
Get the greaterThanOrEquals from this BooleanExp. |
IInRange |
getInRange()
Get the inRange from this BooleanExp. |
IInSet |
getInSet()
Get the inSet from this BooleanExp. |
XArchInstanceMetadata |
getInstanceMetadata()
Gets metadata describing the instance of this element. |
ILessThan |
getLessThan()
Get the lessThan from this BooleanExp. |
ILessThanOrEquals |
getLessThanOrEquals()
Get the lessThanOrEquals from this BooleanExp. |
INot |
getNot()
Get the not from this BooleanExp. |
INotEquals |
getNotEquals()
Get the notEquals from this BooleanExp. |
IOr |
getOr()
Get the or from this BooleanExp. |
IParen |
getParenExp()
Get the parenExp from this BooleanExp. |
protected static SequenceOrder |
getSequenceOrder()
|
XArchTypeMetadata |
getTypeMetadata()
Gets metadata describing the xsi:type of this element. |
IXArch |
getXArch()
|
boolean |
hasAnd(IAnd value)
Determine if this BooleanExp has the given and |
boolean |
hasBool(IBool value)
Determine if this BooleanExp has the given bool |
boolean |
hasEquals(IEquals value)
Determine if this BooleanExp has the given equals |
boolean |
hasGreaterThan(IGreaterThan value)
Determine if this BooleanExp has the given greaterThan |
boolean |
hasGreaterThanOrEquals(IGreaterThanOrEquals value)
Determine if this BooleanExp has the given greaterThanOrEquals |
int |
hashCode()
|
boolean |
hasInRange(IInRange value)
Determine if this BooleanExp has the given inRange |
boolean |
hasInSet(IInSet value)
Determine if this BooleanExp has the given inSet |
boolean |
hasLessThan(ILessThan value)
Determine if this BooleanExp has the given lessThan |
boolean |
hasLessThanOrEquals(ILessThanOrEquals value)
Determine if this BooleanExp has the given lessThanOrEquals |
boolean |
hasNot(INot value)
Determine if this BooleanExp has the given not |
boolean |
hasNotEquals(INotEquals value)
Determine if this BooleanExp has the given notEquals |
boolean |
hasOr(IOr value)
Determine if this BooleanExp has the given or |
boolean |
hasParenExp(IParen value)
Determine if this BooleanExp has the given parenExp |
boolean |
isEquivalent(IBooleanExp c)
Determine if another BooleanExp is equivalent to this one, ignoring ID's. |
void |
setAnd(IAnd value)
Set the and for this BooleanExp. |
void |
setBool(IBool value)
Set the bool for this BooleanExp. |
void |
setDOMNode(Node node)
Sets the DOM node on which this implementation is based. |
void |
setEquals(IEquals value)
Set the equals for this BooleanExp. |
void |
setGreaterThan(IGreaterThan value)
Set the greaterThan for this BooleanExp. |
void |
setGreaterThanOrEquals(IGreaterThanOrEquals value)
Set the greaterThanOrEquals for this BooleanExp. |
void |
setInRange(IInRange value)
Set the inRange for this BooleanExp. |
void |
setInSet(IInSet value)
Set the inSet for this BooleanExp. |
void |
setLessThan(ILessThan value)
Set the lessThan for this BooleanExp. |
void |
setLessThanOrEquals(ILessThanOrEquals value)
Set the lessThanOrEquals for this BooleanExp. |
void |
setNot(INot value)
Set the not for this BooleanExp. |
void |
setNotEquals(INotEquals value)
Set the notEquals for this BooleanExp. |
void |
setOr(IOr value)
Set the or for this BooleanExp. |
void |
setParenExp(IParen value)
Set the parenExp for this BooleanExp. |
void |
setXArch(IXArch xArch)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String XSD_TYPE_NSURI
public static final String XSD_TYPE_NAME
protected IXArch xArch
public static final String AND_ELT_NAME
public static final String OR_ELT_NAME
public static final String NOT_ELT_NAME
public static final String GREATER_THAN_ELT_NAME
public static final String GREATER_THAN_OR_EQUALS_ELT_NAME
public static final String LESS_THAN_ELT_NAME
public static final String LESS_THAN_OR_EQUALS_ELT_NAME
public static final String EQUALS_ELT_NAME
public static final String NOT_EQUALS_ELT_NAME
public static final String IN_SET_ELT_NAME
public static final String IN_RANGE_ELT_NAME
public static final String BOOL_ELT_NAME
public static final String PAREN_EXP_ELT_NAME
protected Element elt
| Constructor Detail |
public BooleanExpImpl(Element elt)
| Method Detail |
public Node getDOMNode()
DOMBased
getDOMNode in interface DOMBasedpublic void setDOMNode(Node node)
DOMBased
setDOMNode in interface DOMBasednode - DOM nodeprotected static SequenceOrder getSequenceOrder()
public void setXArch(IXArch xArch)
setXArch in interface IXArchElementpublic IXArch getXArch()
getXArch in interface IXArchElementpublic IXArchElement cloneElement(int depth)
cloneElement in interface IXArchElementpublic boolean equals(Object o)
public int hashCode()
public XArchTypeMetadata getTypeMetadata()
IXArchElementxsi:type of this element.
getTypeMetadata in interface IXArchElementxsi:type of this element.public XArchInstanceMetadata getInstanceMetadata()
IXArchElement
getInstanceMetadata in interface IXArchElementpublic void setAnd(IAnd value)
IBooleanExp
setAnd in interface IBooleanExpvalue - new andpublic void clearAnd()
IBooleanExp
clearAnd in interface IBooleanExppublic IAnd getAnd()
IBooleanExp
getAnd in interface IBooleanExppublic boolean hasAnd(IAnd value)
IBooleanExp
hasAnd in interface IBooleanExpvalue - and to compare
true if the ands are equivalent,
false otherwisepublic void setOr(IOr value)
IBooleanExp
setOr in interface IBooleanExpvalue - new orpublic void clearOr()
IBooleanExp
clearOr in interface IBooleanExppublic IOr getOr()
IBooleanExp
getOr in interface IBooleanExppublic boolean hasOr(IOr value)
IBooleanExp
hasOr in interface IBooleanExpvalue - or to compare
true if the ors are equivalent,
false otherwisepublic void setNot(INot value)
IBooleanExp
setNot in interface IBooleanExpvalue - new notpublic void clearNot()
IBooleanExp
clearNot in interface IBooleanExppublic INot getNot()
IBooleanExp
getNot in interface IBooleanExppublic boolean hasNot(INot value)
IBooleanExp
hasNot in interface IBooleanExpvalue - not to compare
true if the nots are equivalent,
false otherwisepublic void setGreaterThan(IGreaterThan value)
IBooleanExp
setGreaterThan in interface IBooleanExpvalue - new greaterThanpublic void clearGreaterThan()
IBooleanExp
clearGreaterThan in interface IBooleanExppublic IGreaterThan getGreaterThan()
IBooleanExp
getGreaterThan in interface IBooleanExppublic boolean hasGreaterThan(IGreaterThan value)
IBooleanExp
hasGreaterThan in interface IBooleanExpvalue - greaterThan to compare
true if the greaterThans are equivalent,
false otherwisepublic void setGreaterThanOrEquals(IGreaterThanOrEquals value)
IBooleanExp
setGreaterThanOrEquals in interface IBooleanExpvalue - new greaterThanOrEqualspublic void clearGreaterThanOrEquals()
IBooleanExp
clearGreaterThanOrEquals in interface IBooleanExppublic IGreaterThanOrEquals getGreaterThanOrEquals()
IBooleanExp
getGreaterThanOrEquals in interface IBooleanExppublic boolean hasGreaterThanOrEquals(IGreaterThanOrEquals value)
IBooleanExp
hasGreaterThanOrEquals in interface IBooleanExpvalue - greaterThanOrEquals to compare
true if the greaterThanOrEqualss are equivalent,
false otherwisepublic void setLessThan(ILessThan value)
IBooleanExp
setLessThan in interface IBooleanExpvalue - new lessThanpublic void clearLessThan()
IBooleanExp
clearLessThan in interface IBooleanExppublic ILessThan getLessThan()
IBooleanExp
getLessThan in interface IBooleanExppublic boolean hasLessThan(ILessThan value)
IBooleanExp
hasLessThan in interface IBooleanExpvalue - lessThan to compare
true if the lessThans are equivalent,
false otherwisepublic void setLessThanOrEquals(ILessThanOrEquals value)
IBooleanExp
setLessThanOrEquals in interface IBooleanExpvalue - new lessThanOrEqualspublic void clearLessThanOrEquals()
IBooleanExp
clearLessThanOrEquals in interface IBooleanExppublic ILessThanOrEquals getLessThanOrEquals()
IBooleanExp
getLessThanOrEquals in interface IBooleanExppublic boolean hasLessThanOrEquals(ILessThanOrEquals value)
IBooleanExp
hasLessThanOrEquals in interface IBooleanExpvalue - lessThanOrEquals to compare
true if the lessThanOrEqualss are equivalent,
false otherwisepublic void setEquals(IEquals value)
IBooleanExp
setEquals in interface IBooleanExpvalue - new equalspublic void clearEquals()
IBooleanExp
clearEquals in interface IBooleanExppublic IEquals getEquals()
IBooleanExp
getEquals in interface IBooleanExppublic boolean hasEquals(IEquals value)
IBooleanExp
hasEquals in interface IBooleanExpvalue - equals to compare
true if the equalss are equivalent,
false otherwisepublic void setNotEquals(INotEquals value)
IBooleanExp
setNotEquals in interface IBooleanExpvalue - new notEqualspublic void clearNotEquals()
IBooleanExp
clearNotEquals in interface IBooleanExppublic INotEquals getNotEquals()
IBooleanExp
getNotEquals in interface IBooleanExppublic boolean hasNotEquals(INotEquals value)
IBooleanExp
hasNotEquals in interface IBooleanExpvalue - notEquals to compare
true if the notEqualss are equivalent,
false otherwisepublic void setInSet(IInSet value)
IBooleanExp
setInSet in interface IBooleanExpvalue - new inSetpublic void clearInSet()
IBooleanExp
clearInSet in interface IBooleanExppublic IInSet getInSet()
IBooleanExp
getInSet in interface IBooleanExppublic boolean hasInSet(IInSet value)
IBooleanExp
hasInSet in interface IBooleanExpvalue - inSet to compare
true if the inSets are equivalent,
false otherwisepublic void setInRange(IInRange value)
IBooleanExp
setInRange in interface IBooleanExpvalue - new inRangepublic void clearInRange()
IBooleanExp
clearInRange in interface IBooleanExppublic IInRange getInRange()
IBooleanExp
getInRange in interface IBooleanExppublic boolean hasInRange(IInRange value)
IBooleanExp
hasInRange in interface IBooleanExpvalue - inRange to compare
true if the inRanges are equivalent,
false otherwisepublic void setBool(IBool value)
IBooleanExp
setBool in interface IBooleanExpvalue - new boolpublic void clearBool()
IBooleanExp
clearBool in interface IBooleanExppublic IBool getBool()
IBooleanExp
getBool in interface IBooleanExppublic boolean hasBool(IBool value)
IBooleanExp
hasBool in interface IBooleanExpvalue - bool to compare
true if the bools are equivalent,
false otherwisepublic void setParenExp(IParen value)
IBooleanExp
setParenExp in interface IBooleanExpvalue - new parenExppublic void clearParenExp()
IBooleanExp
clearParenExp in interface IBooleanExppublic IParen getParenExp()
IBooleanExp
getParenExp in interface IBooleanExppublic boolean hasParenExp(IParen value)
IBooleanExp
hasParenExp in interface IBooleanExpvalue - parenExp to compare
true if the parenExps are equivalent,
false otherwisepublic boolean isEquivalent(IBooleanExp c)
IBooleanExp
isEquivalent in interface IBooleanExpc - BooleanExp to compare to this one.
true if all the child elements of this
BooleanExp are equivalent, false otherwise.
|
xArch/xADL 2.0 Data Binding Library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||