public class ValueGenerator extends Object implements ValueGeneratorIF
Constructor and Description |
---|
ValueGenerator() |
ValueGenerator(TopicIF topic,
String literal,
LocatorIF datatype,
LocatorIF locator) |
Modifier and Type | Method and Description |
---|---|
ValueGeneratorIF |
copy() |
LocatorIF |
getDatatype() |
String |
getLiteral() |
LocatorIF |
getLocator()
Returns a locator if the literal is a locator.
|
TopicIF |
getTopic() |
boolean |
isTopic()
Returns true if this generator produces a topic.
|
void |
setDatatype(LocatorIF datatype) |
void |
setLiteral(String literal) |
void |
setLocator(LocatorIF locator) |
String |
toString() |
public boolean isTopic()
ValueGeneratorIF
isTopic
in interface ValueGeneratorIF
public String getLiteral()
getLiteral
in interface ValueGeneratorIF
public LocatorIF getDatatype()
getDatatype
in interface ValueGeneratorIF
public LocatorIF getLocator()
ValueGeneratorIF
getLocator
in interface ValueGeneratorIF
public ValueGeneratorIF copy()
copy
in interface ValueGeneratorIF
public TopicIF getTopic()
getTopic
in interface ValueGeneratorIF
public void setLocator(LocatorIF locator)
public void setLiteral(String literal)
public void setDatatype(LocatorIF datatype)