public class StoreData extends Object
Modifier and Type | Field and Description |
---|---|
static int |
FCO_TYPE
First class object (FCO) type
|
protected String |
interfaceName
Name of the persistent interface, when this represents one.
|
protected MetaData |
metadata
Metadata for the class, or member (join table) depending on what this represents.
|
protected String |
name
Name of the class/field.
|
protected Map |
properties
Extension props.
|
static int |
SCO_TYPE
Second class object (SCO) type
|
protected Table |
table |
protected int |
type
Type of data being stored (FCO, SCO).
|
Constructor and Description |
---|
StoreData(String name,
int type)
Constructor.
|
StoreData(String name,
MetaData metadata,
int type,
String interfaceName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String key,
Object value) |
String |
getInterfaceName()
Accessor for the persistent interface name
|
MetaData |
getMetaData()
Accessor for class/field meta data.
|
String |
getName()
Accessor for class/field name.
|
Map |
getProperties()
Accessor for extension props, if utilised by the store manager.
|
Object |
getProperty(String key) |
Table |
getTable()
Accessor for the generic Table for this class/member (if the store plugin supports generic Tables).
|
int |
getType()
Accessor for type.
|
boolean |
isFCO()
Accessor for whether this represents FCO data.
|
boolean |
isSCO()
Accessor for whether this represents SCO data.
|
void |
setMetaData(MetaData md)
Method to set the MetaData for this class.
|
void |
setTable(Table tbl) |
String |
toString()
Method to return this class/field managed object as a string.
|
public static final int FCO_TYPE
public static final int SCO_TYPE
protected final String name
protected final int type
protected MetaData metadata
protected String interfaceName
protected Table table
protected Map properties
public StoreData(String name, int type)
name
- Name of the class/fieldtype
- Type of data (FCO/SCO)public String getName()
public MetaData getMetaData()
public void setMetaData(MetaData md)
md
- MetaDatapublic boolean isFCO()
public boolean isSCO()
public int getType()
public String getInterfaceName()
public void setTable(Table tbl)
public Table getTable()
public Map getProperties()
Copyright © 2017. All rights reserved.