|
From: <de...@us...> - 2003-08-18 11:54:57
|
Update of /cvsroot/fudaa/fudaa_devel/dodico/src/org/fudaa/dodico/dico
In directory sc8-pr-cvs1:/tmp/cvs-serv9615/src/org/fudaa/dodico/dico
Added Files:
DicoCasFileFormatVersion.java DicoEntiteFile.java
Log Message:
AJout de classes pour le projet tr
--- NEW FILE: DicoCasFileFormatVersion.java ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: DicoEntiteFile.java ---
/*
* @file TrBaseEntiteFile.java
* @creation 30 avr. 2003
* @modification $Date: 2003/08/18 11:48:02 $
* @license GNU General Public License 2
* @copyright (c)1998-2001 CETMEF 2 bd Gambetta F-60231 Compiegne
* @mail de...@fu...
*/
package org.fudaa.dodico.dico;
import org.fudaa.dodico.fichiers.FileFormat;
public class DicoEntiteFile {
private DicoEntite entite_;
//private DodicoAnalyze analyze_;
private long timeLoaded_;
private FileFormat format_;
public DicoEntiteFile(DicoEntite _entite) {
entite_= _entite;
}
public void setFileFormat(FileFormat _f) {
format_= _f;
}
/**
* @return
*/
public DicoEntite getEntite() {
return entite_;
}
/**
* @return
*/
public FileFormat getFormat() {
return format_;
}
public void setLoaded(long _t) {
if (timeLoaded_ > 0)
timeLoaded_= _t;
}
public void resetLoaded() {
timeLoaded_= 0;
}
public long getTimeLoaded() {
return timeLoaded_;
}
public boolean isLoaded() {
return timeLoaded_ > 0;
}
}
|