Contents
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 aStub
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecfBundleTypeName
record component.Returns the value of thecfBundleTypeRole
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thelsHandlerRank
record component.Returns the value of thelsSupportsOpeningDocumentsInPlace
record component.Returns the value of thelsTypeIsPackage
record component.Returns the value of thensDocumentClass
record component.Returns the value of thensExportableTypes
record component.Returns the value of thensPersistentStoreTypeKey
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theuiSupportsDocumentBrowser
record component.Returns the value of theutTypeConformsTo
record 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 aStub
record class.- Parameters:
cfBundleTypeName
- the value for thecfBundleTypeName
record componentcfBundleTypeRole
- the value for thecfBundleTypeRole
record componentlsHandlerRank
- the value for thelsHandlerRank
record componentlsTypeIsPackage
- the value for thelsTypeIsPackage
record componentnsDocumentClass
- the value for thensDocumentClass
record componentnsPersistentStoreTypeKey
- the value for thensPersistentStoreTypeKey
record componentlsSupportsOpeningDocumentsInPlace
- the value for thelsSupportsOpeningDocumentsInPlace
record componentuiSupportsDocumentBrowser
- the value for theuiSupportsDocumentBrowser
record componentutTypeConformsTo
- the value for theutTypeConformsTo
record componentnsExportableTypes
- the value for thensExportableTypes
record 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 thecfBundleTypeName
record component.- Specified by:
cfBundleTypeName
in interfaceMacFileAssociationMixin
- Returns:
- the value of the
cfBundleTypeName
record component
-
cfBundleTypeRole
Returns the value of thecfBundleTypeRole
record component.- Specified by:
cfBundleTypeRole
in interfaceMacFileAssociationMixin
- Returns:
- the value of the
cfBundleTypeRole
record component
-
lsHandlerRank
Returns the value of thelsHandlerRank
record component.- Specified by:
lsHandlerRank
in interfaceMacFileAssociationMixin
- Returns:
- the value of the
lsHandlerRank
record component
-
lsTypeIsPackage
Returns the value of thelsTypeIsPackage
record component.- Specified by:
lsTypeIsPackage
in interfaceMacFileAssociationMixin
- Returns:
- the value of the
lsTypeIsPackage
record component
-
nsDocumentClass
Returns the value of thensDocumentClass
record component.- Specified by:
nsDocumentClass
in interfaceMacFileAssociationMixin
- Returns:
- the value of the
nsDocumentClass
record component
-
nsPersistentStoreTypeKey
Returns the value of thensPersistentStoreTypeKey
record component.- Specified by:
nsPersistentStoreTypeKey
in interfaceMacFileAssociationMixin
- Returns:
- the value of the
nsPersistentStoreTypeKey
record component
-
lsSupportsOpeningDocumentsInPlace
Returns the value of thelsSupportsOpeningDocumentsInPlace
record component.- Specified by:
lsSupportsOpeningDocumentsInPlace
in interfaceMacFileAssociationMixin
- Returns:
- the value of the
lsSupportsOpeningDocumentsInPlace
record component
-
uiSupportsDocumentBrowser
Returns the value of theuiSupportsDocumentBrowser
record component.- Specified by:
uiSupportsDocumentBrowser
in interfaceMacFileAssociationMixin
- Returns:
- the value of the
uiSupportsDocumentBrowser
record component
-
utTypeConformsTo
Returns the value of theutTypeConformsTo
record component.- Specified by:
utTypeConformsTo
in interfaceMacFileAssociationMixin
- Returns:
- the value of the
utTypeConformsTo
record component
-
nsExportableTypes
Returns the value of thensExportableTypes
record component.- Specified by:
nsExportableTypes
in interfaceMacFileAssociationMixin
- Returns:
- the value of the
nsExportableTypes
record component
-