com.evolveum.midpoint.schema.util
Class ResourceTypeUtil

java.lang.Object
  extended by com.evolveum.midpoint.schema.util.ResourceTypeUtil

public class ResourceTypeUtil
extends java.lang.Object

Methods that would belong to the ResourceType class but cannot go there because of JAXB.

Author:
Radovan Semancik

Constructor Summary
ResourceTypeUtil()
           
 
Method Summary
static boolean compareConfiguration(Configuration a, Configuration b)
           
static
<T> T
getCapability(java.util.Collection<java.lang.Object> capabilities, java.lang.Class<T> capabilityClass)
           
static java.lang.String getCapabilityDisplayName(java.lang.Object capability)
           
static java.lang.String getConnectorOid(ResourceType resource)
           
static ConnectorType getConnectorType(ResourceType resource, ObjectResolver resolver)
          The usage of "resolver" is experimental.
static CapabilitiesType getEffectiveCapabilities(ResourceType resource)
           
static
<T> T
getEffectiveCapability(ResourceType resource, java.lang.Class<T> capabilityClass)
           
static Schema getResourceSchema(ResourceType resource)
           
static org.w3c.dom.Element getResourceXsdSchema(ResourceType resource)
           
static boolean hasActivationCapability(ResourceType resource)
           
static boolean hasCredentialsCapability(ResourceType resource)
           
static java.util.List<java.lang.Object> listEffectiveCapabilities(ResourceType resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceTypeUtil

public ResourceTypeUtil()
Method Detail

getConnectorOid

public static java.lang.String getConnectorOid(ResourceType resource)

getConnectorType

public static ConnectorType getConnectorType(ResourceType resource,
                                             ObjectResolver resolver)
The usage of "resolver" is experimental. Let's see if it will be practical ...

See Also:
ObjectResolver

getResourceXsdSchema

public static org.w3c.dom.Element getResourceXsdSchema(ResourceType resource)

getResourceSchema

public static Schema getResourceSchema(ResourceType resource)
                                throws SchemaException
Throws:
SchemaException

compareConfiguration

public static boolean compareConfiguration(Configuration a,
                                           Configuration b)

getCapability

public static <T> T getCapability(java.util.Collection<java.lang.Object> capabilities,
                                  java.lang.Class<T> capabilityClass)

getEffectiveCapability

public static <T> T getEffectiveCapability(ResourceType resource,
                                           java.lang.Class<T> capabilityClass)

listEffectiveCapabilities

public static java.util.List<java.lang.Object> listEffectiveCapabilities(ResourceType resource)

getCapabilityDisplayName

public static java.lang.String getCapabilityDisplayName(java.lang.Object capability)

getEffectiveCapabilities

public static CapabilitiesType getEffectiveCapabilities(ResourceType resource)

hasActivationCapability

public static boolean hasActivationCapability(ResourceType resource)

hasCredentialsCapability

public static boolean hasCredentialsCapability(ResourceType resource)


Copyright © 2011 evolveum. All Rights Reserved.