public class PRPersistence extends AbstractPersistence
| Modifier and Type | Field and Description |
|---|---|
protected Object |
features |
protected Object |
initParams |
protected static org.slf4j.Logger |
log |
protected String |
resourceName |
protected String |
resourceType |
protected Object |
runtimeParams |
containingControllerName, initParamOverrides| Constructor and Description |
|---|
PRPersistence() |
| 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 Object runtimeParams
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 PersistencePersistenceExceptionpublic Object createObject() throws PersistenceException, ResourceInstantiationException
createObject in interface PersistencePersistenceExceptionResourceInstantiationExceptionprotected static boolean storeParameterValue(Object value, Object defaultValue)
value - the value we might storedefaultValue - the default valueCopyright © 2024 GATE. All rights reserved.