|
jWorkSheet release 0.90 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ujoframework.extensions.AbstractUjo org.ujoframework.implementation.bean.BeanUjo net.ponec.jworksheet.bo.Event
public class Event
An Event of the Work Day. I have selected the BeanUjo implementaton for its small memory footprint, two fields are stored in a memory safe data type in addition:
Field Summary | |
---|---|
static UjoProperty<Event,java.lang.String> |
P_DESCR
Description of the event |
static UjoProperty<Event,java.lang.Short> |
P_PERIOD
Period of the event in minutes |
static UjoProperty<Event,Project> |
P_PROJ
Project (object) |
static UjoProperty<Event,java.lang.Integer> |
P_PROJID
Project ID for the persistence |
static UjoProperty<Event,TaskType> |
P_TASK
Task (object) |
static UjoProperty<Event,java.lang.Integer> |
P_TASKID
Task ID for the persistence |
static UjoProperty<Event,Time> |
P_TIME
Start time of event |
static byte[] |
ZERO_BYTES
|
static java.lang.Short |
ZERO_SHORT
|
Constructor Summary | |
---|---|
Event()
|
Method Summary | |
---|---|
java.lang.String |
getDescription()
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
short |
getPeriod()
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
Project |
getProject()
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
java.lang.Integer |
getProjectID()
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
TaskType |
getTask()
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
java.lang.Integer |
getTaskID()
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
Time |
getTime()
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
Time |
getTimeFinished()
Returns a Finished time |
Event |
initTime()
Init time |
boolean |
isFinished(UjoProperty property)
Is property finished? |
boolean |
isPrivate()
Is the event from a private project? |
boolean |
readAuthorization(UjoAction action,
UjoProperty property,
java.lang.Object value)
Read Visibility: |
java.lang.Object |
readValue(UjoProperty property)
Overrided for additional features |
void |
setDescription(java.lang.String description)
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
void |
setPeriod(short period)
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
void |
setPeriod(Time time)
Set a time period |
void |
setProject(Project project)
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
void |
setProjectID(java.lang.Integer projectID)
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
void |
setTask(TaskType task)
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
void |
setTaskID(java.lang.Integer taskID)
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
void |
setTime(Time time)
Deprecated. This is a JavaBean method however the method is deprecated because the jWorkSheet application want to use an UJO access only. |
void |
writeValue(UjoProperty property,
java.lang.Object value)
Overrided for additional features |
Methods inherited from class org.ujoframework.implementation.bean.BeanUjo |
---|
newListProperty, newProperty, newProperty |
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 |
---|
public static final byte[] ZERO_BYTES
public static final java.lang.Short ZERO_SHORT
public static final UjoProperty<Event,Time> P_TIME
public static final UjoProperty<Event,java.lang.Short> P_PERIOD
public static final UjoProperty<Event,Project> P_PROJ
public static final UjoProperty<Event,java.lang.Integer> P_PROJID
public static final UjoProperty<Event,TaskType> P_TASK
public static final UjoProperty<Event,java.lang.Integer> P_TASKID
public static final UjoProperty<Event,java.lang.String> P_DESCR
Constructor Detail |
---|
public Event()
Method Detail |
---|
@Deprecated public Time getTime()
@Deprecated public void setTime(Time time)
@Deprecated public short getPeriod()
@Deprecated public void setPeriod(short period)
@Deprecated public Project getProject()
@Deprecated public void setProject(Project project)
@Deprecated public java.lang.Integer getProjectID()
@Deprecated public void setProjectID(java.lang.Integer projectID)
@Deprecated public TaskType getTask()
@Deprecated public void setTask(TaskType task)
@Deprecated public java.lang.Integer getTaskID()
@Deprecated public void setTaskID(java.lang.Integer taskID)
@Deprecated public java.lang.String getDescription()
@Deprecated public void setDescription(java.lang.String description)
public Event initTime()
public void setPeriod(Time time)
public boolean isPrivate()
public boolean readAuthorization(UjoAction action, UjoProperty property, java.lang.Object value)
readAuthorization
in interface Ujo
readAuthorization
in class AbstractUjo
public java.lang.Object readValue(UjoProperty property)
readValue
in interface Ujo
readValue
in class BeanUjo
public void writeValue(UjoProperty property, java.lang.Object value)
writeValue
in interface Ujo
writeValue
in class BeanUjo
public boolean isFinished(UjoProperty property)
public Time getTimeFinished()
|
jWorkSheet release 0.90 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |