Class ChangeRelationTypeRequest
Object
ChangeRelationTypeRequest
- All Implemented Interfaces:
Serializable
The properties of the Relation Type to be changed.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe new name of the role that the target plays.The new description of the Relation Type.getId()Required. The ID of the Relation Type to be changed.The new public id for the Relation Type.getRole()The new name of the role that the source plays.Deprecated.The new source type ID will be removed in the future.Deprecated.The new target type ID will be removed in the future.inthashCode()voidThe new name of the role that the target plays.voidsetDescription(String description) The new description of the Relation Type.voidRequired. The ID of the Relation Type to be changed.voidsetPublicId(String publicId) The new public id for the Relation Type.voidThe new name of the role that the source plays.voidsetSourceTypeId(UUID sourceTypeId) Deprecated.The new source type ID will be removed in the future.voidsetTargetTypeId(UUID targetTypeId) Deprecated.The new target type ID will be removed in the future.toString()
-
Constructor Details
-
ChangeRelationTypeRequest
public ChangeRelationTypeRequest()
-
-
Method Details
-
builder
-
getId
Required. The ID of the Relation Type to be changed. Silently ignored if the ID is provided as path parameter of the request. -
getPublicId
The new public id for the Relation Type.It must be unique within all Relation Types. It should contain only ASCII letters and digits. It must start with an uppercase ASCII character. It must end with "_C".
WARNING : The public id should only be changed with extreme caution, since it can break existing customizations. The only valid use case is to change it after creation of the type, if no public id was specified, and the generated proposal is not acceptable. -
getSourceTypeId
Deprecated.The new source type ID will be removed in the future.The ID of the new source type for the Relation Type. -
getRole
The new name of the role that the source plays. -
getTargetTypeId
Deprecated.The new target type ID will be removed in the future.The ID of the new target type for the Relation Type. -
getCoRole
The new name of the role that the target plays. -
getDescription
The new description of the Relation Type. -
setId
Required. The ID of the Relation Type to be changed. Silently ignored if the ID is provided as path parameter of the request. -
setPublicId
The new public id for the Relation Type.It must be unique within all Relation Types. It should contain only ASCII letters and digits. It must start with an uppercase ASCII character. It must end with "_C".
WARNING : The public id should only be changed with extreme caution, since it can break existing customizations. The only valid use case is to change it after creation of the type, if no public id was specified, and the generated proposal is not acceptable. -
setSourceTypeId
Deprecated.The new source type ID will be removed in the future.The ID of the new source type for the Relation Type. -
setRole
The new name of the role that the source plays. -
setTargetTypeId
Deprecated.The new target type ID will be removed in the future.The ID of the new target type for the Relation Type. -
setCoRole
The new name of the role that the target plays. -
setDescription
The new description of the Relation Type. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-