Class 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>
     
    • 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

      • 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()
        Specified by:
        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()
        Specified by:
        getChannel in class Repository
        Returns:
        The Channels 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.