Record Class AssociationCreate
java.lang.Object
java.lang.Record
org.mbari.vars.annosaurus.sdk.r1.models.AssociationCreate
-
Constructor Summary
ConstructorsConstructorDescriptionAssociationCreate(UUID observationUuid, String linkName, String toConcept, String linkValue, String mimeType) Creates an instance of aAssociationCreaterecord class.AssociationCreate(UUID observationUuid, Association a) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.linkName()Returns the value of thelinkNamerecord component.Returns the value of thelinkValuerecord component.mimeType()Returns the value of themimeTyperecord component.Returns the value of theobservationUuidrecord component.Returns the value of thetoConceptrecord component.final StringtoString()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 aAssociationCreaterecord class.- Parameters:
observationUuid- the value for theobservationUuidrecord componentlinkName- the value for thelinkNamerecord componenttoConcept- the value for thetoConceptrecord componentlinkValue- the value for thelinkValuerecord componentmimeType- the value for themimeTyperecord 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 theobservationUuidrecord component.- Returns:
- the value of the
observationUuidrecord component
-
linkName
Returns the value of thelinkNamerecord component.- Returns:
- the value of the
linkNamerecord component
-
toConcept
Returns the value of thetoConceptrecord component.- Returns:
- the value of the
toConceptrecord component
-
linkValue
Returns the value of thelinkValuerecord component.- Returns:
- the value of the
linkValuerecord component
-
mimeType
Returns the value of themimeTyperecord component.- Returns:
- the value of the
mimeTyperecord component
-