lumis.portal.socialnetwork.relationship.entity
Class RelationshipNode

Package class diagram package RelationshipNode
java.lang.Object
  extended by lumis.portal.socialnetwork.relationship.entity.RelationshipNode
All Implemented Interfaces:
IRelationship

public class RelationshipNode
extends Object
implements IRelationship

Relationship entity implementation.

Implements the IRelationship interface and stores the properties of a relationship.

Since:
7.0.0
See Also:
IRelationship

Constructor Summary
RelationshipNode()
           
 
Method Summary
 Date getCreationDate()
          Gets the IRelatable creation date.
 String getId()
          Gets the IRelatable identifier.
 IRelationshipType getRelationshipType()
          Gets the relationship type.
 IRelatable getSource()
          Gets the IRelatable source.
 IRelatable getTarget()
          Gets the IRelatable target.
 void setCreationDate(Date creationDate)
          Sets the creation date.
 void setId(String id)
          Sets the Id
 void setRelationshipType(RelationshipType relationshipType)
          Sets the relationship type.
 void setSource(RelatableNode source)
          Sets the relatableNode source.
 void setTarget(RelatableNode target)
          Sets the relatableNode target.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationshipNode

public RelationshipNode()
Method Detail

getId

public String getId()
Description copied from interface: IRelationship
Gets the IRelatable identifier.

Specified by:
getId in interface IRelationship
Returns:
string

setId

public void setId(String id)
Sets the Id

Parameters:
id -
Since:
7.0.0

getSource

public IRelatable getSource()
Description copied from interface: IRelationship
Gets the IRelatable source.

Specified by:
getSource in interface IRelationship
Returns:
IRelatable

setSource

public void setSource(RelatableNode source)
Sets the relatableNode source.

Parameters:
source - RelatableNode source.
Since:
7.0.0

getTarget

public IRelatable getTarget()
Description copied from interface: IRelationship
Gets the IRelatable target.

Specified by:
getTarget in interface IRelationship
Returns:
IRelatable

setTarget

public void setTarget(RelatableNode target)
Sets the relatableNode target.

Parameters:
target - RelatableNode target.
Since:
7.0.0

getRelationshipType

public IRelationshipType getRelationshipType()
Description copied from interface: IRelationship
Gets the relationship type.

Specified by:
getRelationshipType in interface IRelationship
Returns:
IRelationshipType

setRelationshipType

public void setRelationshipType(RelationshipType relationshipType)
Sets the relationship type.

Parameters:
id -
Since:
7.0.0

getCreationDate

public Date getCreationDate()
Description copied from interface: IRelationship
Gets the IRelatable creation date.

Specified by:
getCreationDate in interface IRelationship
Returns:
creation date.

setCreationDate

public void setCreationDate(Date creationDate)
Sets the creation date.

Parameters:
creationDate -
Since:
7.0.0


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.