|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.identityconnectors.framework.common.objects.ObjectClassUtil
public class ObjectClassUtil
Utility methods to for ObjectClass
.
Method Summary | |
---|---|
static java.lang.String |
createSpecialName(java.lang.String name) Create a special name from the specified name. |
static boolean |
isSpecial(ObjectClass oclass) Determines whether the specified object class is a special object class. |
static boolean |
isSpecialName(java.lang.String name) Determines whether the specified object class name is special in the sense of createSpecialName(java.lang.String) . |
static boolean |
namesEqual(java.lang.String name1, java.lang.String name2) Compares two object class names for equality. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isSpecial(ObjectClass oclass)
ObjectClass.ACCOUNT
and ObjectClass.GROUP
.oclass
- ObjectClass
to test for against.java.lang.NullPointerException
- iff the object class parameter is null.public static boolean isSpecialName(java.lang.String name)
createSpecialName(java.lang.String)
.name
- the object class name to test against.public static java.lang.String createSpecialName(java.lang.String name)
__
string as both prefix and suffix. This indicates that a name identifies a special object class such as a predefined one.public static boolean namesEqual(java.lang.String name1, java.lang.String name2)
name1
- the first object class name.name2
- the second object class name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |