toolbox.dao
Interface DaoBean

Package class diagram package DaoBean
All Known Subinterfaces:
DaoBeanEx
All Known Implementing Classes:
AuditEntry, DeliveryControl, LogMessage, MailMessage, ServiceHeader, SimpleGroup, SimpleUser, SocketMessage

public interface DaoBean

Defines an interface that can be used to persist Java Beans.


Method Summary
 java.util.Map getMap()
          Return the Map containing the bean properties.
 java.lang.String getMapping(java.lang.String prop)
          Return the mapped value for the provided property name.
 java.util.Map getMappings()
          Return the Map containing the property mappings.
 void setMap(java.util.Map map)
          Set the Map containing the bean properties.
 

Method Detail

setMap

void setMap(java.util.Map map)
Set the Map containing the bean properties.

Parameters:
map - Map containing bean properties.

getMap

java.util.Map getMap()
Return the Map containing the bean properties.

Returns:
Map containing the bean properties.

getMapping

java.lang.String getMapping(java.lang.String prop)
Return the mapped value for the provided property name.

Parameters:
prop - Return the mapping for this property.
Returns:
String containing the mapping for the provided property.

getMappings

java.util.Map getMappings()
Return the Map containing the property mappings.

Returns:
Map instance containing property mappings.