org.jomc.modlet
Class Services

Package class diagram package Services
java.lang.Object
  extended by org.jomc.modlet.ModletObject
      extended by org.jomc.modlet.Services
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-04-01T02:20:36+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public class Services
extends ModletObject
implements Cloneable

List of services.

Java class for Services complex type.

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

 <complexType name="Services">
   <complexContent>
     <extension base="{http://jomc.org/modlet}ModletObject">
       <sequence>
         <element ref="{http://jomc.org/modlet}service" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Service> service
           
 
Fields inherited from class org.jomc.modlet.ModletObject
MODEL_PUBLIC_ID, PUBLIC_ID
 
Constructor Summary
Services()
          Creates a new Services instance.
Services(Services o)
          Creates a new Services instance by deeply copying a given Services instance.
 
Method Summary
 Services clone()
          Creates and returns a deep copy of this object.
 List<Service> getService()
          Gets the value of the service property.
 List<Service> getServices(Class<?> clazz)
          Gets all services for a given class from this list of services.
 List<Service> getServices(String identifier)
          Gets all services for a given identifier from this list of services.
 
Methods inherited from class org.jomc.modlet.ModletObject
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

service

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-04-01T02:20:36+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
protected List<Service> service
Constructor Detail

Services

public Services()
Creates a new Services instance.


Services

public Services(Services o)
Creates a new Services instance by deeply copying a given Services instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getService

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-04-01T02:20:36+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public List<Service> getService()
Gets the value of the service 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 service property.

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

    getService().add(newItem);
 

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


clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-04-01T02:20:36+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public Services clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class ModletObject
Returns:
A deep copy of this object.

getServices

public List<Service> getServices(String identifier)
Gets all services for a given identifier from this list of services.

Parameters:
identifier - The identifier of the services to return.
Returns:
An unmodifiable, sorted list holding services matching identifier from the list or an empty list if no services matching identifier are found.
Throws:
NullPointerException - if identifier is null.
See Also:
getService()

getServices

public List<Service> getServices(Class<?> clazz)
Gets all services for a given class from this list of services.

Parameters:
clazz - The class of the services to return.
Returns:
An unmodifiable, sorted list holding services matching class from the list or an empty list if no services matching clazz are found.
Throws:
NullPointerException - if clazz is null.
See Also:
getService()


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.