java.io.Serializable, java.lang.Comparable<WorkitemType>public enum WorkitemType extends java.lang.Enum<WorkitemType>
| Enum Constant | Description |
|---|---|
ACTIVITY |
The activity-workitem.
|
COMPETENCE |
The competence.
|
HOWTO |
The howto-workitem.
|
PERSON |
The person-workitem.
|
REPORT |
The report-workitem.
|
ROLE |
The role-workitem.
|
ROLEGROUP |
The rolegroup-workitem.
|
TEAM |
The team.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getLowerName() |
Gets the lower name.
|
java.lang.String |
getName() |
Gets the name.
|
boolean |
isEquals(java.lang.String type) |
Checks if is equals.
|
boolean |
isTypeOf(IWorkitem workitem) |
Checks if workitem is type enum-name.
|
boolean |
isTypeOf(IWorkitem workitem,
IWorkitem workitem2) |
Checks if object is type of workitem.
|
java.lang.String |
toString() |
|
static WorkitemType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static WorkitemType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkitemType REPORT
public static final WorkitemType HOWTO
public static final WorkitemType ACTIVITY
public static final WorkitemType ROLE
public static final WorkitemType ROLEGROUP
public static final WorkitemType COMPETENCE
public static final WorkitemType TEAM
public static final WorkitemType PERSON
public static WorkitemType[] values()
for (WorkitemType c : WorkitemType.values()) System.out.println(c);
public static WorkitemType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isTypeOf(IWorkitem workitem, IWorkitem workitem2)
workitem - first workitemworkitem2 - second workitempublic boolean isTypeOf(IWorkitem workitem)
workitem - the workitempublic java.lang.String getName()
public boolean isEquals(java.lang.String type)
type - the typepublic java.lang.String getLowerName()
public java.lang.String toString()
toString in class java.lang.Enum<WorkitemType>