com.android.sdklib.repositoryv2.generated.repository.v1
Class LayoutlibType

java.lang.Object
  extended by com.android.sdklib.repositoryv2.meta.DetailsTypes.PlatformDetailsType.LayoutlibType
      extended by com.android.sdklib.repositoryv2.generated.repository.v1.LayoutlibType

public class LayoutlibType
extends DetailsTypes.PlatformDetailsType.LayoutlibType

Version information for a layoutlib included in a platform.

Java class for layoutlibType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="layoutlibType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element name="api" type="{http://www.w3.org/2001/XMLSchema}int"/>
         <element name="revision" type="{http://schemas.android.com/repository/android/common/01}revisionType" minOccurs="0"/>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  int api
           
protected  com.android.repository.impl.generated.v1.RevisionType revision
           
 
Constructor Summary
LayoutlibType()
           
 
Method Summary
 ObjectFactory createFactory()
           
 int getApi()
          Gets the value of the api property.
 com.android.repository.impl.generated.v1.RevisionType getRevision()
          Gets the value of the revision property.
 void setApi(int value)
          Sets the value of the api property.
 void setRevision(com.android.repository.impl.meta.RevisionType value)
           
 void setRevisionInternal(com.android.repository.impl.generated.v1.RevisionType value)
          Sets the value of the revision property.
 
Methods inherited from class com.android.sdklib.repositoryv2.meta.DetailsTypes.PlatformDetailsType.LayoutlibType
getPreciseRevision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

api

protected int api

revision

protected com.android.repository.impl.generated.v1.RevisionType revision
Constructor Detail

LayoutlibType

public LayoutlibType()
Method Detail

getApi

public int getApi()
Gets the value of the api property.

Specified by:
getApi in class DetailsTypes.PlatformDetailsType.LayoutlibType

setApi

public void setApi(int value)
Sets the value of the api property.

Specified by:
setApi in class DetailsTypes.PlatformDetailsType.LayoutlibType

getRevision

public com.android.repository.impl.generated.v1.RevisionType getRevision()
Gets the value of the revision property.

Overrides:
getRevision in class DetailsTypes.PlatformDetailsType.LayoutlibType
Returns:
possible object is RevisionType

setRevisionInternal

public void setRevisionInternal(com.android.repository.impl.generated.v1.RevisionType value)
Sets the value of the revision property.

Parameters:
value - allowed object is RevisionType

setRevision

public void setRevision(com.android.repository.impl.meta.RevisionType value)
Overrides:
setRevision in class DetailsTypes.PlatformDetailsType.LayoutlibType

createFactory

public ObjectFactory createFactory()