Class ObjectClassInfo
- java.lang.Object
-
- org.identityconnectors.framework.common.objects.ObjectClassInfo
-
public final class ObjectClassInfo extends Object
Extension of Attribute to distinguish it from a regular attribute.- Since:
- 1.0
- Author:
- Will Droste
-
-
Constructor Summary
Constructors Constructor Description ObjectClassInfo(String type, Set<AttributeInfo> attrInfo, boolean isContainer, boolean isAuxiliary)Public only for serialization; Use ObjectClassInfoBuilder instead.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Set<AttributeInfo>getAttributeInfo()StringgetType()inthashCode()booleanis(String name)Determines if the 'name' matches thisObjectClassInfo.booleanisAuxiliary()Returns flag indicating whether this is a definition of auxiliary object class.booleanisContainer()StringtoString()
-
-
-
Constructor Detail
-
ObjectClassInfo
public ObjectClassInfo(String type, Set<AttributeInfo> attrInfo, boolean isContainer, boolean isAuxiliary)
Public only for serialization; Use ObjectClassInfoBuilder instead.- Parameters:
type- The name of the object classattrInfo- The attributes of the object class.isContainer- True if this can contain other object classes.
-
-
Method Detail
-
isContainer
public boolean isContainer()
-
isAuxiliary
public boolean isAuxiliary()
Returns flag indicating whether this is a definition of auxiliary object class. Auxiliary object classes define additional characteristics of the object.
-
getAttributeInfo
public Set<AttributeInfo> getAttributeInfo()
-
getType
public String getType()
-
is
public boolean is(String name)
Determines if the 'name' matches thisObjectClassInfo.- Parameters:
name- case-insensitive string representation of the ObjectClassInfo's type.- Returns:
trueif the case insensitive type is equal to that of the one in thisObjectClassInfo.
-
-