Package sc.fiji.snt.io
Record Class OmeAxisUtils.OmeMetadata
java.lang.Object
java.lang.Record
sc.fiji.snt.io.OmeAxisUtils.OmeMetadata
- Enclosing class:
OmeAxisUtils
public static record OmeAxisUtils.OmeMetadata(String dimensionOrder, Map<String,Long> sizes, Map<String,Double> physicalSizes, Map<String,String> physicalUnits, String source)
extends Record
Parsed OME metadata container.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedimensionOrderrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thephysicalSizesrecord component.Returns the value of thephysicalUnitsrecord component.sizes()Returns the value of thesizesrecord component.source()Returns the value of thesourcerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
OmeMetadata
public OmeMetadata(String dimensionOrder, Map<String, Long> sizes, Map<String, Double> physicalSizes, Map<String, String> physicalUnits, String source) Creates an instance of aOmeMetadatarecord class.- Parameters:
dimensionOrder- the value for thedimensionOrderrecord componentsizes- the value for thesizesrecord componentphysicalSizes- the value for thephysicalSizesrecord componentphysicalUnits- the value for thephysicalUnitsrecord componentsource- the value for thesourcerecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
dimensionOrder
Returns the value of thedimensionOrderrecord component.- Returns:
- the value of the
dimensionOrderrecord component
-
sizes
Returns the value of thesizesrecord component.- Returns:
- the value of the
sizesrecord component
-
physicalSizes
Returns the value of thephysicalSizesrecord component.- Returns:
- the value of the
physicalSizesrecord component
-
physicalUnits
Returns the value of thephysicalUnitsrecord component.- Returns:
- the value of the
physicalUnitsrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-