Class StatementImpl
java.lang.Object
org.nuxeo.ecm.platform.relations.api.impl.StatementImpl
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Statement>
,Statement
Statement with subject, predicate and object.
- Author:
- Anahide Tchertchian
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConstructor for NULL statement.StatementImpl
(Node subject, Node predicate, Node object) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperties
(Map<Resource, Node[]> properties) void
addProperties
(Resource property, Node[] values) void
addProperty
(Resource property, Node value) clone()
int
void
void
deleteProperties
(Resource property, Node[] values) void
deleteProperty
(Resource property) void
deleteProperty
(Resource property, Node value) boolean
Node[]
getProperties
(Resource property) getProperty
(Resource property) int
hashCode()
void
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) toString()
-
Field Details
-
subject
-
predicate
-
object
-
properties
-
-
Constructor Details
-
StatementImpl
public StatementImpl()Constructor for NULL statement. -
StatementImpl
Constructor.- Parameters:
subject
- Resource or Blank nodepredicate
- Resourceobject
- Resource, Blank or Literal node
-
-
Method Details
-
getObject
-
setObject
-
getPredicate
- Specified by:
getPredicate
in interfaceStatement
-
setPredicate
- Specified by:
setPredicate
in interfaceStatement
-
getSubject
- Specified by:
getSubject
in interfaceStatement
-
setSubject
- Specified by:
setSubject
in interfaceStatement
-
getProperties
- Specified by:
getProperties
in interfaceStatement
-
getStringProperties
- Specified by:
getStringProperties
in interfaceStatement
-
getProperty
- Specified by:
getProperty
in interfaceStatement
-
getProperties
- Specified by:
getProperties
in interfaceStatement
-
setProperties
- Specified by:
setProperties
in interfaceStatement
-
setProperty
- Specified by:
setProperty
in interfaceStatement
-
setProperties
- Specified by:
setProperties
in interfaceStatement
-
deleteProperties
public void deleteProperties()- Specified by:
deleteProperties
in interfaceStatement
-
deleteProperty
- Specified by:
deleteProperty
in interfaceStatement
-
deleteProperty
- Specified by:
deleteProperty
in interfaceStatement
-
deleteProperties
- Specified by:
deleteProperties
in interfaceStatement
-
addProperties
- Specified by:
addProperties
in interfaceStatement
-
addProperty
- Specified by:
addProperty
in interfaceStatement
-
addProperties
- Specified by:
addProperties
in interfaceStatement
-
toString
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<Statement>
-
clone
-