org.prevayler.tutorial
Class Task

java.lang.Object
  extended by org.prevayler.tutorial.Task
All Implemented Interfaces:
Serializable

public class Task
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static int MAX_PRIORITY
           
static int MED_PRIORITY
           
static int MIN_PRIORITY
           
 
Constructor Summary
Task()
           
Task(String description, int priority)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
           
 int getPriority()
           
 void setDescription(String description)
           
 void setPriority(int priority)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_PRIORITY

public static final int MAX_PRIORITY
See Also:
Constant Field Values

MED_PRIORITY

public static final int MED_PRIORITY
See Also:
Constant Field Values

MIN_PRIORITY

public static final int MIN_PRIORITY
See Also:
Constant Field Values
Constructor Detail

Task

public Task()

Task

public Task(String description,
            int priority)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getPriority

public int getPriority()

setPriority

public void setPriority(int priority)


Copyright © 2001-2013. All Rights Reserved.