kodo.beans
Interface ClassAccessor
- All Known Implementing Classes:
- StateClassAccessor
- public interface ClassAccessor
A generic accessor that provides information about a class.
getType
public Class getType()
- Returns:
- the type of the described class
getFieldAccessors
public FieldAccessor[] getFieldAccessors()
- Returns:
- an array of accessors to access fields
newInstance
public Object newInstance()
- Returns:
- a new instance of the type returned by
getType()
.
equals
public boolean equals(Object other)
- Equality depends on the class described by the accessor.
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Equality depends on the class described by the accessor.
- Overrides:
hashCode
in class Object
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.