
@Generated(value="com.sun.tools.xjc.Driver",
date="2016-09-01T05:41:23+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public class Modlets
extends ModletObject
implements Cloneable
Java class for Modlets complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Modlets">
<complexContent>
<extension base="{http://jomc.org/modlet}ModletObject">
<sequence>
<element ref="{http://jomc.org/modlet}modlet" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Modlet> |
modlet |
MODEL_PUBLIC_ID, PUBLIC_ID| Constructor and Description |
|---|
Modlets()
Creates a new
Modlets instance. |
Modlets(Modlets o)
Creates a new
Modlets instance by deeply copying a given Modlets instance. |
| Modifier and Type | Method and Description |
|---|---|
Modlets |
clone()
Creates and returns a deep copy of this object.
|
Modlet |
getMergedModlet(String name,
String model)
Merges modlets of a model from this list of modlets to a single modlet.
|
List<Modlet> |
getModlet()
Gets the value of the modlet property.
|
Modlet |
getModlet(String name)
Gets a modlet for a given name from the list of modlets.
|
Schemas |
getSchemas(String model)
Gets schemas for a model from this list of modlets.
|
Schemas |
getSchemas(URI publicId)
Deprecated.
As of JOMC 1.8, removed without replacement. This method will be removed in JOMC 2.0.
|
Services |
getServices(String model)
Gets services for a model from this list of modlets.
|
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjectspublic Modlets()
Modlets instance.public Modlets(Modlets o)
Modlets instance by deeply copying a given Modlets instance.o - The instance to copy.NullPointerException - if o is null.@Generated(value="com.sun.tools.xjc.Driver",
date="2016-09-01T05:41:23+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public List<Modlet> getModlet()
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 modlet property.
For example, to add a new item, do as follows:
getModlet().add(newItem);
Objects of the following type(s) are allowed in the list
Modlet
@Generated(value="com.sun.tools.xjc.Driver",
date="2016-09-01T05:41:23+02:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public Modlets clone()
clone in class ModletObjectpublic Modlet getModlet(String name)
name - The name of the modlet to return.null, if no such modlet is found.NullPointerException - if name is null.getModlet(),
Modlet.getName()public Modlet getMergedModlet(String name, String model)
name - The name of the modlet to return.model - The identifier of the model of the modlet to return.model from the list.NullPointerException - if name or model is null.getModlet(),
Modlet.getModel()public Schemas getSchemas(String model)
model - The identifier of the model to return schemas of.model or null, if no such schemas are found.NullPointerException - if model is null.getModlet(),
Modlet.getModel()@Deprecated public Schemas getSchemas(URI publicId)
publicId - The public identifier of the schemas to return.publicId or null, if no such schemas are found.NullPointerException - if publicId is null.getModlet(),
Modlet.getSchemas(),
Schemas.getSchemasByPublicId(java.net.URI)public Services getServices(String model)
model - The identifier of the model to return services of.model or null, if no such services are found.NullPointerException - if model is null.getModlet(),
Modlet.getModel()Copyright © 2005–2016 The JOMC Project. All rights reserved.