Skip navigation links


org.identityconnectors.framework.common.objects
Class EmbeddedObject

java.lang.Object
  extended by org.identityconnectors.framework.common.objects.EmbeddedObject


public final class EmbeddedObject
extends java.lang.Object

An EmbeddedObject represents an object (e.g., an Account's Address) on the target resource that is embedded in another object. Each EmbeddedObject represents a resource object as a bag of attributes. Unlike ConnectorObject, EmbeddedObjects do not have an identity, and therefore are not required to (and most often do not) have a Uid nor a Name.

The clients and the developer of a Connector will use a EmbeddedObjectBuilder to construct instances of EmbeddedObject.

Since:
1.2

Method Summary
 boolean equals(java.lang.Object obj)
           
 Attribute getAttributeByName(java.lang.String name)
          Get an attribute by if it exists else null.
 java.util.Set<Attribute> getAttributes()
          Get the set of attributes that represent this object.
 ObjectClass getObjectClass()
          Gets the ObjectClass for this object.
 int hashCode()
           
 java.lang.String toString()
           

 

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

 

Method Detail

getAttributes

public java.util.Set<Attribute> getAttributes()
Get the set of attributes that represent this object. This includes the OperationalAttributes, if any.

getAttributeByName

public Attribute getAttributeByName(java.lang.String name)
Get an attribute by if it exists else null.

getObjectClass

public ObjectClass getObjectClass()
Gets the ObjectClass for this object.

equals

public 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 © 2013, Oracle and/or its affiliates. All rights reserved.