Skip navigation links


org.identityconnectors.framework.common.objects
Class Attribute

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

Direct Known Subclasses:
Name, Uid

public class Attribute
extends java.lang.Object

Represents a named collection of values within a target object, although the simplest case is a name-value pair (e.g., email, employeeID). Values can be empty, null, or set with various types. Empty and null are supported because it makes a difference on some resources (in particular database resources).

The developer of a Connector should use an AttributeBuilder to construct an instance of Attribute.

The precise meaning of an instance of Attribute depends on the context in which it occurs.

TODO: define the set of allowed values

Since:
1.0
Version:
$Revision: 1.7 $
Author:
Will Droste

Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getName()
           
 java.util.List<java.lang.Object> getValue()
           
 int hashCode()
           
 boolean is(java.lang.String name)
          Determines if the 'name' matches this Attribute.
 java.lang.String toString()
           

 

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

 

Method Detail

getName

public java.lang.String getName()

getValue

public java.util.List<java.lang.Object> getValue()

is

public boolean is(java.lang.String name)
Determines if the 'name' matches this Attribute.
Parameters:
name - case insensitive string representation of the attribute's name.
Returns:
true iff the case insentitive name is equal to that of the one in Attribute.

hashCode

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

toString

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

equals

public final boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

Skip navigation links


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