|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.omwg.mediation.language.objectModel.Expression
public abstract class Expression
Defines the general operators and specific expressions needed for the mapping. Has four extenstions where expression objects are constructed: InstanceExpr, ClassExpr, RelationExpr, & AttributeExpr
Field Summary | |
---|---|
static java.lang.String |
AND_OPERATOR
Represents string type "and" operator |
static java.lang.String |
INVERSE_OPERATOR
Represents string type "inverse" operator |
static java.lang.String |
JOIN_OPERATOR
Represents string type "join" operator |
static java.lang.String |
NOT_OPERATOR
Represents string type "not" operator |
static java.lang.String |
OR_OPERATOR
Represents string type "or" operator |
static java.lang.String |
REFLEXIVE_OPERATOR
Represents string type "reflexive" operator |
static java.lang.String |
SYMMETRIC_OPERATOR
Represents string type "symmetric" operator |
static java.lang.String |
TRANS_OPERATOR
Represents string type "transitive" operator |
Constructor Summary | |
---|---|
Expression()
|
Method Summary | |
---|---|
abstract java.lang.Object |
clone()
Copies expression object |
Id |
getId()
Returns expression definition id if the expression is not complex |
java.lang.String |
getOperator()
Returns expression (operating function) in string type if the expression definition is complex |
abstract Expression |
getSubExpression(int index)
Returns specific expression from the array list of sub-expressions that constitute the complex expression when predefined |
abstract java.util.ArrayList |
getSubExpressionsList()
Returns the array list of sub-expressions that constitute the complex expression when predefined |
boolean |
isComplexExpression()
Returns boolean declaring whether or not the expression definition is complex |
java.lang.String |
toString()
Returns string representation of the expression definition |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String AND_OPERATOR
Represents string type "and" operator
public static final java.lang.String OR_OPERATOR
Represents string type "or" operator
public static final java.lang.String NOT_OPERATOR
Represents string type "not" operator
public static final java.lang.String JOIN_OPERATOR
Represents string type "join" operator
public static final java.lang.String INVERSE_OPERATOR
Represents string type "inverse" operator
public static final java.lang.String SYMMETRIC_OPERATOR
Represents string type "symmetric" operator
public static final java.lang.String REFLEXIVE_OPERATOR
Represents string type "reflexive" operator
public static final java.lang.String TRANS_OPERATOR
Represents string type "transitive" operator
Constructor Detail |
---|
public Expression()
Method Detail |
---|
public boolean isComplexExpression()
Returns boolean declaring whether or not the expression definition is complex
public Id getId()
Returns expression definition id if the expression is not complex
public java.lang.String getOperator()
Returns expression (operating function) in string type if the expression definition is complex
public abstract java.util.ArrayList getSubExpressionsList()
Returns the array list of sub-expressions that constitute the complex expression when predefined
public abstract Expression getSubExpression(int index)
Returns specific expression from the array list of sub-expressions that constitute the complex expression when predefined
public java.lang.String toString()
Returns string representation of the expression definition
toString
in class java.lang.Object
public abstract java.lang.Object clone()
Copies expression object
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |