Class PatchType
- java.lang.Object
-
- com.android.repository.impl.meta.Archive.ArchiveFile
-
- com.android.repository.impl.meta.Archive.PatchType
-
- com.android.repository.impl.generated.v2.PatchType
-
public class PatchType extends Archive.PatchType
DO NOT EDIT This file was generated by xjc from repo-common-02.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/02}revisionType"/> <group ref="{http://schemas.android.com/repository/android/common/02}archiveFields"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected RevisionTypebasedOnprotected longsizeprotected ChecksumTypetypedChecksumprotected java.lang.Stringurl
-
Constructor Summary
Constructors Constructor Description PatchType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectFactorycreateFactory()RevisionTypegetBasedOn()Gets the value of the basedOn property.longgetSize()Gets the value of the size property.ChecksumTypegetTypedChecksum()Gets the value of the typedChecksum property.java.lang.StringgetUrl()Gets the value of the url property.voidsetBasedOn(RevisionType value)Sets the source revision for this patch.voidsetBasedOnInternal(RevisionType value)Sets the value of the basedOn property.voidsetSize(long value)Sets the value of the size property.voidsetTypedChecksum(Checksum value)Sets the checksum for this zip.voidsetTypedChecksumInternal(ChecksumType value)Sets the value of the typedChecksum property.voidsetUrl(java.lang.String value)Sets the value of the url property.-
Methods inherited from class com.android.repository.impl.meta.Archive.ArchiveFile
getLegacyChecksum, setLegacyChecksum
-
-
-
-
Field Detail
-
basedOn
protected RevisionType basedOn
-
size
protected long size
-
typedChecksum
protected ChecksumType typedChecksum
-
url
protected java.lang.String url
-
-
Method Detail
-
getBasedOn
public RevisionType getBasedOn()
Gets the value of the basedOn property.- Specified by:
getBasedOnin classArchive.PatchType- Returns:
- possible object is
RevisionType
-
setBasedOnInternal
public void setBasedOnInternal(RevisionType value)
Sets the value of the basedOn property.- Parameters:
value- allowed object isRevisionType
-
getSize
public long getSize()
Gets the value of the size property.- Specified by:
getSizein classArchive.ArchiveFile
-
setSize
public void setSize(long value)
Sets the value of the size property.- Overrides:
setSizein classArchive.ArchiveFile
-
getTypedChecksum
public ChecksumType getTypedChecksum()
Gets the value of the typedChecksum property.- Overrides:
getTypedChecksumin classArchive.ArchiveFile- Returns:
- possible object is
ChecksumType
-
setTypedChecksumInternal
public void setTypedChecksumInternal(ChecksumType value)
Sets the value of the typedChecksum property.- Parameters:
value- allowed object isChecksumType
-
getUrl
public java.lang.String getUrl()
Gets the value of the url property.- Specified by:
getUrlin classArchive.ArchiveFile- Returns:
- possible object is
String
-
setUrl
public void setUrl(java.lang.String value)
Sets the value of the url property.- Overrides:
setUrlin classArchive.ArchiveFile- Parameters:
value- allowed object isString
-
setBasedOn
public void setBasedOn(RevisionType value)
Description copied from class:Archive.PatchTypeSets the source revision for this patch.- Overrides:
setBasedOnin classArchive.PatchType
-
setTypedChecksum
public void setTypedChecksum(Checksum value)
Description copied from class:Archive.ArchiveFileSets the checksum for this zip.- Overrides:
setTypedChecksumin classArchive.ArchiveFile
-
createFactory
public ObjectFactory createFactory()
-
-