net.sf.gilead.pojo.java5
Class LightEntity

java.lang.Object
  extended by net.sf.gilead.pojo.java5.LightEntity
All Implemented Interfaces:
java.io.Serializable, ILightEntity

public abstract class LightEntity
extends java.lang.Object
implements ILightEntity, java.io.Serializable

Abstract POJO with minimal proxy informations handling

Author:
bruno.marchesson
See Also:
Serialized Form

Field Summary
protected  java.util.Map<java.lang.String,java.lang.String> _proxyInformations
          Map of persistence proxy informations.
 
Fields inherited from interface net.sf.gilead.pojo.base.ILightEntity
INITIALISED
 
Constructor Summary
LightEntity()
          Constructor
 
Method Summary
 void addProxyInformation(java.lang.String property, java.lang.String proxyInfo)
          Add proxy information
 java.lang.String getDebugString()
          Debug method : write the declared proxy information
 java.lang.String getProxyInformation(java.lang.String property)
          Get proxy information for the argument property
 java.util.Map<java.lang.String,java.lang.String> getProxyInformations()
           
 void removeProxyInformation(java.lang.String property)
          Remove a property proxy information
 void setProxyInformations(java.util.Map informations)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_proxyInformations

protected java.util.Map<java.lang.String,java.lang.String> _proxyInformations
Map of persistence proxy informations. The key is the property name, the value is a map with persistence informations filled by the persistence util implementation

Constructor Detail

LightEntity

public LightEntity()
Constructor

Method Detail

getProxyInformations

public java.util.Map<java.lang.String,java.lang.String> getProxyInformations()
Specified by:
getProxyInformations in interface ILightEntity
Returns:
the proxy informations

setProxyInformations

public void setProxyInformations(java.util.Map informations)
Specified by:
setProxyInformations in interface ILightEntity
Parameters:
informations - the proxy Informations to set

addProxyInformation

public void addProxyInformation(java.lang.String property,
                                java.lang.String proxyInfo)
Add proxy information

Specified by:
addProxyInformation in interface ILightEntity
Parameters:
property - the property name

removeProxyInformation

public void removeProxyInformation(java.lang.String property)
Description copied from interface: ILightEntity
Remove a property proxy information

Specified by:
removeProxyInformation in interface ILightEntity

getProxyInformation

public java.lang.String getProxyInformation(java.lang.String property)
Description copied from interface: ILightEntity
Get proxy information for the argument property

Specified by:
getProxyInformation in interface ILightEntity
Parameters:
property - the property name
Returns:
the proxy informations for the property _ string serialized form(can be null)

getDebugString

public java.lang.String getDebugString()
Description copied from interface: ILightEntity
Debug method : write the declared proxy information

Specified by:
getDebugString in interface ILightEntity
Returns:
a human readable description of proxy information