|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.jomc.model.ModelObject
org.jomc.model.Property
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public class PropertyModel of a property.
A property consists of the properties name, type and
value. Property name holds the name uniquely identifying the
property in a set of properties. Property type holds the type of
the property. Property value holds the properties value which is of type
type.
| Field Summary | |
|---|---|
protected Boolean |
_final
|
protected Object |
any
|
protected String |
name
|
protected Boolean |
override
|
protected String |
type
|
protected String |
value
|
| Fields inherited from class org.jomc.model.ModelObject |
|---|
authors, createDate, deprecated, documentation, modelVersion |
| Constructor Summary | |
|---|---|
Property()
Creates a new Property instance. |
|
Property(Property o)
Creates a new Property instance by deeply copying a given instance. |
|
| Method Summary | |
|---|---|
Property |
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()
Object value of this property or null. |
Object |
getJavaValue(ClassLoader classLoader)
Gets the Java value of this property. |
String |
getName()
Name of this property. |
String |
getType()
Type of this property or null for the default text type. |
String |
getValue()
String value of this property or null. |
boolean |
isFinal()
Flags this property final. |
boolean |
isOverride()
True, if this property is intended to override a super property. |
void |
setAny(Object value)
Sets the value of the any property. |
void |
setFinal(Boolean value)
Sets the value of the final property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setOverride(Boolean value)
Sets the value of the override property. |
void |
setType(String value)
Sets the value of the type property. |
void |
setValue(String value)
Sets the value of the value property. |
| 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 |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Object any
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String name
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String type
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected String value
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Boolean _final
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
protected Boolean override
| Constructor Detail |
|---|
public Property()
Property instance.
public Property(Property o)
Property instance by deeply copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Object getAny()
null.
Element
Object
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setAny(Object value)
value - allowed object is
Element
Object
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getName()
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setName(String value)
value - allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getType()
null for the default text type.
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setType(String value)
value - allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public String getValue()
null.
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setValue(String value)
value - allowed object is
String
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public boolean isFinal()
Boolean
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setFinal(Boolean value)
value - allowed object is
Boolean
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public boolean isOverride()
Boolean
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public void setOverride(Boolean value)
value - allowed object is
Boolean
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static Object copyAny(Object source)
Any.
source - The source to copy from or null.
source or null if source is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static Object copyOfObject(Object o)
o - The instance to copy or null.
o or null if o is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static Object copyOfArray(Object array)
array - The array to copy or null.
array or null if array is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static boolean[] copyOf(boolean[] array)
array - The array to copy or null.
array or null if array is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static byte[] copyOf(byte[] array)
array - The array to copy or null.
array or null if array is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static char[] copyOf(char[] array)
array - The array to copy or null.
array or null if array is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static double[] copyOf(double[] array)
array - The array to copy or null.
array or null if array is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static float[] copyOf(float[] array)
array - The array to copy or null.
array or null if array is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static int[] copyOf(int[] array)
array - The array to copy or null.
array or null if array is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static long[] copyOf(long[] array)
array - The array to copy or null.
array or null if array is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static short[] copyOf(short[] array)
array - The array to copy or null.
array or null if array is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static JAXBElement copyOFJAXBElement(JAXBElement element)
JAXBElement instance.
element - The instance to copy or null.
element or null if element is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
private static Serializable copyOfSerializable(Serializable serializable)
Serializable.
serializable - The instance to copy or null.
serializable or null if serializable is null.
@Generated(value="com.sun.tools.xjc.Driver",
date="2009-10-06T06:45:27+00:00",
comments="JAXB RI vhudson-jaxb-ri-2.1-833")
public Property clone()
clone in class ModelObject
public Object getJavaValue(ClassLoader classLoader)
throws ClassNotFoundException,
InstantiationException
classLoader - The class loader to use for loading the Java class corresponding to the type of this property.
NullPointerException - if classLoader is null.
ClassNotFoundException - if the Java class corresponding to the type of this property is not found.
InstantiationException - if instantiation of the value fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||