org.jomc.tools.model
Class SourceFilesType

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

@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 SourceFilesType
extends ToolsType
implements Cloneable, Inheritable

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>
     <extension base="{http://jomc.org/tools/model}ToolsType">
       <sequence>
         <element ref="{http://jomc.org/tools/model}source-file" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="final" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="override" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  Boolean _final
           
protected  Boolean override
           
protected  List<SourceFileType> sourceFile
           
 
Fields inherited from class org.jomc.tools.model.ToolsType
modelVersion
 
Constructor Summary
SourceFilesType()
          Creates a new SourceFilesType instance.
SourceFilesType(SourceFilesType o)
          Creates a new SourceFilesType instance by deeply copying a given SourceFilesType instance.
 
Method Summary
 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 of source file models.
 boolean isFinal()
          Gets the value of the final property.
 boolean isOverride()
          Gets the value of the override property.
 void setFinal(Boolean value)
          Sets the value of the final property.
 void setOverride(Boolean value)
          Sets the value of the override property.
 
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

sourceFile

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

_final

@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 Boolean _final

override

@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 Boolean override
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="2012-05-23T02:54:23+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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


isFinal

@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 boolean isFinal()
Gets the value of the final property.

Specified by:
isFinal in interface Inheritable
Returns:
possible object is Boolean

setFinal

@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 void setFinal(Boolean value)
Sets the value of the final property.

Parameters:
value - allowed object is Boolean

isOverride

@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 boolean isOverride()
Gets the value of the override property.

Specified by:
isOverride in interface Inheritable
Returns:
possible object is Boolean

setOverride

@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 void setOverride(Boolean value)
Sets the value of the override property.

Parameters:
value - allowed object is Boolean

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

Overrides:
clone in class ToolsType
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 of source file models.

Parameters:
identifier - The identifier of the source file model to return.
Returns:
The first matching source file model or null, if no such source file model is found.
Throws:
NullPointerException - if identifier is null.
See Also:
getSourceFile(), SourceFileType.getIdentifier()


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.