org.jomc.tools.model
Class SourceSectionsType

Package class diagram package SourceSectionsType
java.lang.Object
  extended by org.jomc.tools.model.SourceSectionsType
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-06-29T01:09:34+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class SourceSectionsType
extends Object
implements Cloneable

List of source sections.

Java class for SourceSectionsType complex type.

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

 <complexType name="SourceSectionsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://jomc.org/tools/model}source-section" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
Modifier and Type Field and Description
protected  List<SourceSectionType> sourceSection
           
 
Constructor Summary
Constructor and Description
SourceSectionsType()
          Creates a new SourceSectionsType instance.
SourceSectionsType(SourceSectionsType o)
          Creates a new SourceSectionsType instance by deeply copying a given SourceSectionsType instance.
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceSection

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-06-29T01:09:34+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected List<SourceSectionType> sourceSection
Constructor Detail

SourceSectionsType

public SourceSectionsType()
Creates a new SourceSectionsType instance.


SourceSectionsType

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

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

getSourceSection

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-06-29T01:09:34+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public List<SourceSectionType> getSourceSection()
Gets the value of the sourceSection 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 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


clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2010-06-29T01:09:34+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public SourceSectionsType clone()
Creates and returns a deep copy of this object.

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

getSourceSection

public SourceSectionType getSourceSection(String name)
Gets a section for a given name recursively.

Parameters:
name - The name of the section to return.
Returns:
The section with name name from the list or null if no such section is found.
Throws:
NullPointerException - if name is null.


Copyright © 2005-2010 The JOMC Project. All Rights Reserved.