public interface LanguageResource extends Resource
Modifier and Type | Method and Description |
---|---|
DataStore |
getDataStore()
Get the data store that this LR lives in.
|
Object |
getLRPersistenceId()
Returns the persistence id of this LR, if it has been stored in
a datastore.
|
LanguageResource |
getParent()
Returns the parent LR of this LR.
|
boolean |
isModified()
Returns true of an LR has been modified since the last sync.
|
void |
setDataStore(DataStore dataStore)
Set the data store that this LR lives in.
|
void |
setLRPersistenceId(Object lrID)
Sets the persistence id of this LR.
|
void |
setParent(LanguageResource parentLR)
Sets the parent LR of this LR.
|
void |
sync()
Save: synchonise the in-memory image of the LR with the persistent
image.
|
cleanup, getParameterValue, init, setParameterValue, setParameterValues
getFeatures, setFeatures
getName, setName
DataStore getDataStore()
void setDataStore(DataStore dataStore) throws PersistenceException
PersistenceException
Object getLRPersistenceId()
void setLRPersistenceId(Object lrID)
void sync() throws PersistenceException, SecurityException
boolean isModified()
LanguageResource getParent() throws PersistenceException, SecurityException
void setParent(LanguageResource parentLR) throws PersistenceException, SecurityException
Copyright © 2024 GATE. All rights reserved.