public final class ObjectClass extends Object
ObjectClass specifies a category or type
 of ConnectorObject. This class predefines some common object-classes,
 such as ACCOUNT and GROUP.| Modifier and Type | Field and Description | 
|---|---|
static ObjectClass | 
ACCOUNT
Represents a human being in the context of a specific system or
 application. 
 | 
static String | 
ACCOUNT_NAME
This constant defines a specific value
 of ObjectClass that is reserved for  
ACCOUNT. | 
static ObjectClass | 
ALL
Represents all collections that contains any object. 
 | 
static String | 
ALL_NAME
This constant defines a specific value
 of ObjectClass that is reserved for  
ALL. | 
static ObjectClass | 
GROUP
Represents a collection that contains an object (such as an account). 
 | 
static String | 
GROUP_NAME
This constant defines a specific value
 of ObjectClass that is reserved for  
GROUP. | 
| Constructor and Description | 
|---|
ObjectClass(String type)
Create a custom object class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
String | 
getDisplayNameKey()
Convenience method to build the display name key for an object class. 
 | 
String | 
getObjectClassValue()
Get the name of the object class. 
 | 
int | 
hashCode()  | 
boolean | 
is(String name)
Determines if the 'name' matches this  
ObjectClass. | 
String | 
toString()  | 
public static final String ACCOUNT_NAME
ACCOUNT.public static final String GROUP_NAME
GROUP.public static final String ALL_NAME
ALL.public static final ObjectClass ACCOUNT
 When an attribute matching this constant is found within a
 ConnectorObject, this indicates that the
 ConnectorObject represents a human being (actual or
 fictional) within the context of a specific system or application.
 
Generally, an Account object records characteristics of a human user (such as loginName, password, user preferences or access privileges) that are relevant only to (or primarily to) a specific system or application.
public static final ObjectClass GROUP
 When an attribute matching this constant is found within a
 ConnectorObject, this indicates that the
 ConnectorObject represents a group.
public static final ObjectClass ALL
 This constant allowed to use in operation
 SyncOp.getLatestSyncToken(ObjectClass)
 and
 SyncOp.sync(ObjectClass, SyncToken, SyncResultsHandler, OperationOptions)
 any other operation throws UnsupportedOperationException
public ObjectClass(String type)
type - string representation for the name of the object class.public String getObjectClassValue()
ACCOUNT is the value defined by
 ACCOUNT_NAME, which is "__ACCOUNT__".)public String getDisplayNameKey()
public boolean is(String name)
ObjectClass.name - case-insensitive string representation of the ObjectClass's
            type.true if the case-insensitive name is equal to that
         of the one in this ObjectClass.Copyright © 2019. All rights reserved.