|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.identityconnectors.framework.common.objects.Attribute
public class Attribute
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.
Attribute
represents the complete state of an attribute
of the target object, current as of the point in time that the object was read.
Attribute
is supplied to
the update operation,
the Attribute
represents a change
to the corresponding attribute of the target object:
update
,
the Attribute
contains the complete, intended state of the attribute.
addAttributeValues
,
the Attribute
contains values to append.
removeAttributeValues
,
the Attribute
contains values to remove.
Attribute
is used to build a
Filter
that is an argument to
search,
an Attribute
represents a subset of the current state of an attribute
that will be used as a search criterion.
Specifically, the Attribute
names the attribute to match
and contains the values to match.
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getName()
|
List<Object> |
getValue()
|
int |
hashCode()
|
boolean |
is(String name)
Determines if the 'name' matches this Attribute . |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public String getName()
public List<Object> getValue()
public boolean is(String name)
Attribute
.
name
- case insensitive string representation of the attribute's
name.
true
iff the case insentitive name is equal to
that of the one in Attribute
.public final int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public final boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |