|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.util.GenericData
public class GenericData
Provides storage for properties determined at runtime.
Constructor Summary | |
---|---|
GenericData()
Construct this object. |
Method Summary | |
---|---|
void |
clear()
Clear the property values and names. |
Object |
clone()
Return a clone of this instance. |
int |
compareTo(Object another)
Compare to the given object. |
void |
copy(IGenericData another)
Make this object a copy of the given object. |
boolean |
equals(Object another)
Return true if this equals another. |
Object |
get(String propertyName)
Return the value of the specified property. |
Iterator |
getPropertyNames()
Return an iterator over the property names. |
Class |
getType(String propertyName)
Return the type of the named property. |
int |
hashCode()
Return the hash code. |
void |
set(String propertyName,
boolean value)
Set the value of the specified property. |
void |
set(String propertyName,
Class type,
Object value)
Set the value of the specified property. |
void |
set(String propertyName,
double value)
Set the value of the specified property. |
void |
set(String propertyName,
float value)
Set the value of the specified property. |
void |
set(String propertyName,
int value)
Set the value of the specified property. |
void |
set(String propertyName,
long value)
Set the value of the specified property. |
void |
set(String propertyName,
Object value)
Set the value of the specified property. |
String |
toString()
Return a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GenericData()
Method Detail |
---|
public void clear()
clear
in interface IGenericData
public Object clone()
clone
in interface IGenericData
clone
in class Object
public int compareTo(Object another)
compareTo
in interface Comparable
compareTo
in interface IGenericData
public void copy(IGenericData another)
copy
in interface IGenericData
public boolean equals(Object another)
equals
in interface IGenericData
equals
in class Object
public Object get(String propertyName)
get
in interface IGenericData
public Iterator getPropertyNames()
getPropertyNames
in interface IGenericData
public Class getType(String propertyName)
getType
in interface IGenericData
public int hashCode()
hashCode
in interface IGenericData
hashCode
in class Object
public void set(String propertyName, Object value)
set
in interface IGenericData
public void set(String propertyName, int value)
set
in interface IGenericData
public void set(String propertyName, long value)
set
in interface IGenericData
public void set(String propertyName, float value)
set
in interface IGenericData
public void set(String propertyName, double value)
set
in interface IGenericData
public void set(String propertyName, boolean value)
set
in interface IGenericData
public void set(String propertyName, Class type, Object value)
set
in interface IGenericData
public String toString()
toString
in interface IGenericData
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |