Class ChangeComplexRelationRequest
Object
ChangeComplexRelationRequest
- All Implemented Interfaces:
Serializable
The properties of the complex relation to be added.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanDeprecated.The new attributes that the new complex relation should contain, designated by type public ID.getId()Required. The ID of the complex relation to be changed.getLegs()The new list of legs that the changed complex relation should contain.The new relations that the new complex relation should contain.inthashCode()booleanWhen partialAttributesUpdate is false, all existing attribute values are replaced by the provided ones.voidsetAttributes(List<ComplexRelationAttributeRequest> attributeRequests) Deprecated.This method will be removed in the future.voidsetAttributes(Map<UUID, List<AttributeValue>> attributes) Sets the new attributes that the new complex relation should contain.voidsetAttributesForTypePublicId(Map<String, List<AttributeValue>> attributesForTypePublicId) The new attributes that the new complex relation should contain, designated by type public ID.voidRequired. The ID of the complex relation to be changed.voidsetLegs(List<ComplexRelationLegRequest> legs) The new list of legs that the changed complex relation should contain.voidsetPartialAttributesUpdate(boolean partialAttributesUpdate) When partialAttributesUpdate is false, all existing attribute values are replaced by the provided ones.voidsetRelations(Map<RelationTypeIdWithDirection, List<RelatedAssetId>> relations) The new relations that the new complex relation should contain.toString()
-
Constructor Details
-
ChangeComplexRelationRequest
public ChangeComplexRelationRequest()
-
-
Method Details
-
setAttributes
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.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
-
getId
Required. The ID of the complex relation to be changed. -
getLegs
The new list of legs that the changed complex relation should contain. -
getRelations
The new relations that the new complex relation should contain. -
getAttributes
Deprecated.useattributesForTypePublicIdinsteadThe new attributes that the new complex relation should contain. -
getAttributesForTypePublicId
The new attributes that the new complex relation should contain, designated by type public ID. -
isPartialAttributesUpdate
public boolean isPartialAttributesUpdate()When partialAttributesUpdate is false, all existing attribute values are replaced by the provided ones. If no value is provided for an attribute type, then all corresponding values are removed. When partialAttributesUpdate is true, only the values for the attribute types provided in the request are replaced. If no value is provided for one of them, then the existing values are kept. The default parameter value is false. -
setId
Required. The ID of the complex relation to be changed. -
setLegs
The new list of legs that the changed complex relation should contain. -
setRelations
The new relations that the new complex relation should contain. -
setAttributesForTypePublicId
public void setAttributesForTypePublicId(Map<String, List<AttributeValue>> attributesForTypePublicId) The new attributes that the new complex relation should contain, designated by type public ID. -
setPartialAttributesUpdate
public void setPartialAttributesUpdate(boolean partialAttributesUpdate) When partialAttributesUpdate is false, all existing attribute values are replaced by the provided ones. If no value is provided for an attribute type, then all corresponding values are removed. When partialAttributesUpdate is true, only the values for the attribute types provided in the request are replaced. If no value is provided for one of them, then the existing values are kept. The default parameter value is false. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
attributesForTypePublicIdinstead