Modifier and Type | Field and Description |
---|---|
Object |
object |
Object |
predicate |
Object |
subject |
Constructor and Description |
---|
TripleImpl(Object subject,
Object predicate,
Object object)
construct me from the three given subject, predicate and object Objects
|
Modifier and Type | Method and Description |
---|---|
Object |
getObject() |
Object |
getPredicate() |
Object |
getSubject() |
boolean |
isLiteral()
is this Triple representing a literal?
|
String |
nullValue(Object o)
get a NullValue representation
|
void |
setObject(Value<Object> object) |
void |
setPredicate(Object predicate) |
void |
setSubject(Object subject) |
String |
toString()
return a string representation of me
|
public Object subject
public Object predicate
public Object object
public Object getSubject()
getSubject
in interface Triple
public void setSubject(Object subject)
setSubject
in interface Triple
subject
- the subject to setpublic Object getPredicate()
getPredicate
in interface Triple
public void setPredicate(Object predicate)
setPredicate
in interface Triple
predicate
- the predicate to setpublic boolean isLiteral()
Triple
public String nullValue(Object o)
Triple
Copyright © 2017. All Rights Reserved.