| java.lang.Object org.jpox.store.StoreData
All known Subclasses: org.jpox.store.TableStoreData,
StoreData | public class StoreData (Code) | | Basic store information about an object that is stored in a datastore.
Can be a class or field.
version: $Revision: 1.15 $ |
Field Summary | |
final public static int | FCO_TYPE | final protected static Localiser | LOCALISER Localiser for messages. | final public static int | SCO_TYPE | final protected String | interfaceName If this class is an implementation of a persistent interface, this attribute will hold the name of the interface. | protected MetaData | metadata MetaData for this object. | final protected String | name Name of the class/field. | final protected int | type Type of data being stored (FCO, SCO). |
FCO_TYPE | final public static int FCO_TYPE(Code) | | First class object (FCO) type
|
LOCALISER | final protected static Localiser LOCALISER(Code) | | Localiser for messages.
|
SCO_TYPE | final public static int SCO_TYPE(Code) | | Second class object (SCO) type
|
interfaceName | final protected String interfaceName(Code) | | If this class is an implementation of a persistent interface, this attribute will hold the name of the interface.
|
name | final protected String name(Code) | | Name of the class/field.
|
type | final protected int type(Code) | | Type of data being stored (FCO, SCO).
|
StoreData | public StoreData(String name, MetaData metadata, int type, String interfaceName)(Code) | | Constructor.
Parameters: name - Name of the class/field Parameters: metadata - MetaData for the class or field (if available) Parameters: type - Type of data (FCO/SCO) Parameters: interfaceName - Name of persistent-interface being implemented |
getInterfaceName | public String getInterfaceName()(Code) | | Accessor for the persistent interface name
Returns the persistent interface name |
getMetaData | public MetaData getMetaData()(Code) | | Accessor for class/field meta data.
Returns the class/field meta data. |
getName | public String getName()(Code) | | Accessor for class/field name.
Returns the class/field name. |
getSuperclass | public String getSuperclass()(Code) | | Accessor for any superclass for this class, if this is a class.
The superclass (if exists). If this is a field, just return null. |
getType | public int getType()(Code) | | Accessor for type.
Returns the type. |
isFCO | public boolean isFCO()(Code) | | Accessor for whether this represents FCO data
Whether it is FCO |
isSCO | public boolean isSCO()(Code) | | Accessor for whether this represents SCO data.
Whether it is SCO. |
setMetaData | public void setMetaData(MetaData md)(Code) | | Method to set the MetaData for this class.
Parameters: md - MetaData |
toString | public String toString()(Code) | | Method to return this class/field managed object as a string.
String version of this class/field managed object. |
|
|