Record Class MacFileAssociationMixin.Stub
java.lang.Object
java.lang.Record
jdk.jpackage.internal.model.MacFileAssociationMixin.Stub
- All Implemented Interfaces:
MacFileAssociationMixin
- Enclosing interface:
MacFileAssociationMixin
public static record MacFileAssociationMixin.Stub(String cfBundleTypeName, String cfBundleTypeRole, String lsHandlerRank, Optional<Boolean> lsTypeIsPackage, Optional<String> nsDocumentClass, Optional<String> nsPersistentStoreTypeKey, Optional<Boolean> lsSupportsOpeningDocumentsInPlace, Optional<Boolean> uiSupportsDocumentBrowser, List<String> utTypeConformsTo, List<String> nsExportableTypes)
extends Record
implements MacFileAssociationMixin
-
Nested Class Summary
Nested classes/interfaces inherited from interface jdk.jpackage.internal.model.MacFileAssociationMixin
MacFileAssociationMixin.Stub -
Constructor Summary
ConstructorsConstructorDescriptionStub(String cfBundleTypeName, String cfBundleTypeRole, String lsHandlerRank, Optional<Boolean> lsTypeIsPackage, Optional<String> nsDocumentClass, Optional<String> nsPersistentStoreTypeKey, Optional<Boolean> lsSupportsOpeningDocumentsInPlace, Optional<Boolean> uiSupportsDocumentBrowser, List<String> utTypeConformsTo, List<String> nsExportableTypes) Creates an instance of aStubrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecfBundleTypeNamerecord component.Returns the value of thecfBundleTypeRolerecord 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 thelsHandlerRankrecord component.Returns the value of thelsSupportsOpeningDocumentsInPlacerecord component.Returns the value of thelsTypeIsPackagerecord component.Returns the value of thensDocumentClassrecord component.Returns the value of thensExportableTypesrecord component.Returns the value of thensPersistentStoreTypeKeyrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuiSupportsDocumentBrowserrecord component.Returns the value of theutTypeConformsTorecord component.
-
Constructor Details
-
Stub
public Stub(String cfBundleTypeName, String cfBundleTypeRole, String lsHandlerRank, Optional<Boolean> lsTypeIsPackage, Optional<String> nsDocumentClass, Optional<String> nsPersistentStoreTypeKey, Optional<Boolean> lsSupportsOpeningDocumentsInPlace, Optional<Boolean> uiSupportsDocumentBrowser, List<String> utTypeConformsTo, List<String> nsExportableTypes) Creates an instance of aStubrecord class.- Parameters:
cfBundleTypeName- the value for thecfBundleTypeNamerecord componentcfBundleTypeRole- the value for thecfBundleTypeRolerecord componentlsHandlerRank- the value for thelsHandlerRankrecord componentlsTypeIsPackage- the value for thelsTypeIsPackagerecord componentnsDocumentClass- the value for thensDocumentClassrecord componentnsPersistentStoreTypeKey- the value for thensPersistentStoreTypeKeyrecord componentlsSupportsOpeningDocumentsInPlace- the value for thelsSupportsOpeningDocumentsInPlacerecord componentuiSupportsDocumentBrowser- the value for theuiSupportsDocumentBrowserrecord componentutTypeConformsTo- the value for theutTypeConformsTorecord componentnsExportableTypes- the value for thensExportableTypesrecord 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). -
cfBundleTypeName
Returns the value of thecfBundleTypeNamerecord component.- Specified by:
cfBundleTypeNamein interfaceMacFileAssociationMixin- Returns:
- the value of the
cfBundleTypeNamerecord component
-
cfBundleTypeRole
Returns the value of thecfBundleTypeRolerecord component.- Specified by:
cfBundleTypeRolein interfaceMacFileAssociationMixin- Returns:
- the value of the
cfBundleTypeRolerecord component
-
lsHandlerRank
Returns the value of thelsHandlerRankrecord component.- Specified by:
lsHandlerRankin interfaceMacFileAssociationMixin- Returns:
- the value of the
lsHandlerRankrecord component
-
lsTypeIsPackage
Returns the value of thelsTypeIsPackagerecord component.- Specified by:
lsTypeIsPackagein interfaceMacFileAssociationMixin- Returns:
- the value of the
lsTypeIsPackagerecord component
-
nsDocumentClass
Returns the value of thensDocumentClassrecord component.- Specified by:
nsDocumentClassin interfaceMacFileAssociationMixin- Returns:
- the value of the
nsDocumentClassrecord component
-
nsPersistentStoreTypeKey
Returns the value of thensPersistentStoreTypeKeyrecord component.- Specified by:
nsPersistentStoreTypeKeyin interfaceMacFileAssociationMixin- Returns:
- the value of the
nsPersistentStoreTypeKeyrecord component
-
lsSupportsOpeningDocumentsInPlace
Returns the value of thelsSupportsOpeningDocumentsInPlacerecord component.- Specified by:
lsSupportsOpeningDocumentsInPlacein interfaceMacFileAssociationMixin- Returns:
- the value of the
lsSupportsOpeningDocumentsInPlacerecord component
-
uiSupportsDocumentBrowser
Returns the value of theuiSupportsDocumentBrowserrecord component.- Specified by:
uiSupportsDocumentBrowserin interfaceMacFileAssociationMixin- Returns:
- the value of the
uiSupportsDocumentBrowserrecord component
-
utTypeConformsTo
Returns the value of theutTypeConformsTorecord component.- Specified by:
utTypeConformsToin interfaceMacFileAssociationMixin- Returns:
- the value of the
utTypeConformsTorecord component
-
nsExportableTypes
Returns the value of thensExportableTypesrecord component.- Specified by:
nsExportableTypesin interfaceMacFileAssociationMixin- Returns:
- the value of the
nsExportableTypesrecord component
-