|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LanguageResource
Models all sorts of language resources.
Method Summary | |
---|---|
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. |
Methods inherited from interface gate.Resource |
---|
cleanup, getParameterValue, init, setParameterValue, setParameterValues |
Methods inherited from interface gate.util.FeatureBearer |
---|
getFeatures, setFeatures |
Methods inherited from interface gate.util.NameBearer |
---|
getName, setName |
Method Detail |
---|
DataStore getDataStore()
void setDataStore(DataStore dataStore) throws PersistenceException
PersistenceException
Object getLRPersistenceId()
void setLRPersistenceId(Object lrID)
void sync() throws PersistenceException, SecurityException
PersistenceException
SecurityException
boolean isModified()
LanguageResource getParent() throws PersistenceException, SecurityException
PersistenceException
SecurityException
void setParent(LanguageResource parentLR) throws PersistenceException, SecurityException
PersistenceException
SecurityException
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |