com.opnworks.timesheet.domain
Class Week

java.lang.Object
  extended bycom.opnworks.timesheet.domain.Week
All Implemented Interfaces:
IPersistent, java.io.Serializable

public class Week
extends java.lang.Object
implements IPersistent

Author:
laurent
See Also:
Serialized Form

Constructor Summary
Week(java.util.Calendar calendar)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Description of the Method
 java.lang.String getDescription()
           
 java.util.Calendar getEndDate()
           
 java.lang.Long getId()
          Gets the Id attribute of the IPersistent object
 java.util.Calendar getStartDate()
           
 int getVersion()
           
 int hashCode()
          Description of the Method
 void setDescription(java.lang.String string)
           
 void setId(java.lang.Long long1)
          Sets the Id attribute of the IPersistent object
 void setStartDate(java.util.Calendar calendar)
           
 void setVersion(int version)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Week

public Week(java.util.Calendar calendar)
Parameters:
calendar -
Method Detail

setDescription

public void setDescription(java.lang.String string)
Parameters:
string -

setId

public void setId(java.lang.Long long1)
Description copied from interface: IPersistent
Sets the Id attribute of the IPersistent object

Specified by:
setId in interface IPersistent
Parameters:
long1 -

setStartDate

public void setStartDate(java.util.Calendar calendar)
Parameters:
calendar -

setVersion

public void setVersion(int version)
Specified by:
setVersion in interface IPersistent
Parameters:
version - The new Version value

getStartDate

public java.util.Calendar getStartDate()
Returns:

getEndDate

public java.util.Calendar getEndDate()
Returns:

getDescription

public java.lang.String getDescription()
Returns:

getId

public java.lang.Long getId()
Description copied from interface: IPersistent
Gets the Id attribute of the IPersistent object

Specified by:
getId in interface IPersistent
Returns:

getVersion

public int getVersion()
Specified by:
getVersion in interface IPersistent
Returns:

equals

public boolean equals(java.lang.Object obj)
Description of the Method

Parameters:
obj - Description of Parameter
Returns:
Description of the Returned Value

hashCode

public int hashCode()
Description of the Method

Returns:
Description of the Returned Value