[Join-cvs] join1/src/main/org/figure8/join/businessobjects/environment Parameter.java, 1.1, 1.2 Re
Brought to you by:
lbroudoux
|
From: Laurent B. <lbr...@us...> - 2007-04-06 21:15:19
|
Update of /cvsroot/join/join1/src/main/org/figure8/join/businessobjects/environment In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv29326/businessobjects/environment Modified Files: Parameter.java ResourceMapping.java Log Message: Adding getting configuration at date feature + fixing Checkstyle errors Index: ResourceMapping.java =================================================================== RCS file: /cvsroot/join/join1/src/main/org/figure8/join/businessobjects/environment/ResourceMapping.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ResourceMapping.java 22 Jul 2006 13:04:45 -0000 1.1 --- ResourceMapping.java 6 Apr 2007 21:15:15 -0000 1.2 *************** *** 31,35 **** * @hiberante.cache usage="read-write" * ! * @hibernate.query name="join.resmapping_findByDateAndResource" * query="from ResourceMapping mapping left join fetch mapping.physicalEnvironment" * where mapping.startDate <= :endDate and (mapping.endDate >= :startDate or mapping.endDate is null) --- 31,35 ---- * @hiberante.cache usage="read-write" * ! * @hibernate.query name="join.resmapping_findByIntervalAndResource" * query="from ResourceMapping mapping left join fetch mapping.physicalEnvironment" * where mapping.startDate <= :endDate and (mapping.endDate >= :startDate or mapping.endDate is null) *************** *** 37,40 **** --- 37,44 ---- * @hibernate.query name="join.resmapping_findByDateAndEnvironment" * query="from ResourceMapping mapping left join fetch mapping.resource + * where mapping.startDate <= :date and (mapping.endDate >= :date or mapping.endDate is null) + * and mapping.physicalEnvironment = :physicalEnv order by mapping.startDate asc" + * @hibernate.query name="join.resmapping_findByIntervalAndEnvironment" + * query="from ResourceMapping mapping left join fetch mapping.resource * where mapping.startDate <= :endDate and (mapping.endDate >= :startDate or mapping.endDate is null) * and mapping.physicalEnvironment = :physicalEnv order by mapping.startDate asc" Index: Parameter.java =================================================================== RCS file: /cvsroot/join/join1/src/main/org/figure8/join/businessobjects/environment/Parameter.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Parameter.java 22 Jul 2006 13:04:45 -0000 1.1 --- Parameter.java 6 Apr 2007 21:15:15 -0000 1.2 *************** *** 50,55 **** */ public Parameter(String name, String description){ ! this.name = name; ! this.description = description; } --- 50,55 ---- */ public Parameter(String name, String description){ ! this.name = name; ! this.description = description; } *************** *** 65,69 **** */ public String getName(){ ! return name; } /** --- 65,69 ---- */ public String getName(){ ! return name; } /** *************** *** 72,76 **** */ public void setName(String name){ ! this.name = name; } --- 72,76 ---- */ public void setName(String name){ ! this.name = name; } *************** *** 81,85 **** */ public String getDescription(){ ! return description; } /** --- 81,85 ---- */ public String getDescription(){ ! return description; } /** *************** *** 88,92 **** */ public void setDescription(String description){ ! this.description = description; } } --- 88,92 ---- */ public void setDescription(String description){ ! this.description = description; } } |