com.android.repository.impl.generated.v1
Class PatchType

java.lang.Object
  extended by com.android.repository.impl.meta.Archive.ArchiveFile
      extended by com.android.repository.impl.meta.Archive.PatchType
          extended by 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
protected  RevisionType basedOn
           
protected  java.lang.String checksum
           
protected  long size
           
protected  java.lang.String url
           
 
Constructor Summary
PatchType()
           
 
Method Summary
 ObjectFactory createFactory()
           
 RevisionType getBasedOn()
          Gets the value of the basedOn property.
 java.lang.String getChecksum()
          Gets the value of the checksum property.
 long getSize()
          Gets the value of the size property.
 java.lang.String getUrl()
          Gets the value of the url property.
 boolean isValidChecksum(java.lang.String value)
           
 void setBasedOn(RevisionType value)
          Sets the source revision for this patch.
 void setBasedOnInternal(RevisionType value)
          Sets the value of the basedOn property.
 void setChecksum(java.lang.String value)
          Sets the value of the checksum property.
 void setSize(long value)
          Sets the value of the size property.
 void setUrl(java.lang.String value)
          Sets the value of the url property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

basedOn

protected RevisionType basedOn

size

protected long size

checksum

protected java.lang.String checksum

url

protected java.lang.String url
Constructor Detail

PatchType

public PatchType()
Method Detail

getBasedOn

public RevisionType getBasedOn()
Gets the value of the basedOn property.

Specified by:
getBasedOn in class Archive.PatchType
Returns:
possible object is RevisionType

setBasedOnInternal

public void setBasedOnInternal(RevisionType value)
Sets the value of the basedOn property.

Parameters:
value - allowed object is RevisionType

getSize

public long getSize()
Gets the value of the size property.

Specified by:
getSize in class Archive.ArchiveFile

setSize

public void setSize(long value)
Sets the value of the size property.

Overrides:
setSize in class Archive.ArchiveFile

getChecksum

public java.lang.String getChecksum()
Gets the value of the checksum property.

Specified by:
getChecksum in class Archive.ArchiveFile
Returns:
possible object is String

setChecksum

public void setChecksum(java.lang.String value)
Sets the value of the checksum property.

Overrides:
setChecksum 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

isValidChecksum

public boolean isValidChecksum(java.lang.String value)

setBasedOn

public void setBasedOn(RevisionType value)
Description copied from class: Archive.PatchType
Sets the source revision for this patch.

Overrides:
setBasedOn in class Archive.PatchType

createFactory

public ObjectFactory createFactory()