public static enum ProjectIdentity.Mode extends Enum<ProjectIdentity.Mode>
| Enum Constant and Description |
|---|
ROLE
Compare by role only.
|
ROLE_FAMILY
Compare by role and family id.
|
ROLE_FAMILY_PROJECT
Compare by role, family id, project id.
|
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(ProjectIdentity one,
ProjectIdentity two) |
static ProjectIdentity.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProjectIdentity.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectIdentity.Mode ROLE
public static final ProjectIdentity.Mode ROLE_FAMILY
public static final ProjectIdentity.Mode ROLE_FAMILY_PROJECT
public static ProjectIdentity.Mode[] values()
for (ProjectIdentity.Mode c : ProjectIdentity.Mode.values()) System.out.println(c);
public static ProjectIdentity.Mode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic abstract boolean equals(ProjectIdentity one, ProjectIdentity two)
Copyright © 2004-2013 Barchart, Inc.. All Rights Reserved.