public class DataProperty
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_URI
Standard URI used by the type during the generation
|
| Constructor and Description |
|---|
DataProperty(java.lang.String name,
DataType datatype,
java.lang.Object value)
CONSTRUCTOR : initiate a new DataProperty
|
| Modifier and Type | Method and Description |
|---|---|
DataType |
getDatatype()
GETTER : datatype
|
java.lang.String |
getName()
GETTER : name
|
java.lang.String |
getRDFValue()
Get the RDF syntax corresponding to this Data property
|
java.lang.Object |
getValue()
GETTER : value
|
void |
setValue(java.lang.Object value)
SETTER: value
|
java.lang.String |
toString()
Default representation of the object on the standard output
|
public static final java.lang.String TYPE_URI
public DataProperty(java.lang.String name,
DataType datatype,
java.lang.Object value)
name - The name of the propertydatatype - The type of the propertyvalue - The value of the propertypublic java.lang.String getName()
namepublic java.lang.Object getValue()
valuepublic void setValue(java.lang.Object value)
value - valuepublic java.lang.String getRDFValue()
public java.lang.String toString()
toString in class java.lang.ObjectgetRDFValue()