com.pnpconsult.zeiterfassung.model
Class Customer

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.Customer
All Implemented Interfaces:
java.lang.Comparable, java.io.Serializable

public class Customer
extends ArchivableObject

Version:
$Id: Customer.java,v 1.8 2004/06/24 20:54:19 powerpete Exp $
Author:
M. Petersen
See Also:
Serialized Form

Constructor Summary
Customer()
           
 
Method Summary
 void addProject(Project project)
           
protected  Description buildDescription()
           
 long getId()
           
 java.lang.String getName()
           
 java.util.SortedSet getProjects()
           
 void setId(long id)
           
 void setName(java.lang.String name)
           
 void setProjects(java.util.SortedSet projects)
           
 
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

Customer

public Customer()
Method Detail

getId

public long getId()
Returns:
Returns the id.

setId

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

getName

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

setName

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

getProjects

public java.util.SortedSet getProjects()
Returns:
Returns the projects.

setProjects

public void setProjects(java.util.SortedSet projects)
Parameters:
projects - The projects to set.

buildDescription

protected Description buildDescription()
Overrides:
buildDescription in class DescriptiveObject

addProject

public void addProject(Project project)


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