|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public DataStore getDataStore()
public void setDataStore(DataStore dataStore) throws PersistenceException
public Object getLRPersistenceId()
public void setLRPersistenceId(Object lrID)
public void sync() throws PersistenceException, SecurityException
public boolean isModified()
public LanguageResource getParent() throws PersistenceException, SecurityException
public void setParent(LanguageResource parentLR) throws PersistenceException, SecurityException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |