21 |
|
|
22 |
package nongnu.cashews.owls.expression; |
package nongnu.cashews.owls.expression; |
23 |
|
|
24 |
|
import nongnu.cashews.rdf.XMLLiteral; |
25 |
|
|
26 |
/** |
/** |
27 |
* This class represents an OWL-S expression in a particular |
* This class represents an OWL-S expression in a particular |
28 |
* logical language. |
* logical language. |
39 |
*/ |
*/ |
40 |
private LogicLanguage language; |
private LogicLanguage language; |
41 |
|
|
42 |
/* TODO: Add expression body */ |
/** |
43 |
|
* The value of this expression, in the form of literal XML. |
44 |
|
* |
45 |
|
* @see nongnu.cashews.rdf.XMLLiteral |
46 |
|
*/ |
47 |
|
private XMLLiteral value; |
48 |
|
|
49 |
|
/** |
50 |
|
* Sets the logical formalism used by this expression. |
51 |
|
* |
52 |
|
* @param newLang the new language to use. |
53 |
|
*/ |
54 |
|
public void setLanguage(LogicLanguage newLang) |
55 |
|
{ |
56 |
|
language = newLang; |
57 |
|
} |
58 |
|
|
59 |
} |
} |