|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pbeans.AbstractStoreInfo
PersistentClass
annotations instead.
public abstract class AbstractStoreInfo
Abstract implementation of StoreInfo
.
Constructor Summary | |
---|---|
protected |
AbstractStoreInfo(java.lang.Class clazz)
Deprecated. Constucts an instance of AbstractStoreInfo. |
Method Summary | |
---|---|
java.lang.Object |
create(Store store)
Deprecated. Creates an instance of the class passed to the constructor of this AbstractStoreInfo instance. |
java.lang.Class |
getBeanClass()
Deprecated. |
java.lang.ClassLoader |
getClassLoader()
Deprecated. Gets a class loader which may be used to find the underlying StoreInfo class. |
FieldDescriptor |
getFieldDescriptor(Store store,
java.beans.PropertyDescriptor pd)
Deprecated. Gets a field descriptor for a property if its compile-time type is a primitive type, a boxed primitive type, String, java.util.Date, java.sql.Date, java.sql.Timestamp, java.sql.Time, byte[], or Persistent . |
java.lang.String |
getIdField()
Deprecated. |
Index[] |
getIndexes(Store store)
Deprecated. Returns non-unique Index instances for all JavaBean properties that are persisted except those of type BLOB. |
java.beans.PropertyDescriptor |
getPropertyDescriptor(java.lang.String propertyName)
Deprecated. Obtains the PropertyDescriptor for a property name. |
java.beans.PropertyDescriptor |
getPropertyDescriptorByNormalFieldName(Store store,
java.lang.String normalFieldName)
Deprecated. |
java.beans.PropertyDescriptor[] |
getPropertyDescriptors()
Deprecated. |
java.lang.String |
getTableName(int maxLength)
Deprecated. Gets the requested table name. |
boolean |
isAutoIncrementRequested()
Deprecated. |
boolean |
isDeleteFields()
Deprecated. |
boolean |
isUserManaged()
Deprecated. Gets a boolean value indicating whether table creation and alteration is user-managed as opposed to automatic. |
java.lang.Object |
marshallValue(java.beans.PropertyDescriptor pd,
java.lang.Object value)
Deprecated. Marshalls a property value except for any of type Persistent. |
java.lang.Object |
unmarshallValue(java.beans.PropertyDescriptor pd,
java.lang.Object fieldValue)
Deprecated. Unarshalls a field value except for any of type Persistent. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractStoreInfo(java.lang.Class clazz)
clazz
- A class assignable to Persistent.Method Detail |
---|
public java.lang.Class getBeanClass()
getBeanClass
in interface StoreInfo
public java.lang.String getIdField()
getIdField
in interface StoreInfo
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
getPropertyDescriptors
in interface StoreInfo
public boolean isDeleteFields()
isDeleteFields
in interface StoreInfo
public java.beans.PropertyDescriptor getPropertyDescriptorByNormalFieldName(Store store, java.lang.String normalFieldName)
getPropertyDescriptorByNormalFieldName
in interface StoreInfo
public boolean isAutoIncrementRequested()
isAutoIncrementRequested
in interface StoreInfo
public boolean isUserManaged()
StoreInfo
isUserManaged
in interface StoreInfo
public java.lang.String getTableName(int maxLength)
getTableName
in interface StoreInfo
maxLength
- The maximum table name lengthpublic java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.String propertyName)
StoreInfo
getPropertyDescriptor
in interface StoreInfo
public java.lang.Object create(Store store) throws StoreException
create
in interface StoreInfo
StoreException
public FieldDescriptor getFieldDescriptor(Store store, java.beans.PropertyDescriptor pd)
Persistent
.
For any other types, this method returns null.
- Specified by:
getFieldDescriptor
in interface StoreInfo
marshallValue
public java.lang.Object marshallValue(java.beans.PropertyDescriptor pd,
java.lang.Object value)
throws StoreException
- Deprecated.
- Description copied from interface:
StoreInfo
- Marshalls a property value except for any of type Persistent.
The resulting object is passed to JDBC.
- Specified by:
marshallValue
in interface StoreInfo
- Throws:
StoreException
unmarshallValue
public java.lang.Object unmarshallValue(java.beans.PropertyDescriptor pd,
java.lang.Object fieldValue)
throws StoreException
- Deprecated.
- Description copied from interface:
StoreInfo
- Unarshalls a field value except for any of type Persistent.
A Persistent property is set with the resulting object value.
- Specified by:
unmarshallValue
in interface StoreInfo
- Throws:
StoreException
getIndexes
public Index[] getIndexes(Store store)
throws StoreException
- Deprecated.
- Returns non-unique Index instances for all JavaBean properties
that are persisted
except those of type BLOB.
- Specified by:
getIndexes
in interface StoreInfo
- Throws:
StoreException
getClassLoader
public java.lang.ClassLoader getClassLoader()
- Deprecated.
- Description copied from interface:
StoreInfo
- Gets a class loader which may be used to find the underlying
StoreInfo class.
- Specified by:
getClassLoader
in interface StoreInfo
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD