Skip navigation links


org.identityconnectors.framework.common.objects
Class ObjectClassInfo

java.lang.Object
  extended by 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
Version:
$Revision: 1.1 $
Author:
Will Droste

Constructor Summary
ObjectClassInfo(java.lang.String type, java.util.Set<AttributeInfo> attrInfo, boolean isContainer, boolean isEmbedded)
          Public only for serialization; Use ObjectClassInfoBuilder instead.

 

Method Summary
 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 this ObjectClassInfo.
 boolean isContainer()
           
 boolean isEmbedded()
          Returns true if this is an embedded object class, i.e., objects of this class are embedded in other objects.
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

ObjectClassInfo

public ObjectClassInfo(java.lang.String type,
                       java.util.Set<AttributeInfo> attrInfo,
                       boolean isContainer,
                       boolean isEmbedded)
Public only for serialization; Use ObjectClassInfoBuilder instead.
Parameters:
type - The name of the object class
attrInfo - The attributes of the object class.
isContainer - True if this can contain other object classes.

Method Detail

isContainer

public boolean isContainer()

isEmbedded

public boolean isEmbedded()
Returns true if this is an embedded object class, i.e., objects of this class are embedded in other objects.
Returns:
if this is an embedded object class.
Since:
1.2

getAttributeInfo

public java.util.Set<AttributeInfo> getAttributeInfo()

getType

public java.lang.String getType()

is

public final boolean is(java.lang.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(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Skip navigation links


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.