Class RepositoryType
- java.lang.Object
-
- com.android.repository.api.Repository
-
- com.android.repository.impl.generated.v2.RepositoryType
-
public class RepositoryType extends Repository
DO NOT EDIT This file was generated by xjc from repo-common-02.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/02}licenseType" maxOccurs="unbounded" minOccurs="0"/> <element name="channel" type="{http://schemas.android.com/repository/android/common/02}channelType" maxOccurs="unbounded" minOccurs="0"/> <choice> <element name="remotePackage" type="{http://schemas.android.com/repository/android/common/02}remotePackage" maxOccurs="unbounded" minOccurs="0"/> <element name="localPackage" type="{http://schemas.android.com/repository/android/common/02}localPackage" minOccurs="0"/> </choice> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<ChannelType>channelprotected java.util.List<LicenseType>licenseprotected LocalPackagelocalPackageprotected java.util.List<RemotePackage>remotePackage
-
Constructor Summary
Constructors Constructor Description RepositoryType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectFactorycreateFactory()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.LocalPackagegetLocalPackage()Gets the value of the localPackage property.java.util.List<RemotePackageImpl>getRemotePackage()java.util.List<RemotePackage>getRemotePackageInternal()Gets the value of the remotePackage property.voidsetLocalPackage(LocalPackageImpl value)voidsetLocalPackageInternal(LocalPackage value)Sets the value of the localPackage property.-
Methods inherited from class com.android.repository.api.Repository
addChannel, addLicense
-
-
-
-
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
-
-
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
setmethod 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
setmethod 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
setmethod 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:
getLocalPackagein classRepository- Returns:
- possible object is
LocalPackage
-
setLocalPackageInternal
public void setLocalPackageInternal(LocalPackage value)
Sets the value of the localPackage property.- Parameters:
value- allowed object isLocalPackage
-
getLicense
public java.util.List<License> getLicense()
- Specified by:
getLicensein classRepository- Returns:
- The
Licenses included in this repository. In general licenses should be obtained fromRepoPackages, not directly from the repository (as they might not even apply to any packages.
-
getChannel
public java.util.List<Channel> getChannel()
- Specified by:
getChannelin classRepository- Returns:
- The
Channels included in this repository. In general licenses should be obtained fromRepoPackages, not directly from the repository (as they might not even apply to any packages.
-
getRemotePackage
public java.util.List<RemotePackageImpl> getRemotePackage()
- Overrides:
getRemotePackagein classRepository
-
setLocalPackage
public void setLocalPackage(LocalPackageImpl value)
- Overrides:
setLocalPackagein classRepository
-
createFactory
public ObjectFactory createFactory()
- Specified by:
createFactoryin classRepository
-
-