Class RevisionType
- java.lang.Object
-
- com.android.repository.impl.meta.RevisionType
-
- com.android.repository.impl.generated.v2.RevisionType
-
public class RevisionType extends RevisionType
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 full revision, with a major.minor.micro and an optional preview number. The major number is mandatory.
Java class for revisionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="revisionType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="major" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="minor" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="micro" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="preview" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> </all> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description RevisionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectFactorycreateFactory()intgetMajor()Gets the value of the major property.java.lang.IntegergetMicro()Gets the value of the micro property.java.lang.IntegergetMinor()Gets the value of the minor property.java.lang.IntegergetPreview()Gets the value of the preview property.voidsetMajor(int value)Sets the value of the major property.voidsetMicro(java.lang.Integer value)Sets the value of the micro property.voidsetMinor(java.lang.Integer value)Sets the value of the minor property.voidsetPreview(java.lang.Integer value)Sets the value of the preview property.-
Methods inherited from class com.android.repository.impl.meta.RevisionType
toRevision
-
-
-
-
Method Detail
-
getMajor
public int getMajor()
Gets the value of the major property.- Overrides:
getMajorin classRevisionType
-
setMajor
public void setMajor(int value)
Sets the value of the major property.- Overrides:
setMajorin classRevisionType
-
getMinor
public java.lang.Integer getMinor()
Gets the value of the minor property.- Overrides:
getMinorin classRevisionType- Returns:
- possible object is
Integer
-
setMinor
public void setMinor(java.lang.Integer value)
Sets the value of the minor property.- Overrides:
setMinorin classRevisionType- Parameters:
value- allowed object isInteger
-
getMicro
public java.lang.Integer getMicro()
Gets the value of the micro property.- Overrides:
getMicroin classRevisionType- Returns:
- possible object is
Integer
-
setMicro
public void setMicro(java.lang.Integer value)
Sets the value of the micro property.- Overrides:
setMicroin classRevisionType- Parameters:
value- allowed object isInteger
-
getPreview
public java.lang.Integer getPreview()
Gets the value of the preview property.- Overrides:
getPreviewin classRevisionType- Returns:
- possible object is
Integer
-
setPreview
public void setPreview(java.lang.Integer value)
Sets the value of the preview property.- Overrides:
setPreviewin classRevisionType- Parameters:
value- allowed object isInteger
-
createFactory
public ObjectFactory createFactory()
-
-