Class RelationshipNode
- java.lang.Object
-
- lumis.portal.socialnetwork.relationship.entity.RelationshipNode
-
- All Implemented Interfaces:
IRelationship
public class RelationshipNode extends java.lang.Object implements IRelationship
Relationship entity implementation.Implements the
IRelationship
interface and stores the properties of a relationship.- Since:
- 7.0.0
- Version:
- $Revision$ $Date$
- See Also:
IRelationship
-
-
Constructor Summary
Constructors Constructor Description RelationshipNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getCreationDate()
Gets the IRelatable creation date.java.lang.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(java.util.Date creationDate)
Sets the creation date.void
setId(java.lang.String id)
Sets the Idvoid
setRelationshipType(RelationshipType relationshipType)
Sets the relationship type.void
setSource(RelatableNode source)
Sets the relatableNode source.void
setTarget(RelatableNode target)
Sets the relatableNode target.
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Description copied from interface:IRelationship
Gets the IRelatable identifier.- Specified by:
getId
in interfaceIRelationship
- Returns:
- string
-
setId
public void setId(java.lang.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 interfaceIRelationship
- 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 interfaceIRelationship
- 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 interfaceIRelationship
- Returns:
- IRelationshipType
-
setRelationshipType
public void setRelationshipType(RelationshipType relationshipType)
Sets the relationship type.- Parameters:
id
-- Since:
- 7.0.0
-
getCreationDate
public java.util.Date getCreationDate()
Description copied from interface:IRelationship
Gets the IRelatable creation date.- Specified by:
getCreationDate
in interfaceIRelationship
- Returns:
- creation date.
-
setCreationDate
public void setCreationDate(java.util.Date creationDate)
Sets the creation date.- Parameters:
creationDate
-- Since:
- 7.0.0
-
-