net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jomc
Class Authors

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

public class Authors
extends ModelObject
implements Serializable, Cloneable

List of authors.

See Also:
Serialized Form

Field Summary
protected  List<Author> author
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jomc.ModelObject
authors, createDate, documentation, modelVersion
 
Constructor Summary
Authors()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jomc.Authors instance.
Authors(Authors o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jomc.Authors instance by copying a given instance.
 
Method Summary
 Authors clone()
          Creates and returns a copy of this object.
static void copyAuthor(List<Author> source, List<Author> target)
          Copies all values of property Author.
 List<Author> getAuthor()
          Gets the value of the author property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.pub.collections.valueclass.jomc.ModelObject
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

author

protected List<Author> author
Constructor Detail

Authors

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


Authors

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

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

getAuthor

public List<Author> getAuthor()
Gets the value of the author 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 author property.

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

    getAuthor().add(newItem);
 

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


copyAuthor

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

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

clone

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

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


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