org.identityconnectors.framework.common.objects
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
- Version:
- $Revision: 1.1 $
- Author:
- Will Droste
ObjectClassInfo
public ObjectClassInfo(String type,
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.
isContainer
public boolean isContainer()
getAttributeInfo
public Set<AttributeInfo> getAttributeInfo()
getType
public String getType()
is
public final boolean is(String name)
- Determines if the 'name' matches this
ObjectClassInfo.
- 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 this ObjectClassInfo.
equals
public final boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.