Class CharacteristicTypeAssignmentReference
Object
CharacteristicTypeAssignmentReference
- All Implemented Interfaces:
Serializable
A reference to characteristic types corresponding to the assignment.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleangetId()Required. The ID of the reference.getMax()The maximum allowed, unlimited when null.intgetMin()The minimum allowed.The relation type direction, if the referenced resource is a relation type; otherwise null.The relation type restriction of the target asset type, if the referenced resource is a relation type; otherwise null.getType()Deprecated, for removal: This API element is subject to removal in a future version.inthashCode()booleanWhen set to true, the value of the assigned Characteristic Type cannot be edited by the user.voidRequired. The ID of the reference.voidThe maximum allowed, unlimited when null.voidsetMin(int min) The minimum allowed.voidsetReadOnly(boolean readOnly) When set to true, the value of the assigned Characteristic Type cannot be edited by the user.voidsetRelationTypeDirection(RelationTypeDirection relationTypeDirection) The relation type direction, if the referenced resource is a relation type; otherwise null.voidsetRelationTypeRestriction(UUID relationTypeRestriction) The relation type restriction of the target asset type, if the referenced resource is a relation type; otherwise null.voidsetResourceDiscriminator(String resourceDiscriminator) Either this field, or the resourceType is required. The resource discriminator.voidsetType(ResourceType type) Deprecated, for removal: This API element is subject to removal in a future version.toString()
-
Constructor Details
-
CharacteristicTypeAssignmentReference
public CharacteristicTypeAssignmentReference()
-
-
Method Details
-
getResourceDiscriminator
-
getType
Deprecated, for removal: This API element is subject to removal in a future version. -
setType
Deprecated, for removal: This API element is subject to removal in a future version. -
builder
-
getId
Required. The ID of the reference. -
getMin
public int getMin()The minimum allowed. -
getMax
The maximum allowed, unlimited when null. -
isReadOnly
public boolean isReadOnly()When set to true, the value of the assigned Characteristic Type cannot be edited by the user. Only applicable to AttributeType assignment lines. -
getRelationTypeDirection
The relation type direction, if the referenced resource is a relation type; otherwise null. -
getRelationTypeRestriction
The relation type restriction of the target asset type, if the referenced resource is a relation type; otherwise null. When specified, it effectively replaces the source asset type of the relation when relationTypeDirection = TO_SOURCE or the target asset type of the relation when relationTypeDirection = TO_TARGET. You can specify the relation type restriction only when relationTypeDirection is not null. If specified, it must be an ID of a subtype of the source or target asset type, depending on the value of relationTypeDirection. -
setId
Required. The ID of the reference. -
setMin
public void setMin(int min) The minimum allowed. -
setMax
The maximum allowed, unlimited when null. -
setReadOnly
public void setReadOnly(boolean readOnly) When set to true, the value of the assigned Characteristic Type cannot be edited by the user. Only applicable to AttributeType assignment lines. -
setResourceDiscriminator
Either this field, or the resourceType is required. The resource discriminator. Possible values: 'AttributeType', 'RelationType', 'DerivedRelationType' and 'ComplexRelationType'. -
setRelationTypeDirection
The relation type direction, if the referenced resource is a relation type; otherwise null. -
setRelationTypeRestriction
The relation type restriction of the target asset type, if the referenced resource is a relation type; otherwise null. When specified, it effectively replaces the source asset type of the relation when relationTypeDirection = TO_SOURCE or the target asset type of the relation when relationTypeDirection = TO_TARGET. You can specify the relation type restriction only when relationTypeDirection is not null. If specified, it must be an ID of a subtype of the source or target asset type, depending on the value of relationTypeDirection. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-