|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umass.cs.sase.query.Operand
public class Operand
This class wraps an operand
Constructor Summary | |
---|---|
Operand(java.lang.String oper)
Default constructor |
Method Summary | |
---|---|
void |
checkSingle()
Checks whether the operand is single |
void |
formatRepresentation()
Format the representation of the operand |
java.lang.String |
getAggregation()
|
java.lang.String |
getAttribute()
|
java.lang.String |
getFormatedRepresentation()
|
java.lang.String |
getOperandType()
|
java.lang.String |
getOriginalRepresentation()
|
java.lang.String |
getRelatedState()
|
boolean |
isHasAggregation()
|
boolean |
isHasRelatedState()
|
boolean |
isNumber()
|
boolean |
isSingle()
|
void |
parse(java.lang.String operand)
Parses the operand |
void |
parseAggregation(java.lang.String operand)
Parses the aggregation |
void |
parseNonNum(java.lang.String operand)
Parses the non number operands |
void |
parseRelatedEvent(java.lang.String operand)
Parses related event |
void |
parseRelatedEventForAggregation(java.lang.String operand)
Parses related event for aggregation |
void |
setAggregation(java.lang.String aggregation)
|
void |
setAttribute(java.lang.String attribute)
|
void |
setFormatedRepresentation(java.lang.String formatedRepresentation)
|
void |
setHasAggregation(boolean hasAggregation)
|
void |
setHasRelatedState(boolean hasRelatedState)
|
void |
setNumber(boolean isNumber)
|
void |
setOperandType(java.lang.String operandType)
|
void |
setOriginalRepresentation(java.lang.String originalRepresentation)
|
void |
setRelatedState(java.lang.String relatedState)
|
void |
setSingle(boolean isSingle)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Operand(java.lang.String oper)
oper
- the description of the operandMethod Detail |
---|
public void checkSingle()
public void parse(java.lang.String operand)
operand
- the operand descriptionpublic void parseNonNum(java.lang.String operand)
operand
- public void parseAggregation(java.lang.String operand)
operand
- public void parseRelatedEventForAggregation(java.lang.String operand)
operand
- public void parseRelatedEvent(java.lang.String operand)
operand
- public void formatRepresentation()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getOperandType()
public void setOperandType(java.lang.String operandType)
operandType
- the operandType to setpublic java.lang.String getOriginalRepresentation()
public void setOriginalRepresentation(java.lang.String originalRepresentation)
originalRepresentation
- the originalRepresentation to setpublic java.lang.String getFormatedRepresentation()
public void setFormatedRepresentation(java.lang.String formatedRepresentation)
formatedRepresentation
- the formatedRepresentation to setpublic java.lang.String getAttribute()
public void setAttribute(java.lang.String attribute)
attribute
- the attribute to setpublic java.lang.String getAggregation()
public void setAggregation(java.lang.String aggregation)
aggregation
- the aggregation to setpublic java.lang.String getRelatedState()
public void setRelatedState(java.lang.String relatedState)
relatedState
- the relatedState to setpublic boolean isNumber()
public void setNumber(boolean isNumber)
isNumber
- the isNumber to setpublic boolean isHasRelatedState()
public void setHasRelatedState(boolean hasRelatedState)
hasRelatedState
- the hasRelatedState to setpublic boolean isHasAggregation()
public void setHasAggregation(boolean hasAggregation)
hasAggregation
- the hasAggregation to setpublic boolean isSingle()
public void setSingle(boolean isSingle)
isSingle
- the isSingle to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |