com.evolveum.icf.dummy.connector
Class Utils
java.lang.Object
com.evolveum.icf.dummy.connector.Utils
public class Utils
- extends java.lang.Object
- Author:
- lazyman, Radovan Semancik
Constructor Summary |
Utils()
|
Method Summary |
static
|
getAttributeSingleValue(java.util.Set<org.identityconnectors.framework.common.objects.Attribute> attributes,
java.lang.String attributeName,
java.lang.Class<T> type)
|
static java.lang.String |
getMandatoryStringAttribute(java.util.Set<org.identityconnectors.framework.common.objects.Attribute> attributes,
java.lang.String attributeName)
|
static void |
isAccount(org.identityconnectors.framework.common.objects.ObjectClass oc)
|
static void |
notEmpty(java.lang.String value,
java.lang.String message)
|
static void |
notEmptyArgument(java.lang.String value,
java.lang.String arg)
|
static void |
notNull(java.lang.Object object,
java.lang.String message)
|
static void |
notNullArgument(java.lang.Object object,
java.lang.String arg)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utils
public Utils()
getMandatoryStringAttribute
public static java.lang.String getMandatoryStringAttribute(java.util.Set<org.identityconnectors.framework.common.objects.Attribute> attributes,
java.lang.String attributeName)
getAttributeSingleValue
public static <T> T getAttributeSingleValue(java.util.Set<org.identityconnectors.framework.common.objects.Attribute> attributes,
java.lang.String attributeName,
java.lang.Class<T> type)
isAccount
public static void isAccount(org.identityconnectors.framework.common.objects.ObjectClass oc)
notNull
public static void notNull(java.lang.Object object,
java.lang.String message)
notNullArgument
public static void notNullArgument(java.lang.Object object,
java.lang.String arg)
notEmpty
public static void notEmpty(java.lang.String value,
java.lang.String message)
notEmptyArgument
public static void notEmptyArgument(java.lang.String value,
java.lang.String arg)
Copyright © 2011 evolveum. All Rights Reserved.