net.ponec.jworksheet.bo
Class WorkDay

Package class diagram package WorkDay
java.lang.Object
  extended by org.ujoframework.extensions.AbstractUjo
      extended by org.ujoframework.implementation.map.MapUjo
          extended by net.ponec.jworksheet.bo.WorkDay
All Implemented Interfaces:
java.lang.Comparable, UjoCloneable, UjoTextable, Ujo

public class WorkDay
extends MapUjo
implements java.lang.Comparable

One Work Day


Field Summary
static UjoProperty<WorkDay,YearMonthDay> P_DATE
          A work day
static UjoProperty<WorkDay,java.lang.Boolean> P_DAYOFF
          A day off work
static ListProperty<WorkDay,Event> P_EVENTS
          List of events
 
Fields inherited from class org.ujoframework.implementation.map.MapUjo
data
 
Constructor Summary
WorkDay()
           
 
Method Summary
 int compareTo(java.lang.Object o)
          Compare to another WorkDay by a P_DATE.
 boolean readAuthorization(UjoAction action, UjoProperty property, java.lang.Object value)
          Overrided for additional features
 
Methods inherited from class org.ujoframework.implementation.map.MapUjo
newListProperty, newProperty, newProperty, newProperty, newPropertyList, readValue, writeValue
 
Methods inherited from class org.ujoframework.extensions.AbstractUjo
clone, equals, init, init, readProperties, readUjoManager, readValueString, toString, writeValueString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

P_DATE

public static final UjoProperty<WorkDay,YearMonthDay> P_DATE
A work day


P_DAYOFF

public static final UjoProperty<WorkDay,java.lang.Boolean> P_DAYOFF
A day off work


P_EVENTS

public static final ListProperty<WorkDay,Event> P_EVENTS
List of events

Constructor Detail

WorkDay

public WorkDay()
Method Detail

readAuthorization

public boolean readAuthorization(UjoAction action,
                                 UjoProperty property,
                                 java.lang.Object value)
Overrided for additional features

Specified by:
readAuthorization in interface Ujo
Overrides:
readAuthorization in class AbstractUjo

compareTo

public int compareTo(java.lang.Object o)
Compare to another WorkDay by a P_DATE.

Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2007-2009 PPonec