org.jomc.model.test
Class AnyModelObject

Package class diagram package AnyModelObject
java.lang.Object
  extended by org.jomc.model.test.AnyModelObject
All Implemented Interfaces:
Cloneable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class AnyModelObject
extends Object
implements Cloneable

Java class for AnyModelObject complex type.

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

 <complexType name="AnyModelObject">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <any processContents='lax' namespace='http://jomc.org/model' minOccurs="0"/>
       </sequence>
       <attribute name="valid" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  Object any
           
protected  boolean valid
           
 
Constructor Summary
AnyModelObject()
          Creates a new AnyModelObject instance.
AnyModelObject(AnyModelObject o)
          Creates a new AnyModelObject instance by deeply copying a given instance.
 
Method Summary
 AnyModelObject clone()
          Creates and returns a deep copy of this object.
private static Object copyAny(Object source)
          Creates and returns a deep copy of property Any.
private static boolean[] copyOf(boolean[] array)
          Creates and returns a deep copy of a given array.
private static byte[] copyOf(byte[] array)
          Creates and returns a deep copy of a given array.
private static char[] copyOf(char[] array)
          Creates and returns a deep copy of a given array.
private static double[] copyOf(double[] array)
          Creates and returns a deep copy of a given array.
private static float[] copyOf(float[] array)
          Creates and returns a deep copy of a given array.
private static int[] copyOf(int[] array)
          Creates and returns a deep copy of a given array.
private static long[] copyOf(long[] array)
          Creates and returns a deep copy of a given array.
private static short[] copyOf(short[] array)
          Creates and returns a deep copy of a given array.
private static Object copyOfArray(Object array)
          Creates and returns a deep copy of a given array.
private static JAXBElement copyOFJAXBElement(JAXBElement element)
          Creates and returns a deep copy of a given JAXBElement instance.
private static Object copyOfObject(Object o)
          Creates and returns a deep copy of a given object.
private static Serializable copyOfSerializable(Serializable serializable)
          Creates and returns a deep copy of a given Serializable.
 Object getAny()
          Gets the value of the any property.
 boolean isValid()
          Flag indicating the model object is expected to be valid.
 void setAny(Object value)
          Sets the value of the any property.
 void setValid(boolean value)
          Sets the value of the valid property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

any

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Object any

valid

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected boolean valid
Constructor Detail

AnyModelObject

public AnyModelObject()
Creates a new AnyModelObject instance.


AnyModelObject

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

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

getAny

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Object getAny()
Gets the value of the any property.

Returns:
possible object is Element Object

setAny

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setAny(Object value)
Sets the value of the any property.

Parameters:
value - allowed object is Element Object

isValid

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public boolean isValid()
Flag indicating the model object is expected to be valid.


setValid

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setValid(boolean value)
Sets the value of the valid property.


copyAny

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static Object copyAny(Object source)
Creates and returns a deep copy of property Any.

Parameters:
source - The source to copy from or null.
Returns:
A deep copy of source or null if source is null.

copyOfObject

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static Object copyOfObject(Object o)
Creates and returns a deep copy of a given object.

Parameters:
o - The instance to copy or null.
Returns:
A deep copy of o or null if o is null.

copyOfArray

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static Object copyOfArray(Object array)
Creates and returns a deep copy of a given array.

Parameters:
array - The array to copy or null.
Returns:
A deep copy of array or null if array is null.

copyOf

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static boolean[] copyOf(boolean[] array)
Creates and returns a deep copy of a given array.

Parameters:
array - The array to copy or null.
Returns:
A deep copy of array or null if array is null.

copyOf

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static byte[] copyOf(byte[] array)
Creates and returns a deep copy of a given array.

Parameters:
array - The array to copy or null.
Returns:
A deep copy of array or null if array is null.

copyOf

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static char[] copyOf(char[] array)
Creates and returns a deep copy of a given array.

Parameters:
array - The array to copy or null.
Returns:
A deep copy of array or null if array is null.

copyOf

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static double[] copyOf(double[] array)
Creates and returns a deep copy of a given array.

Parameters:
array - The array to copy or null.
Returns:
A deep copy of array or null if array is null.

copyOf

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static float[] copyOf(float[] array)
Creates and returns a deep copy of a given array.

Parameters:
array - The array to copy or null.
Returns:
A deep copy of array or null if array is null.

copyOf

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static int[] copyOf(int[] array)
Creates and returns a deep copy of a given array.

Parameters:
array - The array to copy or null.
Returns:
A deep copy of array or null if array is null.

copyOf

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static long[] copyOf(long[] array)
Creates and returns a deep copy of a given array.

Parameters:
array - The array to copy or null.
Returns:
A deep copy of array or null if array is null.

copyOf

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static short[] copyOf(short[] array)
Creates and returns a deep copy of a given array.

Parameters:
array - The array to copy or null.
Returns:
A deep copy of array or null if array is null.

copyOFJAXBElement

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static JAXBElement copyOFJAXBElement(JAXBElement element)
Creates and returns a deep copy of a given JAXBElement instance.

Parameters:
element - The instance to copy or null.
Returns:
A deep copy of element or null if element is null.

copyOfSerializable

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static Serializable copyOfSerializable(Serializable serializable)
Creates and returns a deep copy of a given Serializable.

Parameters:
serializable - The instance to copy or null.
Returns:
A deep copy of serializable or null if serializable is null.

clone

@Generated(value="com.sun.tools.xjc.Driver",
           date="2009-10-06T06:49:47+00:00",
           comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public AnyModelObject 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.