@Generated(value="com.sun.tools.xjc.Driver", date="2013-04-22T06:46:06+02:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public class Dependencies extends ModelObject implements Cloneable
Java class for Dependencies complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Dependencies"> <complexContent> <extension base="{http://jomc.org/model}ModelObject"> <sequence> <element ref="{http://jomc.org/model}dependency" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Dependency> |
dependency |
authors, createDate, deprecated, documentation, MODEL_PUBLIC_ID, modelVersion
Constructor and Description |
---|
Dependencies()
Creates a new
Dependencies instance. |
Dependencies(Dependencies o)
Creates a new
Dependencies instance by deeply copying a given Dependencies instance. |
Modifier and Type | Method and Description |
---|---|
Dependencies |
clone()
Creates and returns a deep copy of this object.
|
List<Dependency> |
getDependenciesBySpecification(String specification)
Gets a list of dependencies referencing a given specification.
|
List<Dependency> |
getDependency()
Gets the value of the dependency property.
|
Dependency |
getDependency(String name)
Gets a dependency for a given name from the list of dependencies.
|
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersion
@Generated(value="com.sun.tools.xjc.Driver", date="2013-04-22T06:46:06+02:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") protected List<Dependency> dependency
public Dependencies()
Dependencies
instance.public Dependencies(Dependencies o)
Dependencies
instance by deeply copying a given Dependencies
instance.o
- The instance to copy.NullPointerException
- if o
is null
.@Generated(value="com.sun.tools.xjc.Driver", date="2013-04-22T06:46:06+02:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public List<Dependency> getDependency()
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 dependency property.
For example, to add a new item, do as follows:
getDependency().add(newItem);
Objects of the following type(s) are allowed in the list
Dependency
@Generated(value="com.sun.tools.xjc.Driver", date="2013-04-22T06:46:06+02:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public Dependencies clone()
clone
in class ModelObject
public Dependency getDependency(String name)
name
- The name of the dependency to return.null
, if no such dependency is found.NullPointerException
- if name
is null
.getDependency()
,
Dependency.getName()
public List<Dependency> getDependenciesBySpecification(String specification)
specification
- The identifier of a specification referenced by the dependencies to return.specification
.NullPointerException
- if specification
is null
.getDependency()
,
SpecificationReference.getIdentifier()
Copyright © 2005-2013 The JOMC Project. All Rights Reserved.