Class 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: 15056 $ $Date: 2012-11-29 18:51:41 -0200 (Thu, 29 Nov 2012) $
    See Also:
    IRelationship
    • Constructor Detail

      • RelationshipNode

        public RelationshipNode()
    • Method Detail

      • getId

        public java.lang.String getId()
        Description copied from interface: IRelationship
        Gets the IRelatable identifier.
        Specified by:
        getId in interface IRelationship
        Returns:
        string
      • setId

        public void setId​(java.lang.String id)
        Sets the Id
        Parameters:
        id -
        Since:
        7.0.0
      • setSource

        public void setSource​(RelatableNode source)
        Sets the relatableNode source.
        Parameters:
        source - RelatableNode source.
        Since:
        7.0.0
      • setTarget

        public void setTarget​(RelatableNode target)
        Sets the relatableNode target.
        Parameters:
        target - RelatableNode target.
        Since:
        7.0.0
      • 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 interface IRelationship
        Returns:
        creation date.
      • setCreationDate

        public void setCreationDate​(java.util.Date creationDate)
        Sets the creation date.
        Parameters:
        creationDate -
        Since:
        7.0.0