com.android.sdklib.repositoryv2.generated.common.v1
Class ApiDetailsType
java.lang.Object
com.android.repository.impl.meta.TypeDetails
com.android.repository.impl.generated.v1.TypeDetails
com.android.sdklib.repositoryv2.generated.common.v1.ApiDetailsType
- All Implemented Interfaces:
- DetailsTypes.ApiDetailsType
- Direct Known Subclasses:
- AddonDetailsType, PlatformDetailsType, SourceDetailsType, SysImgDetailsType
public abstract class ApiDetailsType
- extends com.android.repository.impl.generated.v1.TypeDetails
- implements DetailsTypes.ApiDetailsType
DO NOT EDIT
This file was generated by xjc from sdk-common-01.xsd. Any changes will be lost upon recompilation of the schema.
See the schema file for instructions on running xjc.
Abstract subclass of type-details adding elements to specify the android version
a package corresponds to.
Java class for apiDetailsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="apiDetailsType">
<complexContent>
<extension base="{http://schemas.android.com/repository/android/common/01}typeDetails">
<sequence>
<element name="api-level" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="codename" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
Nested classes/interfaces inherited from class com.android.repository.impl.meta.TypeDetails |
com.android.repository.impl.meta.TypeDetails.GenericType |
Method Summary |
int |
getApiLevel()
Gets the value of the apiLevel property. |
java.lang.String |
getCodename()
Gets the value of the codename property. |
void |
setApiLevel(int value)
Sets the value of the apiLevel property. |
void |
setCodename(java.lang.String value)
Sets the value of the codename property. |
Methods inherited from class com.android.repository.impl.meta.TypeDetails |
createFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
apiLevel
protected int apiLevel
codename
protected java.lang.String codename
ApiDetailsType
public ApiDetailsType()
getApiLevel
public int getApiLevel()
- Gets the value of the apiLevel property.
- Specified by:
getApiLevel
in interface DetailsTypes.ApiDetailsType
setApiLevel
public void setApiLevel(int value)
- Sets the value of the apiLevel property.
- Specified by:
setApiLevel
in interface DetailsTypes.ApiDetailsType
getCodename
public java.lang.String getCodename()
- Gets the value of the codename property.
- Specified by:
getCodename
in interface DetailsTypes.ApiDetailsType
- Returns:
- possible object is
String
setCodename
public void setCodename(java.lang.String value)
- Sets the value of the codename property.
- Specified by:
setCodename
in interface DetailsTypes.ApiDetailsType
- Parameters:
value
- allowed object is
String