|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.cwi.sen1.visbase.rstorecontainer.datatypes.FactInfo
public class FactInfo
This class represents the 'RStore Fact-identification data' being communicated over the ToolBus
FactInfoList
Field Summary | |
---|---|
private int |
m_id
|
private java.lang.String |
m_name
|
private nl.cwi.sen1.relationstores.types.RType |
m_rType
|
Constructor Summary | |
---|---|
FactInfo(aterm.ATermList aTermList)
Contructor that can be used to retrieve RStore FactInfo data from an ATermList representing this data. |
|
FactInfo(int factId,
nl.cwi.sen1.relationstores.types.RTuple factRTuple)
Contructor that can be used to retrieve RStore Fact data from an RTuple representing this data. |
Method Summary | |
---|---|
int |
getId()
Returns the numeric ID of the fact. |
java.lang.String |
getName()
Gets the name of the fact. |
nl.cwi.sen1.relationstores.types.RType |
getRType()
Gets the RType instance that represents the relation type of the fact. |
java.lang.String |
getType()
Gets the relation type of the fact. |
aterm.ATermList |
toAtermList()
Creates a new ATermList containing the values in this datatype. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int m_id
private java.lang.String m_name
private nl.cwi.sen1.relationstores.types.RType m_rType
Constructor Detail |
---|
public FactInfo(aterm.ATermList aTermList) throws ATermParseException
aTermList
- the ATermList containing the FactInfo Data (Format:
(int,str,term)
[1,"SIMPLE_GRAPH",relation([str,str])]
)
ATermParseException
- if parsing of ATermList fails.
java.lang.RuntimeException
- if ATermList input is null.public FactInfo(int factId, nl.cwi.sen1.relationstores.types.RTuple factRTuple)
factId
- ID of the fact. This ID is used to identify facts
between the visualisation tools.factRTuple
- RTuple containing the fact data.Method Detail |
---|
public int getId()
public java.lang.String getName()
public java.lang.String getType()
public nl.cwi.sen1.relationstores.types.RType getRType()
public aterm.ATermList toAtermList()
|
The Meta-Environment API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |