|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.repository.impl.meta.RevisionType
public abstract class RevisionType
Superclass for xjc-generated revision class. Probably shouldn't be needed outside the repository
framework: normally Revision should be used.
| Constructor Summary | |
|---|---|
RevisionType()
|
|
| Method Summary | |
|---|---|
int |
getMajor()
The major component of the revision. |
java.lang.Integer |
getMicro()
The micro component of the revision, or null if unspecified. |
java.lang.Integer |
getMinor()
The minor component of the revision, or null if unspecified. |
java.lang.Integer |
getPreview()
The preview component of the revision, or null if unspecified. |
void |
setMajor(int major)
|
void |
setMicro(java.lang.Integer micro)
|
void |
setMinor(java.lang.Integer minor)
|
void |
setPreview(java.lang.Integer preview)
|
Revision |
toRevision()
Convenience method to convert this into a Revision. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RevisionType()
| Method Detail |
|---|
public int getMajor()
@Nullable public java.lang.Integer getMinor()
@Nullable public java.lang.Integer getMicro()
@Nullable public java.lang.Integer getPreview()
public void setMajor(int major)
public void setMinor(@Nullable
java.lang.Integer minor)
public void setMicro(@Nullable
java.lang.Integer micro)
public void setPreview(@Nullable
java.lang.Integer preview)
@NonNull public Revision toRevision()
Revision.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||