Class ChangeComplexRelationRequest

  • All Implemented Interfaces:
    Serializable

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

      • ChangeComplexRelationRequest

        public ChangeComplexRelationRequest()
    • Method Detail

      • setAttributes

        public void setAttributes​(Map<UUID,​List<AttributeValue>> attributes)
        Sets the new attributes that the new complex relation should contain.
        Parameters:
        attributes - the new attributes that the new complex relation should contain
      • setAttributes

        @Deprecated
        public void setAttributes​(List<ComplexRelationAttributeRequest> attributeRequests)
        Deprecated.
        This method will be removed in the future. Please, use setAttributes(Map).
        Sets the list of attributes that the new complex relation should contain.
        Parameters:
        attributeRequests - the attributes that the new complex relation should contain
      • getId

        @NotNull
        public @NotNull UUID getId()
        Required. The ID of the complex relation to be changed.
      • getLegs

        public List<ComplexRelationLegRequest> getLegs()
        The new list of legs that the changed complex relation should contain.
      • getAttributes

        public Map<UUID,​List<AttributeValue>> getAttributes()
        The new attributes that the new complex relation should contain.
      • setId

        public void setId​(@NotNull
                          @NotNull UUID id)
        Required. The ID of the complex relation to be changed.
      • setLegs

        public void setLegs​(List<ComplexRelationLegRequest> legs)
        The new list of legs that the changed complex relation should contain.
      • 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