|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jcorporate.expresso.core.dataobjects.BaseDataObject com.jcorporate.expresso.core.dataobjects.jdbc.JDBCDataObject com.jcorporate.expresso.core.dbobj.DBObject com.jcorporate.expresso.core.dbobj.SecuredDBObject com.jcorporate.expresso.core.dbobj.RowSecuredDBObject com.sri.emo.dbobj.MatrixCell
public class MatrixCell
a row in a scoring or design matrix or covar matrix. The first two matrices are for Measurement Model. Covar matrix was added later in Student Model. first two matrices have rows corresponding to ObservableVar, while covar matrix has both row & column for SMVs. Covar usage was added last, so some methods calling for Obs.Var. are repurposed to "RowId".
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.jcorporate.expresso.core.dbobj.DBObject |
---|
DBObject.FieldError, DBObject.FieldUpdate |
Field Summary | |
---|---|
static String |
ATTRIB_ID
id of attribute linking matrix rows to measurement model attributes for matrices i.e., this attribute is stored as part of the measurement model node, and references information through this MatrixCell |
static String |
COL_ID
the column id is null for continuous SMVs, is SMV Category ID for discrete SMVs for a scoring matrix is the id of the observable variables for a design matrix |
static String |
MATRIX_DESCRIPTION
|
static String |
ROW_ID
row id, which is the attribute ID for the observable variable category or, for covar matrix, for SMV id |
static String |
VALUE
|
Fields inherited from class com.jcorporate.expresso.core.dbobj.RowSecuredDBObject |
---|
DEFAULT_PERMISSION_CODE |
Fields inherited from class com.jcorporate.expresso.core.dbobj.SecuredDBObject |
---|
ADD, ALL_FUNCTIONS, CACHE_NAME, CACHE_TTY, DELETE, SEARCH, SYSTEM_ACCOUNT_NAME, UPDATE |
Fields inherited from class com.jcorporate.expresso.core.dbobj.DBObject |
---|
ATTRIBUTE_ERROR, ATTRIBUTE_ERROR_MESSAGE, ATTRIBUTE_PAGE_LIMIT, BIG_DECIMAL_ZERO, CACHE_LIMIT_PERCENT, CACHE_LIMIT_TTL, EMAIL_MASK, EVENT_ADD, EVENT_DELETE, EVENT_UPDATE, FLOAT_MASK, INT_MASK, IS_CHECK_RELATIONAL_INTEGRITY, IS_MUTABLE, sCacheStats, UPDATE_CHANGED_ONLY, WHERE_KEYWORD |
Fields inherited from class com.jcorporate.expresso.core.dataobjects.jdbc.JDBCDataObject |
---|
anyFieldsDistinct, anyFieldsToInput, anyFieldsToRetrieve, appendCustomWhere, caseSensitiveQuery, customWhereClause, dbKey, distinctFields, inputFields, localConnection, LONGBINARY_READ_DEFAULT_SIZE, maxRecords, myClassName, myUpdates, offsetRecord, recordSet, retrieveFields, sMetadataMap, sortKeys |
Fields inherited from class com.jcorporate.expresso.core.dataobjects.BaseDataObject |
---|
currentStatus, globalMask |
Fields inherited from interface com.jcorporate.expresso.core.dataobjects.Securable |
---|
SYSTEM_ACCOUNT |
Fields inherited from interface com.jcorporate.expresso.core.dataobjects.DataObject |
---|
STATUS_CURRENT, STATUS_DELETED, STATUS_NEW, STATUS_UPDATED |
Constructor Summary | |
---|---|
MatrixCell()
|
|
MatrixCell(Attribute attrib,
String columnId,
int rowId,
String value)
constructor for new cell |
|
MatrixCell(DBConnection theConnection,
int theUser)
Constructor |
|
MatrixCell(ReadOnlyUser userSecurity)
Constructor for security setup. |
|
MatrixCell(String attribId)
|
Method Summary | |
---|---|
Attribute |
getAttrib(ControllerRequest request)
|
String |
getAttribId()
|
String |
getColumnId()
|
Attribute |
getOVCat()
will throw if OV Category not found |
String |
getOVCatId()
|
String |
getRowId()
|
Node |
getSMV()
will throw if SMV not found |
Node |
getSMV(ControllerRequest request)
will throw if SMV not found |
String |
getSMVId()
|
String |
getValue()
|
void |
setAttribID(String attribId)
|
void |
setColId(String colId)
|
void |
setRowId(int rowId)
|
void |
setRowId(String rowId)
|
protected void |
setupFields()
Defines the database table name and fields for this DB object |
void |
setValue(String value)
|
Methods inherited from class com.jcorporate.expresso.core.dbobj.RowSecuredDBObject |
---|
add, add, addGroupPerm, canRequesterAdministrate, canRequesterRead, canRequesterWrite, checkDeleteDetailPerm, checkKeyLength, defaultGroup, defaultPermissions, delete, deleteAll, find, getAdministrateGroups, getGroups, getPermissions, getReadGroups, getWriteGroups, isAdminGroup, isReadGroup, isRowAllowed, isRowAllowed, isWriteGroup, ownerID, removeGroup, retrieve, searchAndRetrieveList, searchAndRetrieveList, setPermissions, setPermissions, update |
Methods inherited from class com.jcorporate.expresso.core.dbobj.SecuredDBObject |
---|
canRequesterAdd, canRequesterDelete, canRequesterUpdate, checkAllowed, copyAttributes, count, createSecurityCache, delete, getRequestingUid, getRequestingUser, getString, getString, getString, getString, getString, getString, getSystemUid, instantiate, isAllowed, search, setRequestingUid, setRequestingUser |
Methods inherited from class com.jcorporate.expresso.core.dataobjects.BaseDataObject |
---|
getGlobalMask, getStatus, isGlobalMasked, setFieldsWithDefaults, setGlobalMask, setStatus |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ATTRIB_ID
public static final String ROW_ID
public static final String COL_ID
public static final String VALUE
public static final String MATRIX_DESCRIPTION
Constructor Detail |
---|
public MatrixCell() throws DBException
DBException
- If the new object cannot be createdpublic MatrixCell(Attribute attrib, String columnId, int rowId, String value) throws DBException
attrib
- existing attribute for matrix, or null if newcolumnId
- is either at the node ID for the student model variable (scoring matrix) or the attribute ID for the category (design matrix)
DBException
- If the new object cannot be createdpublic MatrixCell(String attribId) throws DBException
DBException
public MatrixCell(DBConnection theConnection, int theUser) throws DBException
theConnection
- DBConnection to be used to
communicate with the databasetheUser
- User name attempting to access the
object
DBException
- If the user cannot access this
object or the object cannot be initializedpublic MatrixCell(ReadOnlyUser userSecurity) throws DBException
userSecurity
- ReadOnlyUser security context.
DBException
- upon construction error.Method Detail |
---|
protected void setupFields() throws DBException
setupFields
in class DBObject
DBException
- if the operation cannot be performedpublic String getAttribId() throws DBException
DBException
public String getValue() throws DBException
DBException
public String getOVCatId() throws DBException
DBException
public String getSMVId() throws DBException
DBException
public Node getSMV(ControllerRequest request) throws DBException
DBException
public Node getSMV() throws DBException
DBException
public Attribute getOVCat() throws DBException
DBException
public String getColumnId() throws DBException
DBException
public String getRowId() throws DBException
DBException
public Attribute getAttrib(ControllerRequest request) throws DBException
DBException
public void setValue(String value) throws DBException
DBException
public void setColId(String colId) throws DBException
DBException
public void setRowId(String rowId) throws DBException
DBException
public void setRowId(int rowId) throws DBException
DBException
public void setAttribID(String attribId) throws DBException
DBException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |