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
  • Constructor Details Link icon

    • Stub Link icon

      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 a Stub record class.
      Parameters:
      cfBundleTypeName - the value for the cfBundleTypeName record component
      cfBundleTypeRole - the value for the cfBundleTypeRole record component
      lsHandlerRank - the value for the lsHandlerRank record component
      lsTypeIsPackage - the value for the lsTypeIsPackage record component
      nsDocumentClass - the value for the nsDocumentClass record component
      nsPersistentStoreTypeKey - the value for the nsPersistentStoreTypeKey record component
      lsSupportsOpeningDocumentsInPlace - the value for the lsSupportsOpeningDocumentsInPlace record component
      uiSupportsDocumentBrowser - the value for the uiSupportsDocumentBrowser record component
      utTypeConformsTo - the value for the utTypeConformsTo record component
      nsExportableTypes - the value for the nsExportableTypes record component
  • Method Details Link icon

    • toString Link icon

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode Link icon

      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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals Link icon

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • cfBundleTypeName Link icon

      public String cfBundleTypeName()
      Returns the value of the cfBundleTypeName record component.
      Specified by:
      cfBundleTypeName in interface MacFileAssociationMixin
      Returns:
      the value of the cfBundleTypeName record component
    • cfBundleTypeRole Link icon

      public String cfBundleTypeRole()
      Returns the value of the cfBundleTypeRole record component.
      Specified by:
      cfBundleTypeRole in interface MacFileAssociationMixin
      Returns:
      the value of the cfBundleTypeRole record component
    • lsHandlerRank Link icon

      public String lsHandlerRank()
      Returns the value of the lsHandlerRank record component.
      Specified by:
      lsHandlerRank in interface MacFileAssociationMixin
      Returns:
      the value of the lsHandlerRank record component
    • lsTypeIsPackage Link icon

      public Optional<Boolean> lsTypeIsPackage()
      Returns the value of the lsTypeIsPackage record component.
      Specified by:
      lsTypeIsPackage in interface MacFileAssociationMixin
      Returns:
      the value of the lsTypeIsPackage record component
    • nsDocumentClass Link icon

      public Optional<String> nsDocumentClass()
      Returns the value of the nsDocumentClass record component.
      Specified by:
      nsDocumentClass in interface MacFileAssociationMixin
      Returns:
      the value of the nsDocumentClass record component
    • nsPersistentStoreTypeKey Link icon

      public Optional<String> nsPersistentStoreTypeKey()
      Returns the value of the nsPersistentStoreTypeKey record component.
      Specified by:
      nsPersistentStoreTypeKey in interface MacFileAssociationMixin
      Returns:
      the value of the nsPersistentStoreTypeKey record component
    • lsSupportsOpeningDocumentsInPlace Link icon

      public Optional<Boolean> lsSupportsOpeningDocumentsInPlace()
      Returns the value of the lsSupportsOpeningDocumentsInPlace record component.
      Specified by:
      lsSupportsOpeningDocumentsInPlace in interface MacFileAssociationMixin
      Returns:
      the value of the lsSupportsOpeningDocumentsInPlace record component
    • uiSupportsDocumentBrowser Link icon

      public Optional<Boolean> uiSupportsDocumentBrowser()
      Returns the value of the uiSupportsDocumentBrowser record component.
      Specified by:
      uiSupportsDocumentBrowser in interface MacFileAssociationMixin
      Returns:
      the value of the uiSupportsDocumentBrowser record component
    • utTypeConformsTo Link icon

      public List<String> utTypeConformsTo()
      Returns the value of the utTypeConformsTo record component.
      Specified by:
      utTypeConformsTo in interface MacFileAssociationMixin
      Returns:
      the value of the utTypeConformsTo record component
    • nsExportableTypes Link icon

      public List<String> nsExportableTypes()
      Returns the value of the nsExportableTypes record component.
      Specified by:
      nsExportableTypes in interface MacFileAssociationMixin
      Returns:
      the value of the nsExportableTypes record component