org.universAAL.middleware.connectors.deploy.karaf.model
Class FeaturesRoot

Package class diagram package FeaturesRoot
java.lang.Object
  extended by org.universAAL.middleware.connectors.deploy.karaf.model.FeaturesRoot
All Implemented Interfaces:
Serializable

public class FeaturesRoot
extends Object
implements Serializable

Root element of Feature definition. It contains optional attribute which allow name of repository. This name will be used in shell to display source repository of given feature.

Java class for featuresRoot complex type.

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

 <complexType name="featuresRoot">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element name="repository" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="feature" type="{http://karaf.apache.org/xmlns/features/v1.0.0}feature"/>
       </choice>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String name
           
protected  List<Serializable> repositoryOrFeature
           
 
Constructor Summary
FeaturesRoot()
           
 
Method Summary
 String getName()
          Gets the value of the name property.
 List<Serializable> getRepositoryOrFeature()
          Gets the value of the repositoryOrFeature property.
 boolean isSetName()
           
 boolean isSetRepositoryOrFeature()
           
 void setName(String value)
          Sets the value of the name property.
 void unsetRepositoryOrFeature()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

repositoryOrFeature

protected List<Serializable> repositoryOrFeature

name

protected String name
Constructor Detail

FeaturesRoot

public FeaturesRoot()
Method Detail

getRepositoryOrFeature

public List<Serializable> getRepositoryOrFeature()
Gets the value of the repositoryOrFeature 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 repositoryOrFeature property.

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

    getRepositoryOrFeature().add(newItem);
 

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


isSetRepositoryOrFeature

public boolean isSetRepositoryOrFeature()

unsetRepositoryOrFeature

public void unsetRepositoryOrFeature()

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

isSetName

public boolean isSetName()


Copyright © 2014 universAAL Consortium. All Rights Reserved.