net.ponec.jworksheet.bo
Class Project

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

public class Project
extends MapUjo
implements java.lang.Comparable

Project


Field Summary
static UjoProperty<Project,java.lang.Boolean> P_DEFAULT
          Is the project default?
static UjoProperty<Project,java.lang.String> P_DESCR
          Project descripton
static UjoProperty<Project,java.lang.Boolean> P_FINISHED
          Is the project finished?
static UjoProperty<Project,java.lang.Integer> P_ID
          Project ID
static UjoProperty<Project,java.lang.Boolean> P_PRIVATE
          Is the project non business type?
static ListProperty<Project,TaskType> P_TASKS
          List of task
static UjoProperty[] TABLE_COLUMNS
          Table columns.
 
Fields inherited from class org.ujoframework.implementation.map.MapUjo
data
 
Constructor Summary
Project()
           
 
Method Summary
 int compareTo(java.lang.Object o)
          Compare to another Project by ID.
 TaskType findDefaultTask()
          Returns the first "default" TaskType, null.
 TaskType findTaskType(java.lang.Integer taskId)
          Find a TaskType by its id
 java.util.ArrayList<TaskType> getOpenTasks()
          Returns all open tasks.
 java.lang.String toString()
          Show description
 
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, readAuthorization, readProperties, readUjoManager, readValueString, writeValueString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

P_ID

public static final UjoProperty<Project,java.lang.Integer> P_ID
Project ID


P_DEFAULT

public static final UjoProperty<Project,java.lang.Boolean> P_DEFAULT
Is the project default?


P_FINISHED

public static final UjoProperty<Project,java.lang.Boolean> P_FINISHED
Is the project finished?


P_PRIVATE

public static final UjoProperty<Project,java.lang.Boolean> P_PRIVATE
Is the project non business type?


P_DESCR

public static final UjoProperty<Project,java.lang.String> P_DESCR
Project descripton


P_TASKS

public static final ListProperty<Project,TaskType> P_TASKS
List of task


TABLE_COLUMNS

public static final UjoProperty[] TABLE_COLUMNS
Table columns.

Constructor Detail

Project

public Project()
Method Detail

toString

public java.lang.String toString()
Show description

Overrides:
toString in class AbstractUjo

findTaskType

public TaskType findTaskType(java.lang.Integer taskId)
Find a TaskType by its id


findDefaultTask

public TaskType findDefaultTask()
Returns the first "default" TaskType, null.


getOpenTasks

public java.util.ArrayList<TaskType> getOpenTasks()
Returns all open tasks.


compareTo

public int compareTo(java.lang.Object o)
Compare to another Project by ID.

Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2007-2009 PPonec