Record Class AttachedImage
java.lang.Object
java.lang.Record
io.meeds.layout.model.AttachedImage
-
Constructor Summary
ConstructorsConstructorDescriptionAttachedImage(String objectType, String objectId, String fileId) Creates an instance of aAttachedImagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fileId()Returns the value of thefileIdrecord component.final inthashCode()Returns a hash code value for this object.objectId()Returns the value of theobjectIdrecord component.Returns the value of theobjectTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AttachedImage
Creates an instance of aAttachedImagerecord class.- Parameters:
objectType- the value for theobjectTyperecord componentobjectId- the value for theobjectIdrecord componentfileId- the value for thefileIdrecord 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). -
objectType
Returns the value of theobjectTyperecord component.- Returns:
- the value of the
objectTyperecord component
-
objectId
Returns the value of theobjectIdrecord component.- Returns:
- the value of the
objectIdrecord component
-
fileId
Returns the value of thefileIdrecord component.- Returns:
- the value of the
fileIdrecord component
-