@Generated(value="com.sun.tools.xjc.Driver", date="2015-05-31T11:53:40+02:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public class SourceSectionsType extends ToolsType implements Cloneable
Java class for SourceSectionsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SourceSectionsType"> <complexContent> <extension base="{http://jomc.org/tools/model}ToolsType"> <sequence> <element ref="{http://jomc.org/tools/model}source-section" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<SourceSectionType> |
sourceSection |
modelVersion
Constructor and Description |
---|
SourceSectionsType()
Creates a new
SourceSectionsType instance. |
SourceSectionsType(SourceSectionsType o)
Creates a new
SourceSectionsType instance by deeply copying a given SourceSectionsType instance. |
Modifier and Type | Method and Description |
---|---|
SourceSectionsType |
clone()
Creates and returns a deep copy of this object.
|
List<SourceSectionType> |
getSourceSection()
Gets the value of the sourceSection property.
|
SourceSectionType |
getSourceSection(String name)
Gets a section for a given name recursively from the list of sections.
|
getAnyElement, getAnyElements, getAnyObject, getAnyObjects, getModelVersion, setModelVersion
@Generated(value="com.sun.tools.xjc.Driver", date="2015-05-31T11:53:40+02:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") protected List<SourceSectionType> sourceSection
public SourceSectionsType()
SourceSectionsType
instance.public SourceSectionsType(SourceSectionsType o)
SourceSectionsType
instance by deeply copying a given SourceSectionsType
instance.o
- The instance to copy.NullPointerException
- if o
is null
.@Generated(value="com.sun.tools.xjc.Driver", date="2015-05-31T11:53:40+02:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public List<SourceSectionType> getSourceSection()
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 sourceSection property.
For example, to add a new item, do as follows:
getSourceSection().add(newItem);
Objects of the following type(s) are allowed in the list
SourceSectionType
@Generated(value="com.sun.tools.xjc.Driver", date="2015-05-31T11:53:40+02:00", comments="JAXB RI vhudson-jaxb-ri-2.1-2") public SourceSectionsType clone()
public SourceSectionType getSourceSection(String name)
name
- The name of the section to return.null
, if no such section is found.NullPointerException
- if name
is null
.getSourceSection()
,
SourceSectionType.getName()
,
SourceSectionType.getSourceSections()
Copyright © 2005–2015 The JOMC Project. All rights reserved.