Class PatchType
- java.lang.Object
-
- com.android.repository.impl.meta.Archive.ArchiveFile
-
- com.android.repository.impl.meta.Archive.PatchType
-
- com.android.repository.impl.generated.v1.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 Summary
Fields Modifier and Type Field Description protected RevisionTypebasedOnprotected java.lang.StringlegacyChecksumprotected longsizeprotected 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.java.lang.StringgetLegacyChecksum()Gets the value of the legacyChecksum property.longgetSize()Gets the value of the size property.java.lang.StringgetUrl()Gets the value of the url property.booleanisValidLegacyChecksum(java.lang.String value)voidsetBasedOn(RevisionType value)Sets the source revision for this patch.voidsetBasedOnInternal(RevisionType value)Sets the value of the basedOn property.voidsetLegacyChecksum(java.lang.String value)Sets the value of the legacyChecksum property.voidsetSize(long value)Sets the value of the size property.voidsetUrl(java.lang.String value)Sets the value of the url property.-
Methods inherited from class com.android.repository.impl.meta.Archive.ArchiveFile
getTypedChecksum, setTypedChecksum
-
-
-
-
Field Detail
-
basedOn
protected RevisionType basedOn
-
size
protected long size
-
legacyChecksum
protected java.lang.String legacyChecksum
-
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
-
getLegacyChecksum
public java.lang.String getLegacyChecksum()
Gets the value of the legacyChecksum property.- Overrides:
getLegacyChecksumin classArchive.ArchiveFile- Returns:
- possible object is
String
-
setLegacyChecksum
public void setLegacyChecksum(java.lang.String value)
Sets the value of the legacyChecksum property.- Overrides:
setLegacyChecksumin classArchive.ArchiveFile- Parameters:
value- allowed object isString
-
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
-
isValidLegacyChecksum
public boolean isValidLegacyChecksum(java.lang.String value)
-
setBasedOn
public void setBasedOn(RevisionType value)
Description copied from class:Archive.PatchTypeSets the source revision for this patch.- Overrides:
setBasedOnin classArchive.PatchType
-
createFactory
public ObjectFactory createFactory()
-
-