com.pnpconsult.zeiterfassung.model
Class Activity

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

public class Activity
extends ArchivableObject

Version:
$Id: Activity.java,v 1.10 2004/08/02 20:36:03 powerpete Exp $
Author:
M. Petersen
See Also:
Serialized Form

Constructor Summary
Activity()
           
Activity(long id)
           
 
Method Summary
protected  Description buildDescription()
           
 float getBillingFactor()
           
 long getId()
           
 java.lang.String getName()
           
 java.lang.String getNameWithBillingFactor()
           
 java.util.Set getUserEntries()
           
 void setBillingFactor(float billingFactor)
           
 void setId(long id)
           
 void setName(java.lang.String name)
           
 void setUserEntries(java.util.Set userEntries)
           
 
Methods inherited from class com.pnpconsult.zeiterfassung.model.ArchivableObject
isArchived, setArchived
 
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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Activity

public Activity(long id)

Activity

public Activity()
Method Detail

getId

public long getId()
Returns:
Returns the id.

setId

public void setId(long id)
Parameters:
id - The id to set.

getBillingFactor

public float getBillingFactor()
Returns:
Returns the billingFactor.

setBillingFactor

public void setBillingFactor(float billingFactor)
Parameters:
billingFactor - The billingFactor to set.

getName

public java.lang.String getName()
Returns:
Returns the name.

getNameWithBillingFactor

public java.lang.String getNameWithBillingFactor()

setName

public void setName(java.lang.String name)
Parameters:
name - The name to set.

buildDescription

protected Description buildDescription()
Overrides:
buildDescription in class DescriptiveObject

getUserEntries

public java.util.Set getUserEntries()

setUserEntries

public void setUserEntries(java.util.Set userEntries)


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