Class ObjectClassInfo
- java.lang.Object
-
- org.identityconnectors.framework.common.objects.ObjectClassInfo
-
public final class ObjectClassInfo extends java.lang.Object
Extension of Attribute to distinguish it from a regular attribute.- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description ObjectClassInfo(java.lang.String type, java.util.Set<AttributeInfo> attrInfo, boolean isContainer)
Public only for serialization; Use ObjectClassInfoBuilder instead.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.Set<AttributeInfo>
getAttributeInfo()
java.lang.String
getType()
int
hashCode()
boolean
is(java.lang.String name)
Determines if the 'name' matches thisObjectClassInfo
.boolean
isContainer()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ObjectClassInfo
public ObjectClassInfo(java.lang.String type, java.util.Set<AttributeInfo> attrInfo, boolean isContainer)
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()
-
getAttributeInfo
public java.util.Set<AttributeInfo> getAttributeInfo()
-
getType
public java.lang.String getType()
-
is
public boolean is(java.lang.String name)
Determines if the 'name' matches thisObjectClassInfo
.- Parameters:
name
- case-insensitive string representation of the ObjectClassInfo's type.- Returns:
true
if the case insensitive type is equal to that of the one in thisObjectClassInfo
.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-