|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConstructedTerm
The interface for constructed terms (function symbols).
E.g. in the molecule jon[age(2005) hasValue 12]
age(2005) is a function symbol. Function symbols are only
allowed in WSML Rule and WSML FOL. Note that some data
values (e.g. _date(2005,12,12) look syntactically like function
symbols, but are transformed by the parser directly to
a DataValue
.
Term
Method Summary | |
---|---|
int |
getArity()
The arity of the ConstructedTerm indicates how many Terms are contained in the Term's list of arguments. |
IRI |
getFunctionSymbol()
The returned IRI represents the name of the ConstructedTerm. |
Term |
getParameter(int i)
The index i points to a position in the ConstructedTerm's list of arguments. |
List |
listParameters()
Return the list of all Parameters |
Methods inherited from interface org.omwg.logicalexpression.terms.Term |
---|
accept |
Method Detail |
---|
int getArity()
IRI getFunctionSymbol()
Term getParameter(int i)
i
- the position of the parameter desired, maximal getArity()-1
List listParameters()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |