|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openswing.swing.message.receive.java.ValueObjectImpl
org.openswing.swing.gantt.java.AppointmentVO
Title: OpenSwing Framework
Description: Value object used to store an appointment, based on a starting date+hour and an end date+hour.
Copyright: Copyright (C) 2006 Mauro Carniel
This file is part of OpenSwing Framework. This library is free software; you can redistribute it and/or modify it under the terms of the (LGPL) Lesser General Public License as published by the Free Software Foundation; GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. The author may be contacted at: maurocarniel@tin.it
Constructor Summary | |
AppointmentVO()
|
Method Summary | |
java.lang.Object |
clone()
Method used by Grid and Form objects to internally duplicate a value object. |
java.awt.Color |
getBackgroundColor()
|
java.lang.String |
getDescription()
|
java.math.BigDecimal |
getDuration()
|
java.sql.Timestamp |
getEndDate()
|
java.awt.Color |
getForegroundColor()
|
java.sql.Timestamp |
getStartDate()
|
boolean |
isEnableDelete()
|
boolean |
isEnableEdit()
|
void |
setBackgroundColor(java.awt.Color backgroundColor)
|
void |
setDescription(java.lang.String description)
|
void |
setDuration(java.math.BigDecimal duration)
|
void |
setEnableDelete(boolean enableDelete)
|
void |
setEnableEdit(boolean enableEdit)
|
void |
setEndDate(java.sql.Timestamp endDate)
|
void |
setForegroundColor(java.awt.Color foregroundColor)
|
void |
setStartDate(java.sql.Timestamp startDate)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AppointmentVO()
Method Detail |
public java.sql.Timestamp getStartDate()
getStartDate
in interface Appointment
public void setStartDate(java.sql.Timestamp startDate)
setStartDate
in interface Appointment
public java.sql.Timestamp getEndDate()
getEndDate
in interface Appointment
public void setEndDate(java.sql.Timestamp endDate)
setEndDate
in interface Appointment
public java.lang.String getDescription()
getDescription
in interface Appointment
public void setDescription(java.lang.String description)
setDescription
in interface Appointment
public java.awt.Color getForegroundColor()
getForegroundColor
in interface Appointment
public void setForegroundColor(java.awt.Color foregroundColor)
setForegroundColor
in interface Appointment
public java.awt.Color getBackgroundColor()
getBackgroundColor
in interface Appointment
public void setBackgroundColor(java.awt.Color backgroundColor)
setBackgroundColor
in interface Appointment
public java.math.BigDecimal getDuration()
getDuration
in interface Appointment
public void setDuration(java.math.BigDecimal duration)
setDuration
in interface Appointment
public void setEnableEdit(boolean enableEdit)
setEnableEdit
in interface Appointment
public boolean isEnableEdit()
isEnableEdit
in interface Appointment
public void setEnableDelete(boolean enableDelete)
setEnableDelete
in interface Appointment
public boolean isEnableDelete()
isEnableDelete
in interface Appointment
public java.lang.Object clone()
ValueObjectImpl
clone
in interface Appointment
clone
in class ValueObjectImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |