org.jomc.tools.model
Class SourceFilesType

Package class diagram package SourceFilesType
java.lang.Object
  extended by org.jomc.tools.model.SourceFilesType
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 SourceFilesType
extends Object
implements Cloneable

List of source files.

Java class for SourceFilesType complex type.

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

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


Field Summary
Modifier and Type Field and Description
protected  List<SourceFileType> sourceFile
           
 
Constructor Summary
Constructor and Description
SourceFilesType()
          Creates a new SourceFilesType instance.
SourceFilesType(SourceFilesType o)
          Creates a new SourceFilesType instance by deeply copying a given SourceFilesType instance.
 
Method Summary
Modifier and Type Method and Description
 SourceFilesType clone()
          Creates and returns a deep copy of this object.
 List<SourceFileType> getSourceFile()
          Gets the value of the sourceFile property.
 SourceFileType getSourceFile(String identifier)
          Gets a source file model for a given name from the list.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceFile

@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<SourceFileType> sourceFile
Constructor Detail

SourceFilesType

public SourceFilesType()
Creates a new SourceFilesType instance.


SourceFilesType

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

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

getSourceFile

@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<SourceFileType> getSourceFile()
Gets the value of the sourceFile 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 sourceFile property.

For example, to add a new item, do as follows:

    getSourceFile().add(newItem);
 

Objects of the following type(s) are allowed in the list SourceFileType


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 SourceFilesType clone()
Creates and returns a deep copy of this object.

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

getSourceFile

public SourceFileType getSourceFile(String identifier)
Gets a source file model for a given name from the list.

Parameters:
identifier - The identifier of the source file model to return.
Returns:
The source file model matching identifier from the list or null if no such source file model is found.
Throws:
NullPointerException - if identifier is null.


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