com.pnpconsult.zeiterfassung.model
Class BillEntry

java.lang.Object
  extended bycom.pnpconsult.zeiterfassung.model.DescriptiveObject
      extended bycom.pnpconsult.zeiterfassung.model.TimestampedObject
          extended bycom.pnpconsult.zeiterfassung.model.AbstractBaseEntry
              extended bycom.pnpconsult.zeiterfassung.model.BillEntry
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class BillEntry
extends AbstractBaseEntry

This entry is a user defined entry, that is not created from the user entries, but manually inserted by the manager. This entry contains a manually defined description, that is not created by

Version:
$Id: BillEntry.java,v 1.4 2004/06/09 19:26:40 powerpete Exp $
Author:
M. Petersen
See Also:
Serialized Form

Constructor Summary
BillEntry()
           
 
Method Summary
protected  Description buildDescription()
           
 Bill getBill()
           
 java.lang.String getBillDescription()
          Description for the bill table.
 java.lang.String getDescription()
           
 float getHours()
           
 float getRate()
           
 java.lang.String getUserDescription()
          Description for the user table.
 void setBill(Bill bill)
           
 void setDescription(java.lang.String description)
           
 void setHours(float hours)
           
 void setRate(float rate)
           
 
Methods inherited from class com.pnpconsult.zeiterfassung.model.AbstractBaseEntry
equals, getId, getProject, getTargetDate, getUser, hashCode, setId, setProject, setTargetDate, setUser
 
Methods inherited from class com.pnpconsult.zeiterfassung.model.TimestampedObject
getDateCreated, getDateModified, setDateCreated, setDateModified
 
Methods inherited from class com.pnpconsult.zeiterfassung.model.DescriptiveObject
compareTo, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BillEntry

public BillEntry()
Method Detail

getDescription

public java.lang.String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - The description to set.

getHours

public float getHours()
Overrides:
getHours in class AbstractBaseEntry
Returns:
Returns the hours.

setHours

public void setHours(float hours)
Overrides:
setHours in class AbstractBaseEntry
Parameters:
hours - The hours to set.

getRate

public float getRate()
Specified by:
getRate in class AbstractBaseEntry
Returns:
Returns the rate.

setRate

public void setRate(float rate)
Parameters:
rate - The rate to set.

getBill

public Bill getBill()
Returns:
Returns the bill.

setBill

public void setBill(Bill bill)
Parameters:
bill - The bill to set.

buildDescription

protected Description buildDescription()
Overrides:
buildDescription in class DescriptiveObject

getUserDescription

public java.lang.String getUserDescription()
Description copied from class: AbstractBaseEntry
Description for the user table.

Specified by:
getUserDescription in class AbstractBaseEntry
Returns:
The description for the user table.

getBillDescription

public java.lang.String getBillDescription()
Description copied from class: AbstractBaseEntry
Description for the bill table.

Specified by:
getBillDescription in class AbstractBaseEntry
Returns:
The description for the bill table.


Copyright © 2003-2004 PNP Unternehmensberatung. All Rights Reserved.