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 Object
implements Edge


Constructor Summary
DefaultEdge(ConfluenceUser user, EdgeType edgeType, Object target, Date date, Object edgeId)
           
 
Method Summary
 Date getDate()
          The date the edge was created.
 Object getEdgeId()
           
 EdgeType getEdgeType()
          The type of the edge.
 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,
                   Object target,
                   Date date,
                   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 Object getEdgeId()
Specified by:
getEdgeId in interface Edge
Returns:
an id to uniquely identifier the edge

getTarget

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

Specified by:
getTarget in interface Edge

getDate

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

Specified by:
getDate in interface Edge


Copyright © 2003–2015 Atlassian. All rights reserved.