Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.platform.relations.web
Class StatementInfoImpl

java.lang.Object
  extended by org.nuxeo.ecm.platform.relations.web.StatementInfoImpl
All Implemented Interfaces:
java.io.Serializable, StatementInfo

public class StatementInfoImpl
extends java.lang.Object
implements StatementInfo

Statement representation for easier display.

Author:
Anahide Tchertchian
See Also:
Serialized Form

Constructor Summary
StatementInfoImpl()
           
StatementInfoImpl(Statement statement)
           
StatementInfoImpl(Statement statement, NodeInfo subjectRepresentation, NodeInfo predicateRepresentation, NodeInfo objectRepresentation)
           
 
Method Summary
 java.lang.String getAuthor()
           
 java.lang.String getComment()
           
 java.util.Date getCreationDate()
           
 java.util.Date getModificationDate()
           
 Node getObject()
           
 NodeInfo getObjectInfo()
           
 Resource getPredicate()
           
 NodeInfo getPredicateInfo()
           
 Statement getStatement()
           
 Subject getSubject()
           
 NodeInfo getSubjectInfo()
           
 boolean isIncoming()
           
 boolean isOutgoing()
           
 void setIncoming(boolean incoming)
           
 void setOutgoing(boolean outgoing)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementInfoImpl

public StatementInfoImpl()

StatementInfoImpl

public StatementInfoImpl(Statement statement)

StatementInfoImpl

public StatementInfoImpl(Statement statement,
                         NodeInfo subjectRepresentation,
                         NodeInfo predicateRepresentation,
                         NodeInfo objectRepresentation)
Method Detail

isIncoming

public boolean isIncoming()
Specified by:
isIncoming in interface StatementInfo

isOutgoing

public boolean isOutgoing()
Specified by:
isOutgoing in interface StatementInfo

setIncoming

public void setIncoming(boolean incoming)
Specified by:
setIncoming in interface StatementInfo

setOutgoing

public void setOutgoing(boolean outgoing)
Specified by:
setOutgoing in interface StatementInfo

getStatement

public Statement getStatement()
Specified by:
getStatement in interface StatementInfo

getSubject

public Subject getSubject()
Specified by:
getSubject in interface StatementInfo

getSubjectInfo

public NodeInfo getSubjectInfo()
Specified by:
getSubjectInfo in interface StatementInfo

getPredicate

public Resource getPredicate()
Specified by:
getPredicate in interface StatementInfo

getPredicateInfo

public NodeInfo getPredicateInfo()
Specified by:
getPredicateInfo in interface StatementInfo

getObject

public Node getObject()
Specified by:
getObject in interface StatementInfo

getObjectInfo

public NodeInfo getObjectInfo()
Specified by:
getObjectInfo in interface StatementInfo

getComment

public java.lang.String getComment()
Specified by:
getComment in interface StatementInfo

getCreationDate

public java.util.Date getCreationDate()
Specified by:
getCreationDate in interface StatementInfo

getModificationDate

public java.util.Date getModificationDate()
Specified by:
getModificationDate in interface StatementInfo

getAuthor

public java.lang.String getAuthor()
Specified by:
getAuthor in interface StatementInfo

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.