Class ChangeComplexRelationRequest
- Object
-
- 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChangeComplexRelationRequest.Builder
-
Constructor Summary
Constructors Constructor Description ChangeComplexRelationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ChangeComplexRelationRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
Map<UUID,List<AttributeValue>>
getAttributes()
The new attributes that the new complex relation should contain.@NotNull UUID
getId()
Required. The ID of the complex relation to be changed.List<ComplexRelationLegRequest>
getLegs()
The new list of legs that the changed complex relation should contain.Map<RelationTypeIdWithDirection,List<RelatedAssetId>>
getRelations()
The new relations that the new complex relation should contain.int
hashCode()
void
setAttributes(List<ComplexRelationAttributeRequest> attributeRequests)
Deprecated.This method will be removed in the future.void
setAttributes(Map<UUID,List<AttributeValue>> attributes)
Sets the new attributes that the new complex relation should contain.void
setId(@NotNull UUID id)
Required. The ID of the complex relation to be changed.void
setLegs(List<ComplexRelationLegRequest> legs)
The new list of legs that the changed complex relation should contain.void
setRelations(Map<RelationTypeIdWithDirection,List<RelatedAssetId>> relations)
The new relations that the new complex relation should contain.String
toString()
-
-
-
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, usesetAttributes(Map)
.Sets the list of attributes that the new complex relation should contain.- Parameters:
attributeRequests
- the attributes that the new complex relation should contain
-
builder
public static ChangeComplexRelationRequest.Builder builder()
-
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.
-
getRelations
public Map<RelationTypeIdWithDirection,List<RelatedAssetId>> getRelations()
The new relations that the new 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.
-
setRelations
public void setRelations(Map<RelationTypeIdWithDirection,List<RelatedAssetId>> relations)
The new relations that the new complex relation should contain.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classObject
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-