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

java.lang.Object
  extended by com.android.repository.impl.meta.RevisionType
      extended by com.android.repository.impl.generated.v1.RevisionType

public class RevisionType
extends RevisionType

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 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>
 


Field Summary
protected  int major
           
protected  java.lang.Integer micro
           
protected  java.lang.Integer minor
           
protected  java.lang.Integer preview
           
 
Constructor Summary
RevisionType()
           
 
Method Summary
 ObjectFactory createFactory()
           
 int getMajor()
          Gets the value of the major property.
 java.lang.Integer getMicro()
          Gets the value of the micro property.
 java.lang.Integer getMinor()
          Gets the value of the minor property.
 java.lang.Integer getPreview()
          Gets the value of the preview property.
 void setMajor(int value)
          Sets the value of the major property.
 void setMicro(java.lang.Integer value)
          Sets the value of the micro property.
 void setMinor(java.lang.Integer value)
          Sets the value of the minor property.
 void setPreview(java.lang.Integer value)
          Sets the value of the preview property.
 
Methods inherited from class com.android.repository.impl.meta.RevisionType
toRevision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

major

protected int major

minor

protected java.lang.Integer minor

micro

protected java.lang.Integer micro

preview

protected java.lang.Integer preview
Constructor Detail

RevisionType

public RevisionType()
Method Detail

getMajor

public int getMajor()
Gets the value of the major property.

Overrides:
getMajor in class RevisionType

setMajor

public void setMajor(int value)
Sets the value of the major property.

Overrides:
setMajor in class RevisionType

getMinor

public java.lang.Integer getMinor()
Gets the value of the minor property.

Overrides:
getMinor in class RevisionType
Returns:
possible object is Integer

setMinor

public void setMinor(java.lang.Integer value)
Sets the value of the minor property.

Overrides:
setMinor in class RevisionType
Parameters:
value - allowed object is Integer

getMicro

public java.lang.Integer getMicro()
Gets the value of the micro property.

Overrides:
getMicro in class RevisionType
Returns:
possible object is Integer

setMicro

public void setMicro(java.lang.Integer value)
Sets the value of the micro property.

Overrides:
setMicro in class RevisionType
Parameters:
value - allowed object is Integer

getPreview

public java.lang.Integer getPreview()
Gets the value of the preview property.

Overrides:
getPreview in class RevisionType
Returns:
possible object is Integer

setPreview

public void setPreview(java.lang.Integer value)
Sets the value of the preview property.

Overrides:
setPreview in class RevisionType
Parameters:
value - allowed object is Integer

createFactory

public ObjectFactory createFactory()