Package com.groiss.store
Interface View
- All Superinterfaces:
KeyValuePair<String,
,String> Persistent
,Serializable
- All Known Implementing Classes:
ProcessInstanceView
Objects implementing this interface provide a different perspective ("view") for a
Persistent instance (the base object).
Usually just a subset of the fields / columns of the base object is accessible. So a view object provides a projection of the base object. A specific view class is always tied to a specific Persistent class.
@enterprise View-Forms do implement this interface.
-
Field Summary
Fields inherited from interface com.groiss.store.Persistent
emptyKeys
-
Method Summary
Modifier and TypeMethodDescriptionGet the class name of the base objects.Get the base object instance.void
setBaseObject
(Persistent baseObject) Set the base object of the view instance.String[]
Get an array of column names of the base object class which are included in the view object class.Methods inherited from interface com.groiss.store.Persistent
afterDelete, afterInsert, afterRead, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, dbFields, getKey, getKeys, getLocalClassName, getLocalObjectName, getOid, getStore, getTableName, getValue, isFilled, isValid, setFilled, setOid, setOid, toListString
-
Method Details
-
getBaseObject
Persistent getBaseObject()Get the base object instance.- Returns:
- the base object instance
-
setBaseObject
Set the base object of the view instance.- Parameters:
baseObject
- the base object
-
getBaseClassName
String getBaseClassName()Get the class name of the base objects.- Returns:
- the class name of the base objects
-
viewColumnNames
String[] viewColumnNames()Get an array of column names of the base object class which are included in the view object class.- Returns:
- the known column names of the view object.
-