|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAttributeTuple
IAttributeTuple is a wrapper interface for an attribute based tuple specifying the state represented by an IStatement (IBelief or IFact). The state of an attribute tuple specifies the value for an attribute of a concept.
ITuple| Method Summary | |
|---|---|
boolean |
getBooleanRhsValue()
Returns the right hand side value of the tuple, specifying the value for the left hand side attribute of the left hand side concept. |
byte |
getByteRhsValue()
Returns the right hand side value of the tuple, specifying the value for the left hand side attribute of the left hand side concept. |
char |
getCharRhsValue()
Returns the right hand side value of the tuple, specifying the value for the left hand side attribute of the left hand side concept. |
IConcept |
getConceptRhsValue()
Returns the right hand side value of the tuple, specifying the value for the left hand side attribute of the left hand side concept. |
double |
getDoubleRhsValue()
Returns the right hand side value of the tuple, specifying the value for the left hand side attribute of the left hand side concept. |
float |
getFloatRhsValue()
Returns the right hand side value of the tuple, specifying the value for the left hand side attribute of the left hand side concept. |
int |
getIntRhsValue()
Returns the right hand side value of the tuple, specifying the value for the left hand side attribute of the left hand side concept. |
IAttribute |
getLhsAttribute()
Returns the attribute for which the value is specified in this tuple. |
java.lang.Object |
getLhsCollectionIndex()
Returns the collection index/key for the collection. |
long |
getLongRhsValue()
Returns the right hand side value of the tuple, specifying the value for the left hand side attribute of the left hand side concept. |
int |
getRelationalOperator()
Returns the relational operator specifying whether the attribute of the left hand side concept is equals or not equal to the right hand side value specified by this tuple. |
java.lang.Object |
getRhsValue()
Returns the right hand side value of the tuple, specifying the value for the left hand side attribute of the left hand side concept. |
short |
getShortRhsValue()
Returns the right hand side value of the tuple, specifying the value for the left hand side attribute of the left hand side concept. |
java.lang.String |
getStringRhsValue()
Returns the right hand side value of the tuple, specifying the value for the left hand side attribute of the left hand side concept. |
java.lang.String |
getSymbolRhsValue()
Returns the right hand side value of the tuple, specifying the value for the left hand side attribute of the left hand side concept. |
IUnknown |
getUnknownRhsValue()
Returns value 'unknown' as the right hand side value of the tuple if this value is indeed 'unknown'. |
| Methods inherited from interface gov.nasa.arc.brahms.vm.api.common.ITuple |
|---|
getLhsConcept, getLhsObject |
| Method Detail |
|---|
IAttribute getLhsAttribute()
throws ExternalException
ExternalException - if an internal error occurs
java.lang.Object getLhsCollectionIndex()
throws ExternalException
ExternalException - if the left-hand side attribute
is not of a collection type or if no collection index
is specified.
int getRelationalOperator()
throws ExternalException
ExternalException - if an internal error occursIRelationalOperator.EQUALS,
IRelationalOperator.NOT_EQUALS
java.lang.Object getRhsValue()
throws ExternalException
ExternalException - if an internal error occursIUnknown.UNKNOWN
int getIntRhsValue()
throws ExternalException
ExternalException - if the attribute's type is not int or
if an internal error occurs.
char getCharRhsValue()
throws ExternalException
ExternalException - if the attribute's type is not int or
if an internal error occurs.
byte getByteRhsValue()
throws ExternalException
ExternalException - if the attribute's type is not int or
if an internal error occurs.
short getShortRhsValue()
throws ExternalException
ExternalException - if the attribute's type is not int or
if an internal error occurs.
long getLongRhsValue()
throws ExternalException
ExternalException - if the attribute's type is not int or
if an internal error occurs.
float getFloatRhsValue()
throws ExternalException
ExternalException - if the attribute's type is not int or
if an internal error occurs.
double getDoubleRhsValue()
throws ExternalException
ExternalException - if the attribute's type is not int or double or
if an internal error occurs.
boolean getBooleanRhsValue()
throws ExternalException
ExternalException - if the attribute's type is not boolean or
if an internal error occurs.
java.lang.String getSymbolRhsValue()
throws ExternalException
ExternalException - if the attribute's type is not symbol or
if an internal error occurs.
java.lang.String getStringRhsValue()
throws ExternalException
ExternalException - if the attribute's type is not symbol or string or
if an internal error occurs.
IConcept getConceptRhsValue()
throws ExternalException
ExternalException - if the attribute's type is not IMetaType or IUserDefinedType or
if an internal error occurs.
IUnknown getUnknownRhsValue()
throws ExternalException
ExternalException - if the right hand side value is not 'unknown'.IUnknown.UNKNOWN
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||