Class AddRelationRequest

  • All Implemented Interfaces:
    Serializable

    public class AddRelationRequest
    extends Object
    implements Serializable
    The properties of the relation to be added.
    See Also:
    Serialized Form
    • Constructor Detail

      • AddRelationRequest

        public AddRelationRequest()
    • Method Detail

      • getSourceId

        @NotNull
        public @NotNull UUID getSourceId()
        Required. The ID of the source of the relation.
      • getTargetId

        @NotNull
        public @NotNull UUID getTargetId()
        Required. The ID of the target of the relation.
      • getTypeId

        @NotNull
        public @NotNull UUID getTypeId()
        Required. The ID of the type of the relation.
      • getStartingDate

        public Long getStartingDate()
        The starting date of the relation.
      • getEndingDate

        public Long getEndingDate()
        The ending date of the relation.
      • setSourceId

        public void setSourceId​(@NotNull
                                @NotNull UUID sourceId)
        Required. The ID of the source of the relation.
      • setTargetId

        public void setTargetId​(@NotNull
                                @NotNull UUID targetId)
        Required. The ID of the target of the relation.
      • setTypeId

        public void setTypeId​(@NotNull
                              @NotNull UUID typeId)
        Required. The ID of the type of the relation.
      • setStartingDate

        public void setStartingDate​(Long startingDate)
        The starting date of the relation.
      • setEndingDate

        public void setEndingDate​(Long endingDate)
        The ending date of the relation.
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class Object
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Overrides:
        toString in class Object