public class MetaAttribute extends DBPersist
Table Meta-Attributes
Meta-Attributes are "virtual columns" that may exists for each table on a per WorkArea basis. This class holds only the meta-attributes definitions, not the actual data contained on them.Modifier and Type | Field and Description |
---|---|
static short |
ClassId |
Constructor and Description |
---|
MetaAttribute()
Create empty Meta-Attribute
|
MetaAttribute(JDCConnection oConn,
java.lang.String sOwnerGUID,
java.lang.String sTableName,
java.lang.String sSectionName)
Load Meta-Attribute from database.
|
Modifier and Type | Method and Description |
---|---|
boolean |
delete(JDCConnection oConn)
Delete meta-Attribute definition and data.
|
boolean |
store(JDCConnection oConn)
Store Meta-Attribute Definition
Field pg_attr is automatically assigned to next free value in k_lu_meta_attrs
table for current WorkArea and Base Table.
|
allcaps, allcaps, clear, clone, columns, containsKey, containsValue, entrySet, exists, get, get, getAuditClassName, getCreationDate, getDate, getDate, getDateFormated, getDateShort, getDateTime, getDateTime24, getDecimal, getDecimalFormated, getDecimalFormated, getDouble, getDoubleFormated, getFloat, getFloatFormated, getInt, getIntArray, getInteger, getIntegerArray, getIntervalPart, getItemMap, getItems, getMoney, getPrimaryKey, getShort, getSQLDate, getSQLTime, getString, getStringHtml, getStringNull, getTable, getTable, getTime, getTimeOfDay, getTimestamp, isEmpty, isNull, iterator, keySet, load, load, parseXML, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, put, putAll, putAll, remove, remove, replace, replace, replace, replace, replace, replace, replace, replace, setAuditTransact, setAuditUser, setCreationDate, setPrimaryKey, size, toLowerCase, toUpperCase, toXML, toXML, toXML, values
public static final short ClassId
public MetaAttribute()
public MetaAttribute(JDCConnection oConn, java.lang.String sOwnerGUID, java.lang.String sTableName, java.lang.String sSectionName) throws java.sql.SQLException
oConn
- Database ConnectionsOwnerGUID
- GUID of WorkArea to witch the Meta-Attribute belongs.sTableName
- Name of base tablesSectionName
- Section Name (emulates a column name on base table).java.sql.SQLException
public boolean delete(JDCConnection oConn) throws java.sql.SQLException, java.lang.NullPointerException
public boolean store(JDCConnection oConn) throws java.sql.SQLException
Store Meta-Attribute Definition
Field pg_attr is automatically assigned to next free value in k_lu_meta_attrs table for current WorkArea and Base Table.