org.jomc.tools.model
Class SourceSectionsType

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

@Generated(value="com.sun.tools.xjc.Driver",
           date="2012-05-23T02:54:23+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public class SourceSectionsType
extends ToolsType
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>
     <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>
 


Field Summary
protected  List<SourceSectionType> sourceSection
           
 
Fields inherited from class org.jomc.tools.model.ToolsType
modelVersion
 
Constructor Summary
SourceSectionsType()
          Creates a new SourceSectionsType instance.
SourceSectionsType(SourceSectionsType o)
          Creates a new SourceSectionsType instance by deeply copying a given SourceSectionsType instance.
 
Method Summary
 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.
 
Methods inherited from class org.jomc.tools.model.ToolsType
getAnyElement, getAnyElements, getAnyObject, getAnyObjects, getModelVersion, setModelVersion
 
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="2012-05-23T02:54:23+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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="2012-05-23T02:54:23+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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="2012-05-23T02:54:23+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
public SourceSectionsType clone()
Creates and returns a deep copy of this object.

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

getSourceSection

public SourceSectionType getSourceSection(String name)
Gets a section for a given name recursively from the list of sections.

Parameters:
name - The name of the section to return.
Returns:
The first matching section or null, if no such section is found.
Throws:
NullPointerException - if name is null.
See Also:
getSourceSection(), SourceSectionType.getName(), SourceSectionType.getSourceSections()


Copyright © 2005-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.