Package io.keikai.axyra.sheets
Record Class CustomProperty
java.lang.Object
java.lang.Record
io.keikai.axyra.sheets.CustomProperty
- Record Components:
name- the property namevalue- the typed value
A custom document property — one entry of the workbook's custom file
properties part (
docProps/custom.xml, ECMA-376 Part 1 §22.3).
A read view returned by Workbook.customProperties(); write
through Workbook.setCustomProperty(...) /
Workbook.removeCustomProperty(name). Names are matched exactly
(case-sensitive).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordA boolean value (vt:bool).static final recordA date value (vt:filetime).static final recordA numeric value.static final recordFidelity view of a variant type outside the modeled set (for examplevt:cycurrency):vtTypeis the original element name andvalueits text, both preserved verbatim in the file across open and save.static final recordA text value (vt:lpwstr).static interfaceThe typed value of a custom document property. -
Constructor Summary
ConstructorsConstructorDescriptionCustomProperty(String name, CustomProperty.Value value) Creates an instance of aCustomPropertyrecord class. -
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.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-