net.sourceforge.ccxjc.it.model.pub.collections.valueclass.maven.profiles100
Class ProfilesRoot.Profiles

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.maven.profiles100.ProfilesRoot.Profiles
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
ProfilesRoot

public static class ProfilesRoot.Profiles
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="profile" type="{http://maven.apache.org/PROFILES/1.0.0}Profile" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Profile> profile
           
 
Constructor Summary
ProfilesRoot.Profiles()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.maven.profiles100.ProfilesRoot.Profiles instance.
ProfilesRoot.Profiles(ProfilesRoot.Profiles o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.maven.profiles100.ProfilesRoot.Profiles instance by copying a given instance.
 
Method Summary
 ProfilesRoot.Profiles clone()
          Creates and returns a copy of this object.
static void copyProfile(List<Profile> source, List<Profile> target)
          Copies all values of property Profile.
 List<Profile> getProfile()
          Gets the value of the profile property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

profile

protected List<Profile> profile
Constructor Detail

ProfilesRoot.Profiles

public ProfilesRoot.Profiles()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.maven.profiles100.ProfilesRoot.Profiles instance.


ProfilesRoot.Profiles

public ProfilesRoot.Profiles(ProfilesRoot.Profiles o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.maven.profiles100.ProfilesRoot.Profiles instance by copying a given instance.

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

getProfile

public List<Profile> getProfile()
Gets the value of the profile 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 profile property.

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

    getProfile().add(newItem);
 

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


copyProfile

public static void copyProfile(List<Profile> source,
                               List<Profile> target)
Copies all values of property Profile.

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

clone

public ProfilesRoot.Profiles 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.