public class PatchType extends Archive.PatchType
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>
| Modifier and Type | Field and Description |
|---|---|
protected RevisionType |
basedOn |
protected java.lang.String |
checksum |
protected long |
size |
protected java.lang.String |
url |
| Constructor and Description |
|---|
PatchType() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected RevisionType basedOn
protected long size
protected java.lang.String checksum
protected java.lang.String url
public RevisionType getBasedOn()
getBasedOn in class Archive.PatchTypeRevisionTypepublic void setBasedOnInternal(RevisionType value)
value - allowed object is
RevisionTypepublic long getSize()
getSize in class Archive.ArchiveFilepublic void setSize(long value)
setSize in class Archive.ArchiveFilepublic java.lang.String getChecksum()
getChecksum in class Archive.ArchiveFileStringpublic void setChecksum(java.lang.String value)
setChecksum in class Archive.ArchiveFilevalue - allowed object is
Stringpublic java.lang.String getUrl()
getUrl in class Archive.ArchiveFileStringpublic void setUrl(java.lang.String value)
setUrl in class Archive.ArchiveFilevalue - allowed object is
Stringpublic boolean isValidChecksum(java.lang.String value)
public void setBasedOn(RevisionType value)
Archive.PatchTypesetBasedOn in class Archive.PatchTypepublic ObjectFactory createFactory()