|
||||||||||
| 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 IGenericDatapublic Object clone()
clone in interface IGenericDataclone in class Objectpublic int compareTo(Object another)
compareTo in interface ComparablecompareTo in interface IGenericDatapublic void copy(IGenericData another)
copy in interface IGenericDatapublic boolean equals(Object another)
equals in interface IGenericDataequals in class Objectpublic Object get(String propertyName)
get in interface IGenericDatapublic Iterator getPropertyNames()
getPropertyNames in interface IGenericDatapublic Class getType(String propertyName)
getType in interface IGenericDatapublic int hashCode()
hashCode in interface IGenericDatahashCode 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 IGenericDatapublic String toString()
toString in interface IGenericDatatoString 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 |