
@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:08:56+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public class Services
extends ModletObject
implements Cloneable
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>
| Modifier and Type | Field and Description |
|---|---|
protected List<Service> |
service |
MODEL_PUBLIC_ID, PUBLIC_ID| Constructor and Description |
|---|
Services()
Creates a new
Services instance. |
Services(Services o)
Creates a new
Services instance by deeply copying a given Services instance. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjectspublic Services()
Services instance.public Services(Services o)
Services instance by deeply copying a given Services instance.o - The instance to copy.NullPointerException - if o is null.@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:08:56+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public List<Service> getService()
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
@Generated(value="com.sun.tools.xjc.Driver",
date="2016-11-01T03:08:56+01:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public Services clone()
clone in class ModletObjectpublic List<Service> getServices(String identifier)
identifier - The identifier of the services to return.identifier from the list or an empty list
if no services matching identifier are found.NullPointerException - if identifier is null.getService()public List<Service> getServices(Class<?> clazz)
clazz - The class of the services to return.class from the list or an empty list
if no services matching clazz are found.NullPointerException - if clazz is null.getService()Copyright © 2005–2016 The JOMC Project. All rights reserved.