|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.identityconnectors.framework.common.objects.ObjectClass
public final class ObjectClass
An instance of ObjectClass specifies a category or type of ConnectorObject. This class predefines some common object-classes, such as ACCOUNT and GROUP.
| Field Summary | |
|---|---|
static ObjectClass |
ACCOUNTRepresents a human being in the context of a specific system or application. |
static java.lang.String |
ACCOUNT_NAMEThis constant defines a specific value of ObjectClass that is reserved for ACCOUNT. |
static ObjectClass |
GROUPRepresents a collection that contains an object (such as an account). |
static java.lang.String |
GROUP_NAMEThis constant defines a specific value of ObjectClass that is reserved for GROUP. |
| Constructor Summary | |
|---|---|
ObjectClass(java.lang.String type)Create a custom object class. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDisplayNameKey()Convenience method to build the display name key for an object class. |
java.lang.String |
getObjectClassValue()Get the name of the object class. |
int |
hashCode() |
boolean |
is(java.lang.String name)Determines if the 'name' matches this ObjectClass. |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ACCOUNT_NAME
ACCOUNT.public static final java.lang.String GROUP_NAME
GROUP.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.
| Constructor Detail |
|---|
public ObjectClass(java.lang.String type)
type - string representation for the name of the object class.| Method Detail |
|---|
public java.lang.String getObjectClassValue()
ACCOUNT is the value defined by ACCOUNT_NAME, which is "__ACCOUNT__".)public java.lang.String getDisplayNameKey()
public boolean is(java.lang.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.public int hashCode()
hashCode in class java.lang.Objectpublic final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||