public class LRPersistence extends AbstractPersistence
Modifier and Type | Field and Description |
---|---|
protected Serializable |
dsData |
protected Object |
features |
protected Object |
initParams |
protected static org.slf4j.Logger |
log |
protected Object |
persistenceID |
protected String |
resourceName |
protected String |
resourceType |
containingControllerName, initParamOverrides
Constructor and Description |
---|
LRPersistence() |
Modifier and Type | Method and Description |
---|---|
Object |
createObject()
Creates a new object from the data contained.
|
void |
extractDataFromSource(Object source)
Populates this Persistence with the data that needs to be stored from the
original source object.
|
protected static boolean |
storeParameterValue(Object value,
Object defaultValue)
Returns true if we should store the parameter value as it is different
from the default value.
|
protected Serializable dsData
protected Object persistenceID
protected static final org.slf4j.Logger log
protected String resourceType
protected String resourceName
protected Object initParams
protected Object features
public void extractDataFromSource(Object source) throws PersistenceException
extractDataFromSource
in interface Persistence
PersistenceException
public Object createObject() throws PersistenceException, ResourceInstantiationException
createObject
in interface Persistence
PersistenceException
ResourceInstantiationException
protected static boolean storeParameterValue(Object value, Object defaultValue)
value
- the value we might storedefaultValue
- the default valueCopyright © 2024 GATE. All rights reserved.