|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRelationTuple
IRelationTuple is a wrapper interface for a relation based tuple specifying the state represented by an IStatement (IBelief or IFact). The state of a relation tuple specifies the relationship between two concepts through a specific relation defined for one of the concepts (object relation object).
ITuple| Method Summary | |
|---|---|
IRelation |
getRelation()
Returns the relation defining the type of relationship between the left hand side and right hand side concepts. |
IConcept |
getRhsConcept()
Returns the right hand side concept that is related to the left hand side concept through the IRelation specified by this tuple. |
int |
getTruthValue()
Returns the truth value of the relationship between the two concepts. |
boolean |
isRhsUnknown()
Indicates if the rhs value is the value 'unknown'. |
| Methods inherited from interface gov.nasa.arc.brahms.vm.api.common.ITuple |
|---|
getLhsConcept, getLhsObject |
| Method Detail |
|---|
IRelation getRelation()
throws ExternalException
ExternalException - if an internal error occurs
IConcept getRhsConcept()
throws ExternalException
ExternalException - if rhs is unknown or if an internal error occurs
boolean isRhsUnknown()
throws ExternalException
ExternalException
int getTruthValue()
throws ExternalException
ExternalException - if an internal error occursITruthValue.TRUE,
ITruthValue.FALSE,
ITruthValue.UNKNOWN
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||