|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ObjectClassType> ca.tnt.ldaputils.annotations.ObjectClassType
public enum ObjectClassType
Defines the types of LDAP objectClass(es). There are essentially two types:
STRUCTURAL
, and AUXILIARY
.
Enum Constant Summary | |
---|---|
AUXILIARY
An Auxiliary ldap objectclass is just an add-on to the entry. |
|
STRUCTURAL
a structural ldap objectClass is one that provides the base attribute definitions for an ldap entry. |
Method Summary | |
---|---|
static ObjectClassType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ObjectClassType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ObjectClassType AUXILIARY
public static final ObjectClassType STRUCTURAL
AUXILIARY
objectClass, as defined in AUXILIARY
. Or, it can be
a hierarchy of structural objectClass(es). A good example of this type
of objectClass is the "person" objectClass. A good example of
hierarchical structural objectClasses are the inetOrgPerson ->
organizationalPerson -> person object classes, where person is the base
most class.
Method Detail |
---|
public static ObjectClassType[] values()
for (ObjectClassType c : ObjectClassType.values()) System.out.println(c);
public static ObjectClassType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
This documentation is part of the LDAP Persistence API (LPA).
Copyright Trenton D. Adams <lpa at trentonadams daught ca>
LPA is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
LPA is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with LPA. If not, see GNU Licenses.
See the COPYING file, in the git repository, for more information.