public abstract class StringTerm extends TermAdapter<String>
| Modifier and Type | Field and Description |
|---|---|
protected String |
value
the value of the term
|
| Constructor and Description |
|---|
StringTerm(String value)
Ctor: Creates a string term with the given String as value, uses the
Sort "Thing"
|
StringTerm(String value,
Sort sort)
Ctor: Create a string term with the given value and sort.
|
StringTerm(StringTerm other)
Copy-Ctor: Creates a deep copy of the StringTerm
|
| Modifier and Type | Method and Description |
|---|---|
String |
get() |
abstract void |
set(String value)
Changes the java-object representation of the term to the
given value.
|
String |
toString() |
clone, containsTermsOfType, equals, getSort, getTerms, getTerms, hashCode, substituteprotected String value
public StringTerm(String value)
value - The value for the string term.public StringTerm(String value, Sort sort)
value - The value of for the string term.sort - The sort representing the type of the StringTerm.public StringTerm(StringTerm other)
other - The StringTerm that acts as source for the copyCopyright © 2018. All rights reserved.