/******************************************************************************* | |
* Copyright (c) 1998, 2009 Oracle. All rights reserved. | |
* This program and the accompanying materials are made available under the | |
* terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 | |
* which accompanies this distribution. | |
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html | |
* and the Eclipse Distribution License is available at | |
* http://www.eclipse.org/org/documents/edl-v10.php. | |
* | |
* Contributors: | |
* dclarke - initial JPA Employee example using XML (bug 217884) | |
******************************************************************************/ | |
package model; | |
import java.util.Calendar; | |
/** | |
* | |
* @author dclarke | |
* @since EclipseLink 1.0 | |
*/ | |
public class LargeProject extends Project { | |
private double budget; | |
private Calendar milestone = Calendar.getInstance(); | |
public LargeProject() { | |
} | |
public double getBudget() { | |
return this.budget; | |
} | |
public void setBudget(double budget) { | |
this.budget = budget; | |
} | |
public Calendar getMilestone() { | |
return milestone; | |
} | |
public void setMilestone(Calendar milestone) { | |
this.milestone = milestone; | |
} | |
public String toString() { | |
return "LargeProject(" + getId() + ", budget: " + getBudget()+ ")"; | |
} | |
} |