net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc
Class Property

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.ModelObject
      extended by net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.Property
All Implemented Interfaces:
Serializable, Cloneable

public class Property
extends ModelObject
implements Serializable, Cloneable

Property meta-data.

A property consists of the properties name, type and value. Property name holds the name uniquely identifying the property in a collection of properties. Property type holds the type of the property. Property value holds the properties value which is of type type.

See Also:
Serialized Form

Field Summary
protected  Object any
           
protected  String name
           
protected  PropertyType type
           
protected  String value
           
 
Fields inherited from class net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.ModelObject
authors, createDate, documentation, modelVersion
 
Constructor Summary
Property()
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.Property instance.
Property(Property o)
          Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.Property instance by copying a given instance.
 
Method Summary
 Property clone()
          Creates and returns a copy of this object.
 Object getAny()
          Object value of this property.
 String getName()
          Name of this property.
 PropertyType getType()
          Type of this property.
 String getValue()
          Value of this property.
 void setAny(Object value)
          Sets the value of the any property.
 void setName(String value)
          Sets the value of the name property.
 void setType(PropertyType value)
          Sets the value of the type property.
 void setValue(String value)
          Sets the value of the value property.
 
Methods inherited from class net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.ModelObject
getAuthors, getCreateDate, getDocumentation, getModelVersion, setAuthors, setCreateDate, setDocumentation, setModelVersion
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

any

protected Object any

name

protected String name

type

protected PropertyType type

value

protected String value
Constructor Detail

Property

public Property()
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.Property instance.


Property

public Property(Property o)
Creates a new net.sourceforge.ccxjc.it.model.priv.indexed.valueclass.jomc.Property instance by copying a given instance.

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

getAny

public Object getAny()
Object value of this property.

Returns:
possible object is Element Object

setAny

public void setAny(Object value)
Sets the value of the any property.

Parameters:
value - allowed object is Element Object

getName

public String getName()
Name of this property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getType

public PropertyType getType()
Type of this property.

Returns:
possible object is PropertyType

setType

public void setType(PropertyType value)
Sets the value of the type property.

Parameters:
value - allowed object is PropertyType

getValue

public String getValue()
Value of this property.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

clone

public Property clone()
Creates and returns a copy of this object.

Overrides:
clone in class ModelObject
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.