|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
org.identityconnectors.framework.common.objects.AttributeInfoUtil
public final class AttributeInfoUtil
Utility methods to retrieve values from instances of AttributeInfo
.
Constructor Summary | |
---|---|
AttributeInfoUtil() |
Method Summary | |
---|---|
static AttributeInfo |
find(java.lang.String name, java.util.Set<AttributeInfo> attrs) Find the AttributeInfo of the given name in the Set . |
static java.util.Map<java.lang.String,AttributeInfo> |
toMap(java.util.Collection<? extends AttributeInfo> attributes) Transform a Collection of AttributeInfo instances into a Map . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AttributeInfoUtil()
Method Detail |
---|
public static java.util.Map<java.lang.String,AttributeInfo> toMap(java.util.Collection<? extends AttributeInfo> attributes)
Collection
of AttributeInfo
instances into a Map
. The key to each element in the map is the name of an AttributeInfo
. The value of each element in the map is the AttributeInfo
instance with that name.attributes
- set of AttributeInfo to transform to a map.java.lang.NullPointerException
- iff the parameter attributes is null.public static AttributeInfo find(java.lang.String name, java.util.Set<AttributeInfo> attrs)
AttributeInfo
of the given name in the Set
.name
- AttributeInfo
's name to search for.attrs
- Set
of AttributeInfo to search.AttributeInfo
with the specified otherwise null
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |