public class RdfThing
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
RdfThing()
Create an unnamed RdfThing
|
RdfThing(java.lang.String name)
Create an RdfThing with the given name
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Get the name of this property
|
java.net.URI |
getUri()
Get the URI which specifies this property
|
boolean |
isVariableFlag()
Query whether this RdfThing represents a variable
|
boolean |
matches(RdfThing thing)
Return whether this thing matches another thing.
|
void |
setName(java.lang.String thingName)
Set the name of this RdfThing
|
void |
setUri(java.net.URI objectUri)
Set the URI which specifies this object
|
void |
setVariableFlag(boolean variableFlag)
Set whether this RDF thing represents a variable.
|
java.lang.String |
toString()
return a string representation of this property.
|
public RdfThing()
public RdfThing(java.lang.String name)
name - the name for the thingpublic java.lang.String getName()
public java.net.URI getUri()
public boolean isVariableFlag()
public boolean matches(RdfThing thing)
thing - the thing to check for matching.public void setName(java.lang.String thingName)
thingName - the thing namepublic void setUri(java.net.URI objectUri)
objectUri - the uri for the objectpublic void setVariableFlag(boolean variableFlag)
variableFlag - the variable flagpublic java.lang.String toString()
toString in class java.lang.Object