com.atlassian.confluence.plugins.edgeindex.model
Class DefaultEdge

java.lang.Object
  extended by com.atlassian.confluence.plugins.edgeindex.model.DefaultEdge
All Implemented Interfaces:
Edge

public class DefaultEdge
extends java.lang.Object
implements Edge


Constructor Summary
DefaultEdge(ConfluenceUser user, EdgeType edgeType, java.lang.Object target, java.util.Date date, java.lang.Object edgeId)
           
 
Method Summary
 java.util.Date getDate()
          The date the edge was created.
 java.lang.Object getEdgeId()
           
 EdgeType getEdgeType()
          The type of the edge.
 java.lang.Object getTarget()
          The object that the edge / action is targeted at.
 ConfluenceUser getUser()
          The user who created the edge.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEdge

public DefaultEdge(ConfluenceUser user,
                   EdgeType edgeType,
                   java.lang.Object target,
                   java.util.Date date,
                   java.lang.Object edgeId)
Method Detail

getUser

public ConfluenceUser getUser()
Description copied from interface: Edge
The user who created the edge.

Specified by:
getUser in interface Edge

getEdgeType

public EdgeType getEdgeType()
Description copied from interface: Edge
The type of the edge.

Specified by:
getEdgeType in interface Edge
See Also:
EdgeType

getEdgeId

public java.lang.Object getEdgeId()
Specified by:
getEdgeId in interface Edge
Returns:
an id to uniquely identifier the edge

getTarget

public java.lang.Object getTarget()
Description copied from interface: Edge
The object that the edge / action is targeted at.

Specified by:
getTarget in interface Edge

getDate

public java.util.Date getDate()
Description copied from interface: Edge
The date the edge was created.

Specified by:
getDate in interface Edge


Copyright © 2003-2014 Atlassian. All Rights Reserved.