net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee
Class WelcomeFileListType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.WelcomeFileListType
All Implemented Interfaces:
Serializable, Cloneable

public class WelcomeFileListType
extends Object
implements Serializable, Cloneable

The welcome-file-list contains an ordered list of welcome files elements. Used in: web-app

Java class for welcome-file-listType complex type.

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

 <complexType name="welcome-file-listType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="welcome-file" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String id
           
protected  List<String> welcomeFile
           
 
Constructor Summary
WelcomeFileListType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.WelcomeFileListType instance.
WelcomeFileListType(WelcomeFileListType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.WelcomeFileListType instance by copying a given instance.
 
Method Summary
 WelcomeFileListType clone()
          Creates and returns a copy of this object.
static void copyWelcomeFile(List<String> source, List<String> target)
          Copies all values of property WelcomeFile.
 String getId()
          Gets the value of the id property.
 List<String> getWelcomeFile()
          Gets the value of the welcomeFile property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

welcomeFile

protected List<String> welcomeFile

id

protected String id
Constructor Detail

WelcomeFileListType

public WelcomeFileListType()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.WelcomeFileListType instance.


WelcomeFileListType

public WelcomeFileListType(WelcomeFileListType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.javaee.WelcomeFileListType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getWelcomeFile

public List<String> getWelcomeFile()
Gets the value of the welcomeFile 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 welcomeFile property.

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

    getWelcomeFile().add(newItem);
 

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


getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

copyWelcomeFile

public static void copyWelcomeFile(List<String> source,
                                   List<String> target)
Copies all values of property WelcomeFile.

Parameters:
target - The target to copy source to.
source - The source to copy from.
Throws:
NullPointerException - if source or target is null.

clone

public WelcomeFileListType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.