Class ObjectClassInfo
java.lang.Object
org.identityconnectors.framework.common.objects.ObjectClassInfo
Definition of an object class.
- Since:
- 1.0
- Author:
- Will Droste
-
Constructor Summary
ConstructorsConstructorDescriptionObjectClassInfo(String type, Set<AttributeInfo> attrInfo, boolean isContainer, boolean isAuxiliary, boolean isEmbedded) Public only for serialization; Use ObjectClassInfoBuilder instead. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetType()inthashCode()booleanDetermines if the 'name' matches thisObjectClassInfo.booleanReturns flag indicating whether this is a definition of auxiliary object class.booleanbooleanIftrue, objects of this class are meant to be embedded in other objects.toString()
-
Constructor Details
-
ObjectClassInfo
public ObjectClassInfo(String type, Set<AttributeInfo> attrInfo, boolean isContainer, boolean isAuxiliary, boolean isEmbedded) 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 Details
-
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. -
isEmbedded
public boolean isEmbedded()Iftrue, objects of this class are meant to be embedded in other objects. (They may or may not be queryable or updatable directly.) Currently, this information serves just as a hint for the client code. In the future, we may relax some of requirements on embedded objects, for example, they may not need to have theNameand/orUidattributes. -
getAttributeInfo
-
getType
-
is
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.
-
equals
-
hashCode
public int hashCode() -
toString
-