Ignore:
Timestamp:
03/03/07 21:56:31 (5 years ago)
Author:
sys
Message:

Intégration MML

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Jav_BDP/com/scenari/m/bdp/facet/SourceFacet.java

    r6862 r8858  
    3030public class SourceFacet implements IHSource { 
    3131         
     32        /** Constante spécifiant de prendre la date de dernière modif de la source enveloppée par cet objet. */ 
     33        public static final long GET_WRAPPED_SOURCE = -99; 
     34         
    3235        IHSource fSource = null; 
    3336         
    34         long fLastUpdt = -1; 
     37        long fLastUpdt = GET_WRAPPED_SOURCE; 
    3538         
    3639        String fContentType = null; 
     
    9194 
    9295        public long hGetLastModif() throws Exception { 
    93                 if(fLastUpdt>=0) return fLastUpdt; 
     96                if(fLastUpdt != GET_WRAPPED_SOURCE) return fLastUpdt; 
    9497                return fSource.hGetLastModif(); 
    9598        } 
    9699 
    97100        public long hGetLastModifWithChilds() throws Exception { 
    98                 if(fLastUpdt>=0) return fLastUpdt; 
     101                if(fLastUpdt!= GET_WRAPPED_SOURCE) return fLastUpdt; 
    99102                return fSource.hGetLastModifWithChilds(); 
    100103        } 
Note: See TracChangeset for help on using the changeset viewer.