Record Class AssociationCreate
java.lang.Object
java.lang.Record
org.mbari.vars.annosaurus.sdk.r1.models.AssociationCreate
-
Constructor Summary
ConstructorDescriptionAssociationCreate
(UUID observationUuid, String linkName, String toConcept, String linkValue, String mimeType) Creates an instance of aAssociationCreate
record class.AssociationCreate
(UUID observationUuid, Association a) -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.linkName()
Returns the value of thelinkName
record component.Returns the value of thelinkValue
record component.mimeType()
Returns the value of themimeType
record component.Returns the value of theobservationUuid
record component.Returns the value of thetoConcept
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
AssociationCreate
-
AssociationCreate
public AssociationCreate(UUID observationUuid, String linkName, String toConcept, String linkValue, String mimeType) Creates an instance of aAssociationCreate
record class.- Parameters:
observationUuid
- the value for theobservationUuid
record componentlinkName
- the value for thelinkName
record componenttoConcept
- the value for thetoConcept
record componentlinkValue
- the value for thelinkValue
record componentmimeType
- the value for themimeType
record component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
observationUuid
Returns the value of theobservationUuid
record component.- Returns:
- the value of the
observationUuid
record component
-
linkName
Returns the value of thelinkName
record component.- Returns:
- the value of the
linkName
record component
-
toConcept
Returns the value of thetoConcept
record component.- Returns:
- the value of the
toConcept
record component
-
linkValue
Returns the value of thelinkValue
record component.- Returns:
- the value of the
linkValue
record component
-
mimeType
Returns the value of themimeType
record component.- Returns:
- the value of the
mimeType
record component
-