com.evolveum.icf.dummy.connector
Class Utils

java.lang.Object
  extended by com.evolveum.icf.dummy.connector.Utils

public class Utils
extends Object

Author:
lazyman, Radovan Semancik

Constructor Summary
Utils()
           
 
Method Summary
static
<T> T
getAttributeSingleValue(Set<org.identityconnectors.framework.common.objects.Attribute> attributes, String attributeName, Class<T> type)
           
static String getMandatoryStringAttribute(Set<org.identityconnectors.framework.common.objects.Attribute> attributes, String attributeName)
           
static void isAccount(org.identityconnectors.framework.common.objects.ObjectClass oc)
           
static void notEmpty(String value, String message)
           
static void notEmptyArgument(String value, String arg)
           
static void notNull(Object object, String message)
           
static void notNullArgument(Object object, String arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utils

public Utils()
Method Detail

getMandatoryStringAttribute

public static String getMandatoryStringAttribute(Set<org.identityconnectors.framework.common.objects.Attribute> attributes,
                                                 String attributeName)

getAttributeSingleValue

public static <T> T getAttributeSingleValue(Set<org.identityconnectors.framework.common.objects.Attribute> attributes,
                                            String attributeName,
                                            Class<T> type)

isAccount

public static void isAccount(org.identityconnectors.framework.common.objects.ObjectClass oc)

notNull

public static void notNull(Object object,
                           String message)

notNullArgument

public static void notNullArgument(Object object,
                                   String arg)

notEmpty

public static void notEmpty(String value,
                            String message)

notEmptyArgument

public static void notEmptyArgument(String value,
                                    String arg)


Copyright © 2013 evolveum. All Rights Reserved.