net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.changes100.impl
Class AuthorImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.changes100.impl.AuthorImpl
All Implemented Interfaces:
Serializable, Cloneable, Author

public class AuthorImpl
extends Object
implements Serializable, Cloneable, Author

See Also:
Serialized Form

Field Summary
protected  List<String> content
           
protected  String email
           
 
Constructor Summary
AuthorImpl()
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.changes100.impl.AuthorImpl instance.
AuthorImpl(AuthorImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.changes100.impl.AuthorImpl instance by copying a given instance.
 
Method Summary
 AuthorImpl clone()
          Creates and returns a copy of this object.
protected static void copyContent(List<String> source, List<String> target)
          Copies all values of property Content.
 List<String> getContent()
          A description of the author page.
 String getEmail()
          Gets the value of the email property.
 void setEmail(String value)
          Sets the value of the email property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected List<String> content

email

protected String email
Constructor Detail

AuthorImpl

public AuthorImpl()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.changes100.impl.AuthorImpl instance.


AuthorImpl

public AuthorImpl(AuthorImpl o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.novalueclass.maven.changes100.impl.AuthorImpl instance by copying a given instance.

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

getContent

public List<String> getContent()
Description copied from interface: Author
A description of the author page. Gets the value of the content 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 content property.

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

    getContent().add(newItem);
 

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

Specified by:
getContent in interface Author

getEmail

public String getEmail()
Description copied from interface: Author
Gets the value of the email property.

Specified by:
getEmail in interface Author
Returns:
possible object is String

setEmail

public void setEmail(String value)
Description copied from interface: Author
Sets the value of the email property.

Specified by:
setEmail in interface Author
Parameters:
value - allowed object is String

copyContent

protected static void copyContent(List<String> source,
                                  List<String> target)
Copies all values of property Content.

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

clone

public AuthorImpl 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.