Class RelationshipType

  • All Implemented Interfaces:
    IRelationshipType

    public class RelationshipType
    extends Object
    implements IRelationshipType
    RelationshipType entity implementation.

    Implements the IRelationshipType interface and stores the properties of a relationshipType.

    Since:
    7.0.0
    Version:
    $Revision: 20509 $ $Date: 2017-09-11 16:18:14 -0300 (Mon, 11 Sep 2017) $
    See Also:
    IRelationshipType
    • Constructor Detail

      • RelationshipType

        public RelationshipType()
    • Method Detail

      • setId

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

        public void setName​(String name)
        Sets the display name to source.
        Parameters:
        name - name to source.
        Since:
        7.0.0
      • setReverseName

        public void setReverseName​(String reverseName)
        Sets the display name to target.
        Parameters:
        reverseName - name to target.
        Since:
        7.0.0
      • setSourceTypes

        public void setSourceTypes​(Set<String> sourceTypes)
        Sets the source types.
        Parameters:
        sourceTypes - set with source types.
        Since:
        7.0.0
      • setTargetTypes

        public void setTargetTypes​(Set<String> targetTypes)
        Sets the target types.
        Parameters:
        targetTypes - set with target types.
        Since:
        7.0.0
      • setBidirectional

        public void setBidirectional​(Boolean bidirectional)
        Sets if the relationship is bidirectional.
        Parameters:
        bidirectional - true or false.
        Since:
        7.0.0