|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sas.hls.common.AbstractIdentifiable
com.sas.hls.work.workitem.WorkItem
public class WorkItem
A data object that represents a work item
Nested Class Summary | |
---|---|
static class |
WorkItem.Status
Status is an enum representing the status of the work item. |
Field Summary | |
---|---|
static String |
OBJECT_TYPE
Represents the type name of a WorkItem object. |
Constructor Summary | |
---|---|
WorkItem(String identifier,
ObjectIdentity context,
String contextPath,
String name,
WorkItem.Status status,
List<Attribute> attributes)
Deprecated. Deprecated as of version 1.7. Please use WorkItem(String, ObjectIdentity, String, String, Status, String, List) . |
|
WorkItem(String identifier,
ObjectIdentity context,
String contextPath,
String name,
WorkItem.Status status,
String owner,
List<Attribute> attributes)
Initializing constructor. |
Method Summary | |
---|---|
Attribute |
getAttribute(String name)
Return the attribute with the provided name. |
List<Attribute> |
getAttributes()
Get the attributes of this work item |
ObjectIdentity |
getContext()
Get the context for this work item |
String |
getContextPath()
Get the path of the context for this work item |
String |
getName()
Get the name for this work item |
String |
getOwner()
Get the owner for this work item. |
WorkItem.Status |
getStatus()
Get the status of this work item. |
String |
toString()
Return a string representation of the object. |
Methods inherited from class com.sas.hls.common.AbstractIdentifiable |
---|
equals, getIdentifier, getObjectType, hashCode, setIdentifier, setObjectType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String OBJECT_TYPE
Constructor Detail |
---|
@Deprecated public WorkItem(String identifier, ObjectIdentity context, String contextPath, String name, WorkItem.Status status, List<Attribute> attributes)
WorkItem(String, ObjectIdentity, String, String, Status, String, List)
.
identifier
- the unique identifier of this work itemcontext
- the context where this work item was createdcontextPath
- the path to the context where this work item was createdname
- the name of this work itemstatus
- the status of this work itemattributes
- the attributes associated with this work itempublic WorkItem(String identifier, ObjectIdentity context, String contextPath, String name, WorkItem.Status status, String owner, List<Attribute> attributes)
identifier
- the unique identifier of this work itemcontext
- the context where this work item was createdcontextPath
- the path to the context where this work item was createdname
- the name of this work itemstatus
- the status of this work itemowner
- the owner of this work itemattributes
- the attributes associated with this work itemMethod Detail |
---|
public ObjectIdentity getContext()
public String getName()
public String getOwner()
public String getContextPath()
public List<Attribute> getAttributes()
public Attribute getAttribute(String name)
name
- The name of the attribute being requested
null
if it does not exist.public WorkItem.Status getStatus()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |