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="2012-03-28T01:26:51+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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, MODEL_PUBLIC_ID, 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, getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, getMail, getName, setMail, setName
 
Methods inherited from class org.jomc.model.ModelObject
getAnyElement, getAnyElement, getAnyElements, getAnyElements, getAnyObject, getAnyObjects, 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="2012-03-28T01:26:51+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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="2012-03-28T01:26:51+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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="2012-03-28T01:26:51+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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="2012-03-28T01:26:51+02:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-2")
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-2012 The JOMC Project. All Rights Reserved.Get JOMC at SourceForge.net. Fast, secure and Free Open Source software downloads
Please note that this documentation is maintained by non-native english speaking authors. As such, you may encounter phrases or wordings which seem imprecise or may even have a totally different meaning to native english speaking readers than what the individual author was trying to express. If you are a native english speaking reader and find any such phrases or wordings we kindly ask you to send an email to the corresponding author and help us improve this documentation in order to avoid misunderstandings. You will find the authors' email addresses at the top of each class. Please accept our apologies for any inconvenience caused.