public class PrincipalSearchAttribute
extends java.lang.Object
implements java.io.Serializable
Realm.findUsers
and Realm.findGroups
.Modifier and Type | Field and Description |
---|---|
static PrincipalSearchAttribute |
DISPLAY_NAME
A constant representing a PrincipalSearchAttribute instance of type DISPLAY_NAME.
|
static int |
DISPLAY_NAME_AS_INT
An integer associated with the DISPLAY_NAME instance of this class.
|
static PrincipalSearchAttribute |
NONE
A constant representing a PrincipalSearchAttribute instance of type NONE.
|
static int |
NONE_AS_INT
An integer associated with the NONE instance of this class.
|
static PrincipalSearchAttribute |
SHORT_NAME
A constant representing a PrincipalSearchAttribute instance of type SHORT_NAME.
|
static int |
SHORT_NAME_AS_INT
An integer associated with the SHORT_NAME instance of this class.
|
Modifier and Type | Method and Description |
---|---|
static PrincipalSearchAttribute |
getInstanceFromInt(int value)
Gets the instance of this class using its associated integer value (the *_AS_INT fields).
|
int |
getValue()
Returns an integer value associated with a specific instance of this class.
|
java.lang.String |
toString()
Returns a String representation of this instance.
|
public static final int NONE_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final PrincipalSearchAttribute NONE
getValue()
,
getInstanceFromInt(int)
public static final int SHORT_NAME_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final PrincipalSearchAttribute SHORT_NAME
getValue()
,
getInstanceFromInt(int)
public static final int DISPLAY_NAME_AS_INT
Use the static instances of this class, rather than the associated integer values. The integer values risk binary incompatibility (but not source incompatibility) across product releases.
public static final PrincipalSearchAttribute DISPLAY_NAME
getValue()
,
getInstanceFromInt(int)
public int getValue()
public static PrincipalSearchAttribute getInstanceFromInt(int value)
value
- An integer representing a particular static instance of this class.EngineRuntimeException
- Thrown when the parameter is null or invalid.public java.lang.String toString()
toString
in class java.lang.Object
© Copyright IBM Corporation 2006, 2015. All rights reserved.