net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.settings100
Class Settings.Mirrors

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.settings100.Settings.Mirrors
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
Settings

public static class Settings.Mirrors
extends Object
implements Serializable, Cloneable

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="mirror" type="{http://maven.apache.org/SETTINGS/1.0.0}Mirror" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Mirror> mirror
           
 
Constructor Summary
Settings.Mirrors()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.settings100.Settings.Mirrors instance.
Settings.Mirrors(Settings.Mirrors o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.settings100.Settings.Mirrors instance by copying a given instance.
 
Method Summary
 Settings.Mirrors clone()
          Creates and returns a copy of this object.
protected static void copyMirror(List<Mirror> source, List<Mirror> target)
          Copies all values of property Mirror.
 List<Mirror> getMirror()
          Gets the value of the mirror property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mirror

protected List<Mirror> mirror
Constructor Detail

Settings.Mirrors

public Settings.Mirrors()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.settings100.Settings.Mirrors instance.


Settings.Mirrors

public Settings.Mirrors(Settings.Mirrors o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.maven.settings100.Settings.Mirrors instance by copying a given instance.

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

getMirror

public List<Mirror> getMirror()
Gets the value of the mirror 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 mirror property.

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

    getMirror().add(newItem);
 

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


copyMirror

protected static void copyMirror(List<Mirror> source,
                                 List<Mirror> target)
Copies all values of property Mirror.

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

clone

public Settings.Mirrors 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.