Class PatchType


  • public class PatchType
    extends Archive.PatchType
    DO NOT EDIT This file was generated by xjc from repo-common-01.xsd. Any changes will be lost upon recompilation of the schema. See the schema file for instructions on running xjc.

    A zip file containing a binary diff between a previous version of this package (specified in ) and the current version.

    Java class for patchType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="patchType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="based-on" type="{http://schemas.android.com/repository/android/common/01}revisionType"/>
             <group ref="{http://schemas.android.com/repository/android/common/01}archiveFields"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • size

        protected long size
      • legacyChecksum

        protected java.lang.String legacyChecksum
      • url

        protected java.lang.String url
    • Constructor Detail

      • PatchType

        public PatchType()
    • Method Detail

      • setBasedOnInternal

        public void setBasedOnInternal​(RevisionType value)
        Sets the value of the basedOn property.
        Parameters:
        value - allowed object is RevisionType
      • setSize

        public void setSize​(long value)
        Sets the value of the size property.
        Overrides:
        setSize in class Archive.ArchiveFile
      • getLegacyChecksum

        public java.lang.String getLegacyChecksum()
        Gets the value of the legacyChecksum property.
        Overrides:
        getLegacyChecksum in class Archive.ArchiveFile
        Returns:
        possible object is String
      • setLegacyChecksum

        public void setLegacyChecksum​(java.lang.String value)
        Sets the value of the legacyChecksum property.
        Overrides:
        setLegacyChecksum in class Archive.ArchiveFile
        Parameters:
        value - allowed object is String
      • getUrl

        public java.lang.String getUrl()
        Gets the value of the url property.
        Specified by:
        getUrl in class Archive.ArchiveFile
        Returns:
        possible object is String
      • setUrl

        public void setUrl​(java.lang.String value)
        Sets the value of the url property.
        Overrides:
        setUrl in class Archive.ArchiveFile
        Parameters:
        value - allowed object is String
      • isValidLegacyChecksum

        public boolean isValidLegacyChecksum​(java.lang.String value)