fr.cnes.sitools.common.model
Class UpdatingPlan

java.lang.Object
  extended by fr.cnes.sitools.common.model.UpdatingPlan

public final class UpdatingPlan
extends java.lang.Object

Update plans for a resource, affecting expiration dates and modification dates of a request answer.

Author:
jp.boignard (AKKA Technologies)

Method Summary
 int getDuration()
          Gets the duration value.
 int getHour()
          Gets the hour value.
 boolean isFr()
          Gets the Friday value.
 boolean isMo()
          Gets the Monday value.
 boolean isSa()
          Gets the Saturday value.
 boolean isSu()
          Gets the Sunday value.
 boolean isTh()
          Gets the Thursday value.
 boolean isTu()
          Gets the Tuesday value.
 boolean isWe()
          Gets the Wednesday value.
 void setDuration(int durat)
          Sets the value of duration.
 void setFr(boolean fri)
          Sets the value of Friday.
 void setHour(int hourToSet)
          Sets the value of hour.
 void setMo(boolean mon)
          Sets the value of Monday
 void setSa(boolean sat)
          Sets the value of Saturday.
 void setSu(boolean sun)
          Sets the value of Sunday.
 void setTh(boolean thu)
          Sets the value of Thursday.
 void setTu(boolean tue)
          Sets the value of Tuesday.
 void setWe(boolean wen)
          Sets the value of Wednesday.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isMo

public boolean isMo()
Gets the Monday value.

Returns:
true if Monday

setMo

public void setMo(boolean mon)
Sets the value of Monday

Parameters:
mon - true if set to Monday

isTu

public boolean isTu()
Gets the Tuesday value.

Returns:
true of Tuesday is set

setTu

public void setTu(boolean tue)
Sets the value of Tuesday.

Parameters:
tue - true to set Tuesday

isWe

public boolean isWe()
Gets the Wednesday value.

Returns:
true if Wednesday is set.

setWe

public void setWe(boolean wen)
Sets the value of Wednesday.

Parameters:
wen - true to set Wednesday.

isTh

public boolean isTh()
Gets the Thursday value.

Returns:
true if Thursday is set.

setTh

public void setTh(boolean thu)
Sets the value of Thursday.

Parameters:
thu - true to set Thursday

isFr

public boolean isFr()
Gets the Friday value.

Returns:
true if Friday is set.

setFr

public void setFr(boolean fri)
Sets the value of Friday.

Parameters:
fri - true to set Friday

isSa

public boolean isSa()
Gets the Saturday value.

Returns:
true if Saturday is set.

setSa

public void setSa(boolean sat)
Sets the value of Saturday.

Parameters:
sat - true to set Saturday

isSu

public boolean isSu()
Gets the Sunday value.

Returns:
true if Sunday is set.

setSu

public void setSu(boolean sun)
Sets the value of Sunday.

Parameters:
sun - to set Sunday the sun to set

getHour

public int getHour()
Gets the hour value.

Returns:
the hour

setHour

public void setHour(int hourToSet)
Sets the value of hour.

Parameters:
hourToSet - the hour to set

getDuration

public int getDuration()
Gets the duration value.

Returns:
the duration

setDuration

public void setDuration(int durat)
Sets the value of duration.

Parameters:
durat - the duration to set


Copyright © 2010-2013 CNES. All Rights Reserved.