Class ArchiveType
- java.lang.Object
-
- com.android.repository.impl.meta.Archive
-
- com.android.repository.impl.generated.v1.ArchiveType
-
public class ArchiveType extends Archive
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 collection of files that can be downloaded for a given architecture. Thenode is mandatory in the repository packages and the collection must have at least one declared. Each archive contains a element and zero or more elements. Java class for archiveType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="archiveType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="host-os" type="{http://schemas.android.com/repository/android/common/01}osType" minOccurs="0"/> <element name="host-bits" type="{http://schemas.android.com/repository/android/common/01}bitSizeType" minOccurs="0"/> <element name="jvm-bits" type="{http://schemas.android.com/repository/android/common/01}bitSizeType" minOccurs="0"/> <element name="min-jvm-version" type="{http://schemas.android.com/repository/android/common/01}revisionType" minOccurs="0"/> <element name="complete" type="{http://schemas.android.com/repository/android/common/01}completeType"/> <element name="patches" type="{http://schemas.android.com/repository/android/common/01}patchesType" minOccurs="0"/> </all> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.android.repository.impl.meta.Archive
Archive.ArchiveFile, Archive.CompleteType, Archive.HostConfig, Archive.PatchesType, Archive.PatchType
-
-
Field Summary
Fields Modifier and Type Field Description protected CompleteTypecompleteprotected java.lang.IntegerhostBitsprotected java.lang.StringhostOsprotected java.lang.IntegerjvmBitsprotected RevisionTypeminJvmVersionprotected PatchesTypepatches-
Fields inherited from class com.android.repository.impl.meta.Archive
sHostConfig
-
-
Constructor Summary
Constructors Constructor Description ArchiveType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectFactorycreateFactory()Create aCommonFactorycorresponding to this instance'sSchemaModule.SchemaModuleVersion.CompleteTypegetComplete()Gets the value of the complete property.java.lang.IntegergetHostBits()Gets the value of the hostBits property.java.lang.StringgetHostOs()Gets the value of the hostOs property.java.lang.IntegergetJvmBits()Gets the value of the jvmBits property.RevisionTypegetMinJvmVersion()Gets the value of the minJvmVersion property.PatchesTypegetPatches()Gets the value of the patches property.booleanisValidHostBits(java.lang.String value)booleanisValidHostOs(java.lang.String value)booleanisValidJvmBits(java.lang.String value)voidsetComplete(Archive.CompleteType value)Sets the full zip of this package.voidsetCompleteInternal(CompleteType value)Sets the value of the complete property.voidsetHostBits(java.lang.Integer value)Sets the value of the hostBits property.voidsetHostOs(java.lang.String value)Sets the value of the hostOs property.voidsetJvmBits(java.lang.Integer value)Sets the value of the jvmBits property.voidsetMinJvmVersion(RevisionType value)Sets the minimum JVM version needed for thisArchive, if any.voidsetMinJvmVersionInternal(RevisionType value)Sets the value of the minJvmVersion property.voidsetPatches(Archive.PatchesType value)Sets theArchive.PatchesTypefor this Archive.voidsetPatchesInternal(PatchesType value)Sets the value of the patches property.-
Methods inherited from class com.android.repository.impl.meta.Archive
getAllPatches, getHostArch, getPatch, isCompatible
-
-
-
-
Field Detail
-
hostOs
protected java.lang.String hostOs
-
hostBits
protected java.lang.Integer hostBits
-
jvmBits
protected java.lang.Integer jvmBits
-
minJvmVersion
protected RevisionType minJvmVersion
-
complete
protected CompleteType complete
-
patches
protected PatchesType patches
-
-
Method Detail
-
getHostOs
public java.lang.String getHostOs()
Gets the value of the hostOs property.
-
setHostOs
public void setHostOs(java.lang.String value)
Sets the value of the hostOs property.
-
getHostBits
public java.lang.Integer getHostBits()
Gets the value of the hostBits property.- Overrides:
getHostBitsin classArchive- Returns:
- possible object is
Integer
-
setHostBits
public void setHostBits(java.lang.Integer value)
Sets the value of the hostBits property.- Overrides:
setHostBitsin classArchive- Parameters:
value- allowed object isInteger
-
getJvmBits
public java.lang.Integer getJvmBits()
Gets the value of the jvmBits property.- Overrides:
getJvmBitsin classArchive- Returns:
- possible object is
Integer
-
setJvmBits
public void setJvmBits(java.lang.Integer value)
Sets the value of the jvmBits property.- Overrides:
setJvmBitsin classArchive- Parameters:
value- allowed object isInteger
-
getMinJvmVersion
public RevisionType getMinJvmVersion()
Gets the value of the minJvmVersion property.- Overrides:
getMinJvmVersionin classArchive- Returns:
- possible object is
RevisionType
-
setMinJvmVersionInternal
public void setMinJvmVersionInternal(RevisionType value)
Sets the value of the minJvmVersion property.- Parameters:
value- allowed object isRevisionType
-
getComplete
public CompleteType getComplete()
Gets the value of the complete property.- Specified by:
getCompletein classArchive- Returns:
- possible object is
CompleteType
-
setCompleteInternal
public void setCompleteInternal(CompleteType value)
Sets the value of the complete property.- Parameters:
value- allowed object isCompleteType
-
getPatches
public PatchesType getPatches()
Gets the value of the patches property.- Overrides:
getPatchesin classArchive- Returns:
- possible object is
PatchesType
-
setPatchesInternal
public void setPatchesInternal(PatchesType value)
Sets the value of the patches property.- Parameters:
value- allowed object isPatchesType
-
isValidHostOs
public boolean isValidHostOs(java.lang.String value)
-
isValidHostBits
public boolean isValidHostBits(java.lang.String value)
-
isValidJvmBits
public boolean isValidJvmBits(java.lang.String value)
-
setMinJvmVersion
public void setMinJvmVersion(RevisionType value)
Description copied from class:ArchiveSets the minimum JVM version needed for thisArchive, if any.- Overrides:
setMinJvmVersionin classArchive
-
setComplete
public void setComplete(Archive.CompleteType value)
Description copied from class:ArchiveSets the full zip of this package.- Overrides:
setCompletein classArchive
-
setPatches
public void setPatches(Archive.PatchesType value)
Description copied from class:ArchiveSets theArchive.PatchesTypefor this Archive. Probably only needed internally.- Overrides:
setPatchesin classArchive
-
createFactory
public ObjectFactory createFactory()
Description copied from class:ArchiveCreate aCommonFactorycorresponding to this instance'sSchemaModule.SchemaModuleVersion.- Specified by:
createFactoryin classArchive
-
-