Class ChangeRelationRequest

  • All Implemented Interfaces:
    Serializable

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

      • ChangeRelationRequest

        public ChangeRelationRequest()
    • Method Detail

      • getId

        @NotNull
        public @NotNull UUID getId()
        Required. The ID of the relation that will be changed.

        Silently ignored if the ID is provided as path parameter of the request.

      • getSourceId

        public UUID getSourceId()
        The ID of the new source for the relation.
      • getTargetId

        public UUID getTargetId()
        The ID of the new target for the relation.
      • getStartingDate

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

        public Long getEndingDate()
        The new ending date for the relation.
      • setId

        public void setId​(@NotNull
                          @NotNull UUID id)
        Required. The ID of the relation that will be changed.

        Silently ignored if the ID is provided as path parameter of the request.

      • setSourceId

        public void setSourceId​(UUID sourceId)
        The ID of the new source for the relation.
      • setTargetId

        public void setTargetId​(UUID targetId)
        The ID of the new target for the relation.
      • setStartingDate

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

        public void setEndingDate​(Long endingDate)
        The new ending date for 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