public class StatementImpl extends Object implements Statement
Constructor and Description |
---|
StatementImpl()
Constructor for NULL statement.
|
StatementImpl(Node subject,
Node predicate,
Node object)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addProperties(Map<Resource,Node[]> properties) |
void |
addProperties(Resource property,
Node[] values) |
void |
addProperty(Resource property,
Node value) |
Object |
clone() |
int |
compareTo(Statement o) |
void |
deleteProperties() |
void |
deleteProperties(Resource property,
Node[] values) |
void |
deleteProperty(Resource property) |
void |
deleteProperty(Resource property,
Node value) |
boolean |
equals(Object other) |
Node |
getObject() |
Resource |
getPredicate() |
Map<Resource,Node[]> |
getProperties() |
Node[] |
getProperties(Resource property) |
Node |
getProperty(Resource property) |
Map<String,Node[]> |
getStringProperties() |
Subject |
getSubject() |
int |
hashCode() |
void |
setObject(Node object) |
void |
setPredicate(Node predicate) |
void |
setProperties(Map<Resource,Node[]> properties) |
void |
setProperties(Resource property,
Node[] values) |
void |
setProperty(Resource property,
Node value) |
void |
setSubject(Node subject) |
String |
toString() |
public Resource getPredicate()
getPredicate
in interface Statement
public void setPredicate(Node predicate)
setPredicate
in interface Statement
public Subject getSubject()
getSubject
in interface Statement
public void setSubject(Node subject)
setSubject
in interface Statement
public Map<Resource,Node[]> getProperties()
getProperties
in interface Statement
public Map<String,Node[]> getStringProperties()
getStringProperties
in interface Statement
public Node getProperty(Resource property)
getProperty
in interface Statement
public Node[] getProperties(Resource property)
getProperties
in interface Statement
public void setProperties(Map<Resource,Node[]> properties)
setProperties
in interface Statement
public void setProperty(Resource property, Node value)
setProperty
in interface Statement
public void setProperties(Resource property, Node[] values)
setProperties
in interface Statement
public void deleteProperties()
deleteProperties
in interface Statement
public void deleteProperty(Resource property)
deleteProperty
in interface Statement
public void deleteProperty(Resource property, Node value)
deleteProperty
in interface Statement
public void deleteProperties(Resource property, Node[] values)
deleteProperties
in interface Statement
public void addProperties(Map<Resource,Node[]> properties)
addProperties
in interface Statement
public void addProperty(Resource property, Node value)
addProperty
in interface Statement
public void addProperties(Resource property, Node[] values)
addProperties
in interface Statement
public int compareTo(Statement o)
compareTo
in interface Comparable<Statement>
Copyright © 2015 Nuxeo SA. All rights reserved.