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

java.lang.Object
  extended by com.android.repository.api.Repository
      extended by com.android.repository.impl.generated.v1.RepositoryType

public class RepositoryType
extends Repository

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. The repository, consisting of a licenses and packages.

Java class for repositoryType complex type.

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

 <complexType name="repositoryType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="license" type="{http://schemas.android.com/repository/android/common/01}licenseType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="channel" type="{http://schemas.android.com/repository/android/common/01}channelType" maxOccurs="unbounded" minOccurs="0"/>
         <choice>
           <element name="remotePackage" type="{http://schemas.android.com/repository/android/common/01}remotePackage" maxOccurs="unbounded" minOccurs="0"/>
           <element name="localPackage" type="{http://schemas.android.com/repository/android/common/01}localPackage" minOccurs="0"/>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<ChannelType> channel
           
protected  java.util.List<LicenseType> license
           
protected  LocalPackage localPackage
           
protected  java.util.List<RemotePackage> remotePackage
           
 
Constructor Summary
RepositoryType()
           
 
Method Summary
 ObjectFactory createFactory()
           
 java.util.List<Channel> getChannel()
           
 java.util.List<ChannelType> getChannelInternal()
          Gets the value of the channel property.
 java.util.List<License> getLicense()
           
 java.util.List<LicenseType> getLicenseInternal()
          Gets the value of the license property.
 LocalPackage getLocalPackage()
          Gets the value of the localPackage property.
 java.util.List<RemotePackageImpl> getRemotePackage()
           
 java.util.List<RemotePackage> getRemotePackageInternal()
          Gets the value of the remotePackage property.
 void setLocalPackage(LocalPackageImpl value)
           
 void setLocalPackageInternal(LocalPackage value)
          Sets the value of the localPackage property.
 
Methods inherited from class com.android.repository.api.Repository
addLicense
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

license

protected java.util.List<LicenseType> license

channel

protected java.util.List<ChannelType> channel

remotePackage

protected java.util.List<RemotePackage> remotePackage

localPackage

protected LocalPackage localPackage
Constructor Detail

RepositoryType

public RepositoryType()
Method Detail

getLicenseInternal

public java.util.List<LicenseType> getLicenseInternal()
Gets the value of the license property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the license property.

For example, to add a new item, do as follows:

    getLicense().add(newItem);
 

Objects of the following type(s) are allowed in the list LicenseType


getChannelInternal

public java.util.List<ChannelType> getChannelInternal()
Gets the value of the channel property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the channel property.

For example, to add a new item, do as follows:

    getChannel().add(newItem);
 

Objects of the following type(s) are allowed in the list ChannelType


getRemotePackageInternal

public java.util.List<RemotePackage> getRemotePackageInternal()
Gets the value of the remotePackage property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the remotePackage property.

For example, to add a new item, do as follows:

    getRemotePackage().add(newItem);
 

Objects of the following type(s) are allowed in the list RemotePackage


getLocalPackage

public LocalPackage getLocalPackage()
Gets the value of the localPackage property.

Overrides:
getLocalPackage in class Repository
Returns:
possible object is LocalPackage

setLocalPackageInternal

public void setLocalPackageInternal(LocalPackage value)
Sets the value of the localPackage property.

Parameters:
value - allowed object is LocalPackage

getLicense

public java.util.List<License> getLicense()
Overrides:
getLicense in class Repository
Returns:
The Licenses included in this repository. In general licenses should be obtained from RepoPackages, not directly from the repository (as they might not even apply to any packages.

getChannel

public java.util.List<Channel> getChannel()

getRemotePackage

public java.util.List<RemotePackageImpl> getRemotePackage()
Overrides:
getRemotePackage in class Repository

setLocalPackage

public void setLocalPackage(LocalPackageImpl value)
Overrides:
setLocalPackage in class Repository

createFactory

public ObjectFactory createFactory()
Specified by:
createFactory in class Repository