org.barracudamvc.contrib.sam.data
Interface Config

All Known Implementing Classes:
DefaultConfig

public interface Config

Interface for a confiugration class. Used in DataObjectHandler. It specifies various properties of a DataObject based XmlFormMap


Field Summary
static String MAP
           
static String OID
           
 
Method Summary
 DataObject getDataObject(String oid)
           
 String getFormName()
           
 String getMapName()
           
 String getOidName()
           
 ViewEvent getViewEvent()
          returns a view event called for displaying the form
 String getXmlFormName()
           
 

Field Detail

MAP

public static final String MAP
See Also:
Constant Field Values

OID

public static final String OID
See Also:
Constant Field Values
Method Detail

getViewEvent

public ViewEvent getViewEvent()
returns a view event called for displaying the form


getXmlFormName

public String getXmlFormName()
Returns:
name of the XML Form, this string is used by XmlFormFactory

getFormName

public String getFormName()

getMapName

public String getMapName()

getOidName

public String getOidName()
Returns:
name of the identifier field in the DataObject

getDataObject

public DataObject getDataObject(String oid)
                         throws DataObjectException
Returns:
data object identified by the given oid. Normally, this would be implemented by a SQL query
Throws:
DataObjectException


Copyright © 2004 BarracudaMVC.org All Rights Reserved.