com.groiss.store
Interface View

All Superinterfaces:
Persistent

public interface View
extends Persistent

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.


Method Summary
 java.lang.String getBaseClassName()
          Get the class name of the base objects.
 Persistent getBaseObject()
          Get the base object instance.
 void setBaseObject(Persistent baseObject)
          Set the base object of the view instance.
 java.lang.String[] viewColumnNames()
          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
dbFields, getOid, getStore, getTableName, isFilled, onDelete, onInsert, onRead, onUpdate, setFilled, setOid, setStore
 

Method Detail

getBaseObject

Persistent getBaseObject()
Get the base object instance.

Returns:
the base object instance

setBaseObject

void setBaseObject(Persistent baseObject)
Set the base object of the view instance.

Parameters:
baseObject - the base object

getBaseClassName

java.lang.String getBaseClassName()
Get the class name of the base objects.

Returns:
the class name of the base objects

viewColumnNames

java.lang.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.


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.