public final class ObjectClassUtil extends Object
ObjectClass
.Modifier and Type | Method and Description |
---|---|
static String |
createSpecialName(String name)
Create a special name from the specified name.
|
static boolean |
isSpecial(ObjectClass objectClass)
Determines whether the specified object class is a special object class.
|
static boolean |
isSpecialName(String name)
Determines whether the specified object class name is special in the
sense of
createSpecialName(java.lang.String) . |
static boolean |
namesEqual(String name1,
String name2)
Compares two object class names for equality.
|
public static boolean isSpecial(ObjectClass objectClass)
ObjectClass.ACCOUNT
and
ObjectClass.GROUP
.objectClass
- ObjectClass
to test for against.NullPointerException
- if the object class parameter is null.public static boolean isSpecialName(String name)
createSpecialName(java.lang.String)
.name
- the object class name to test against.public static String createSpecialName(String name)
__
string as both prefix and suffix. This indicates
that a name identifies a special object class such as a predefined one.name
- Copyright © 2019. All rights reserved.