|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KvmSerializable
Provides get and set methods for properties. Can be used to replace reflection (to some extend) for "serialization-aware" classes. Currently used in kSOAP and the RMS based kobjects object repository
Method Summary | |
---|---|
java.lang.Object |
getProperty(int index)
Returns the property at a specified index (for serialization) |
int |
getPropertyCount()
|
void |
getPropertyInfo(int index,
java.util.Hashtable properties,
PropertyInfo info)
Fills the given property info record. |
void |
setProperty(int index,
java.lang.Object value)
Sets the property with the given index to the given value. |
Method Detail |
---|
java.lang.Object getProperty(int index)
index
- the specified index
int getPropertyCount()
void setProperty(int index, java.lang.Object value)
index
- the index to be setvalue
- the value of the propertyvoid getPropertyInfo(int index, java.util.Hashtable properties, PropertyInfo info)
index
- the index to be queriedproperties
- information about the (de)serializer. Not frequently used.info
- The return parameter, to be filled with information about the
property with the given index.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |