org.jomc.model
Class Author

Package class diagram package Author
java.lang.Object
  extended by org.jomc.model.ModelObject
      extended by org.jomc.model.Person
          extended by org.jomc.model.Author
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class Author
extends Person
implements Cloneable

Model of an author. The 'Author' type extends the 'Person' type adding attribute 'version' holding a version created by the author.

Java class for Author complex type.

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

 <complexType name="Author">
   <complexContent>
     <extension base="{http://jomc.org/model}Person">
       <attribute name="version" type="{http://jomc.org/model}Version" />
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  String version
           
 
Fields inherited from class org.jomc.model.Person
any, mail, name
 
Fields inherited from class org.jomc.model.ModelObject
authors, createDate, deprecated, documentation, modelVersion
 
Constructor Summary
Author()
          Creates a new Author instance.
Author(Author o)
          Creates a new Author instance by deeply copying a given Author instance.
 
Method Summary
 Author clone()
          Creates and returns a deep copy of this object.
 String getVersion()
          The version created by this author or null.
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class org.jomc.model.Person
getAny, getMail, getName, setMail, setName
 
Methods inherited from class org.jomc.model.ModelObject
getAuthors, getCreateDate, getDocumentation, getModelVersion, isDeprecated, setAuthors, setCreateDate, setDeprecated, setDocumentation, setModelVersion
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String version
Constructor Detail

Author

public Author()
Creates a new Author instance.


Author

public Author(Author o)
Creates a new Author instance by deeply copying a given Author instance.

Parameters:
o - The instance to copy.
Throws:
NullPointerException - if o is null.
Method Detail

getVersion

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getVersion()
The version created by this author or null.

Returns:
possible object is String

setVersion

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-12-07T03:06:36+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Author clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class Person
Returns:
A deep copy of this object.


Copyright © 2005-2009 The JOMC Project. All Rights Reserved.