kodo.beans
Class StateClassAccessor
java.lang.Object
kodo.beans.StateClassAccessor
- All Implemented Interfaces:
- ClassAccessor
public class StateClassAccessor
- extends Object
- implements ClassAccessor
Implementation of ClassAccessor
that uses a
OpenJPAStateManager
and a ClassMetaData
to set
and get field values.
StateClassAccessor
public StateClassAccessor(Class forClass,
StoreContext ctx)
getType
public Class getType()
- Specified by:
getType
in interface ClassAccessor
- Returns:
- the type of the described class
getFieldAccessors
public FieldAccessor[] getFieldAccessors()
- Specified by:
getFieldAccessors
in interface ClassAccessor
- Returns:
- an array of accessors to access fields
newInstance
public Object newInstance()
- Specified by:
newInstance
in interface ClassAccessor
- Returns:
- a new instance of the type returned by
ClassAccessor.getType()
.
hashCode
public int hashCode()
- Description copied from interface:
ClassAccessor
- Equality depends on the class described by the accessor.
- Specified by:
hashCode
in interface ClassAccessor
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object other)
- Description copied from interface:
ClassAccessor
- Equality depends on the class described by the accessor.
- Specified by:
equals
in interface ClassAccessor
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2011 Oracle, Inc. All Rights Reserved.This documentation is deprecated and will be removed in the next release of WebLogic Server.
Oracle Fusion Middleware Oracle Kodo 4.2.0 API Reference (DEPRECATED)
11g Release 1 (10.3.6)
Part Number E13950-02