Skip navigation links


oracle.iam.identity.orgmgmt.vo
Class Organization

java.lang.Object
  extended by oracle.iam.identity.orgmgmt.vo.Organization

All Implemented Interfaces:
java.io.Serializable, Identity
Direct Known Subclasses:
Organization

public class Organization
extends java.lang.Object
implements Identity

The Organization class is a value object class to hold the GUID, attribute name-value pair and child organizations of an organization.

See Also:
Serialized Form

Constructor Summary
Organization()
          Constructs a blank organization identity object
Organization(java.lang.String entityId)
          Constructs an organization identity object with GUID entityId and a map of attribute name-value pair.
Organization(java.lang.String entityId, java.util.HashMap attributes)
          Constructs an organization identity object with GUID entityId and a map of attribute name-value pair.

 

Method Summary
 java.lang.Object getAttribute(java.lang.String name)
          Get the value of the specified organization attribute name.
 java.util.Set getAttributeNames()
          Provides a map of all attribute-value pair of this organization identity.
 java.util.HashMap getAttributes()
          Provides a map of all attribute-value pair of this organization.
 java.lang.String getEntityId()
          Provides GUID of the organization.
 void setAttribute(java.lang.String name, java.lang.Object value)
          Adds the attribute name and it's value value.
 java.lang.String toString()
          Returns the string representation of organization.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Constructor Detail

Organization

public Organization()
Constructs a blank organization identity object

Organization

public Organization(java.lang.String entityId)
Constructs an organization identity object with GUID entityId and a map of attribute name-value pair.
Parameters:
entityId - The GUID of the organization.

Organization

public Organization(java.lang.String entityId,
                    java.util.HashMap attributes)
Constructs an organization identity object with GUID entityId and a map of attribute name-value pair.
Parameters:
entityId - The GUID of the organization.
attributes - The map of attribute name-value pair.

Method Detail

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object value)
Adds the attribute name and it's value value.
Specified by:
setAttribute in interface Identity
Parameters:
name - The attribute to be added.
value - The value of the attribute.

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
Get the value of the specified organization attribute name.
Specified by:
getAttribute in interface Identity
Parameters:
attr - The attribute whose value is to be returned.
Returns:
the value of the attribute. null if the attribute is not present.

getAttributes

public java.util.HashMap getAttributes()
Provides a map of all attribute-value pair of this organization.
Specified by:
getAttributes in interface Identity
Returns:
A map of all attribute-value pair of this entity.

getAttributeNames

public java.util.Set getAttributeNames()
Provides a map of all attribute-value pair of this organization identity.
Specified by:
getAttributeNames in interface Identity
Returns:
A map of all attribute-value pair of this organization identity.

getEntityId

public java.lang.String getEntityId()
Provides GUID of the organization.
Specified by:
getEntityId in interface Identity
Returns:
GUID of the organization.

toString

public java.lang.String toString()
Returns the string representation of organization.
Specified by:
toString in interface Identity
Overrides:
toString in class java.lang.Object
Returns:
The string representation of this organization.

Skip navigation links


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