org.jomc.model
Class ModelObject

Package class diagram package ModelObject
java.lang.Object
  extended by org.jomc.model.ModelObject
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
Argument, Arguments, Authors, Dependencies, Implementation, ImplementationReference, Implementations, Instance, Instances, Message, MessageReference, Messages, Module, Modules, Person, Persons, Properties, Property, PropertyReference, Specification, SpecificationReference, Specifications

@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 ModelObject
extends Object
implements Cloneable

Base model object.

Java class for ModelObject complex type.

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

 <complexType name="ModelObject">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://jomc.org/model}documentation" minOccurs="0"/>
         <element ref="{http://jomc.org/model}authors" minOccurs="0"/>
       </sequence>
       <attribute name="modelVersion" type="{http://jomc.org/model}Version" default="1.0" />
       <attribute name="createDate" type="{http://jomc.org/model}DateTime" />
       <attribute name="deprecated" type="{http://jomc.org/model}Flag" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Authors authors
           
protected  XMLGregorianCalendar createDate
           
protected  Boolean deprecated
           
protected  Texts documentation
           
protected  String modelVersion
           
 
Constructor Summary
ModelObject()
          Creates a new ModelObject instance.
ModelObject(ModelObject o)
          Creates a new ModelObject instance by deeply copying a given ModelObject instance.
 
Method Summary
 ModelObject clone()
          Creates and returns a deep copy of this object.
 Authors getAuthors()
          Authors of this object or null.
 XMLGregorianCalendar getCreateDate()
          The date this object got created or null.
 Texts getDocumentation()
          Documentation of this object or null.
 String getModelVersion()
          Model version of this object.
 boolean isDeprecated()
          true if this object is deprecated.
 void setAuthors(Authors value)
          Sets the value of the authors property.
 void setCreateDate(XMLGregorianCalendar value)
          Sets the value of the createDate property.
 void setDeprecated(Boolean value)
          Sets the value of the deprecated property.
 void setDocumentation(Texts value)
          Sets the value of the documentation property.
 void setModelVersion(String value)
          Sets the value of the modelVersion property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

documentation

@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 Texts documentation

authors

@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 Authors authors

modelVersion

@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 modelVersion

createDate

@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 XMLGregorianCalendar createDate

deprecated

@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 Boolean deprecated
Constructor Detail

ModelObject

public ModelObject()
Creates a new ModelObject instance.


ModelObject

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

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

getDocumentation

@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 Texts getDocumentation()
Documentation of this object or null.

Returns:
possible object is Texts

setDocumentation

@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 setDocumentation(Texts value)
Sets the value of the documentation property.

Parameters:
value - allowed object is Texts

getAuthors

@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 Authors getAuthors()
Authors of this object or null.

Returns:
possible object is Authors

setAuthors

@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 setAuthors(Authors value)
Sets the value of the authors property.

Parameters:
value - allowed object is Authors

getModelVersion

@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 getModelVersion()
Model version of this object.

Returns:
possible object is String

setModelVersion

@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 setModelVersion(String value)
Sets the value of the modelVersion property.

Parameters:
value - allowed object is String

getCreateDate

@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 XMLGregorianCalendar getCreateDate()
The date this object got created or null.

Returns:
possible object is XMLGregorianCalendar

setCreateDate

@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 setCreateDate(XMLGregorianCalendar value)
Sets the value of the createDate property.

Parameters:
value - allowed object is XMLGregorianCalendar

isDeprecated

@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 boolean isDeprecated()
true if this object is deprecated.

Returns:
possible object is Boolean

setDeprecated

@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 setDeprecated(Boolean value)
Sets the value of the deprecated property.

Parameters:
value - allowed object is Boolean

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 ModelObject clone()
Creates and returns a deep copy of this object.

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


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