com.evolveum.midpoint.xml.ns._public.common.common_1
Class ResourceType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
      extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
          extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ResourceType
All Implemented Interfaces:
java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Direct Known Subclasses:
EnhancedResourceType

public class ResourceType
extends ExtensibleObjectType
implements java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

Resource represents a system or component external to the IDM system which we manage. It is sometimes called _IT resource_, _target system_, _source system_, _provisioning target_, etc. IDM system connects to it to create accounts, assign accounts to groups, etc. But it also may be an authoritative source of data, system that maintains lookup tables, database that contains organizational structure, etc. The {{Resource}} will most likely provide a combination of several functions (e.g. both provisioning and authoritative data for some attributes).

Java class for ResourceType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ResourceType">
   <complexContent>
     <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ExtensibleObjectType">
       <sequence>
         <element name="connector" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ConnectorType" minOccurs="0"/>
         <element name="connectorRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ObjectReferenceType" minOccurs="0"/>
         <element name="namespace" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="configuration" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ResourceConfigurationType"/>
         <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}schema" minOccurs="0"/>
         <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}schemaHandling" minOccurs="0"/>
         <element name="nativeCapabilities" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}CapabilitiesType" minOccurs="0"/>
         <element name="capabilities" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}CapabilitiesType" minOccurs="0"/>
         <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}scripts" minOccurs="0"/>
         <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}synchronization" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  CapabilitiesType capabilities
           
static javax.xml.namespace.QName COMPLEX_TYPE
           
protected  ResourceConfigurationType configuration
           
protected  ConnectorType connector
           
protected  ObjectReferenceType connectorRef
           
static javax.xml.namespace.QName F_CAPABILITIES
           
static javax.xml.namespace.QName F_CONFIGURATION
           
static javax.xml.namespace.QName F_CONNECTOR
           
static javax.xml.namespace.QName F_CONNECTOR_REF
           
static javax.xml.namespace.QName F_NAMESPACE
           
static javax.xml.namespace.QName F_NATIVE_CAPABILITIES
           
static javax.xml.namespace.QName F_SCHEMA
           
static javax.xml.namespace.QName F_SCHEMA_HANDLING
           
static javax.xml.namespace.QName F_SCRIPTS
           
static javax.xml.namespace.QName F_SYNCHRONIZATION
           
protected  java.lang.String namespace
           
protected  CapabilitiesType nativeCapabilities
           
protected  XmlSchemaType schema
           
protected  SchemaHandlingType schemaHandling
           
protected  ScriptsType scripts
           
protected  SynchronizationType synchronization
           
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
extension, F_EXTENSION
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
description, F_DESCRIPTION, F_FETCH_RESULT, F_NAME, F_VERSION, fetchResult, name, oid, version
 
Constructor Summary
ResourceType()
           
 
Method Summary
 boolean equals(java.lang.Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 CapabilitiesType getCapabilities()
          Gets the value of the capabilities property.
 ResourceConfigurationType getConfiguration()
          Gets the value of the configuration property.
 ConnectorType getConnector()
          Gets the value of the connector property.
 ObjectReferenceType getConnectorRef()
          Gets the value of the connectorRef property.
 java.lang.String getNamespace()
          Gets the value of the namespace property.
 CapabilitiesType getNativeCapabilities()
          Gets the value of the nativeCapabilities property.
 XmlSchemaType getSchema()
          Schema for resource objects.
 SchemaHandlingType getSchemaHandling()
          Gets the value of the schemaHandling property.
 ScriptsType getScripts()
          Gets the value of the scripts property.
 SynchronizationType getSynchronization()
          Gets the value of the synchronization property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setCapabilities(CapabilitiesType value)
          Sets the value of the capabilities property.
 void setConfiguration(ResourceConfigurationType value)
          Sets the value of the configuration property.
 void setConnector(ConnectorType value)
          Sets the value of the connector property.
 void setConnectorRef(ObjectReferenceType value)
          Sets the value of the connectorRef property.
 void setNamespace(java.lang.String value)
          Sets the value of the namespace property.
 void setNativeCapabilities(CapabilitiesType value)
          Sets the value of the nativeCapabilities property.
 void setSchema(XmlSchemaType value)
          Sets the value of the schema property.
 void setSchemaHandling(SchemaHandlingType value)
          Sets the value of the schemaHandling property.
 void setScripts(ScriptsType value)
          Sets the value of the scripts property.
 void setSynchronization(SynchronizationType value)
          Sets the value of the synchronization property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ExtensibleObjectType
getExtension, setExtension
 
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
getDescription, getFetchResult, getName, getOid, getVersion, setDescription, setFetchResult, setName, setOid, setVersion
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

connector

protected ConnectorType connector

connectorRef

protected ObjectReferenceType connectorRef

namespace

protected java.lang.String namespace

configuration

protected ResourceConfigurationType configuration

schema

protected XmlSchemaType schema

schemaHandling

protected SchemaHandlingType schemaHandling

nativeCapabilities

protected CapabilitiesType nativeCapabilities

capabilities

protected CapabilitiesType capabilities

scripts

protected ScriptsType scripts

synchronization

protected SynchronizationType synchronization

COMPLEX_TYPE

public static final javax.xml.namespace.QName COMPLEX_TYPE

F_CONNECTOR

public static final javax.xml.namespace.QName F_CONNECTOR

F_CONNECTOR_REF

public static final javax.xml.namespace.QName F_CONNECTOR_REF

F_NAMESPACE

public static final javax.xml.namespace.QName F_NAMESPACE

F_CONFIGURATION

public static final javax.xml.namespace.QName F_CONFIGURATION

F_SCHEMA

public static final javax.xml.namespace.QName F_SCHEMA

F_SCHEMA_HANDLING

public static final javax.xml.namespace.QName F_SCHEMA_HANDLING

F_NATIVE_CAPABILITIES

public static final javax.xml.namespace.QName F_NATIVE_CAPABILITIES

F_CAPABILITIES

public static final javax.xml.namespace.QName F_CAPABILITIES

F_SCRIPTS

public static final javax.xml.namespace.QName F_SCRIPTS

F_SYNCHRONIZATION

public static final javax.xml.namespace.QName F_SYNCHRONIZATION
Constructor Detail

ResourceType

public ResourceType()
Method Detail

getConnector

public ConnectorType getConnector()
Gets the value of the connector property.

Returns:
possible object is ConnectorType

setConnector

public void setConnector(ConnectorType value)
Sets the value of the connector property.

Parameters:
value - allowed object is ConnectorType

getConnectorRef

public ObjectReferenceType getConnectorRef()
Gets the value of the connectorRef property.

Returns:
possible object is ObjectReferenceType

setConnectorRef

public void setConnectorRef(ObjectReferenceType value)
Sets the value of the connectorRef property.

Parameters:
value - allowed object is ObjectReferenceType

getNamespace

public java.lang.String getNamespace()
Gets the value of the namespace property.

Returns:
possible object is String

setNamespace

public void setNamespace(java.lang.String value)
Sets the value of the namespace property.

Parameters:
value - allowed object is String

getConfiguration

public ResourceConfigurationType getConfiguration()
Gets the value of the configuration property.

Returns:
possible object is ResourceConfigurationType

setConfiguration

public void setConfiguration(ResourceConfigurationType value)
Sets the value of the configuration property.

Parameters:
value - allowed object is ResourceConfigurationType

getSchema

public XmlSchemaType getSchema()
Schema for resource objects. This element contains the XSD-formatted definition of resource schema. It defines data types for accounts, groups, roles, entitlements, organizational units or any other objects related to identity management that the resource supports. Resource schema will be only available at run-time and can be diffrent for every resource instance, even for resource instances of the same type. It is supposed to be dynamically interpreted in run-time. Schema defines data types (XSD types), but it does NOT define how these types are handled. E.g. it defines attributes and object class for inetOrgPerson, it defines that inetOrgPerson extends organizationalPerson and persona, that cn is multi-valued string attributed of Person, etc. But it does NOT define that inetOrgPerson object class should be used as account and that modifyTimestamp attribute is read-only. Such additional details are specified in schemaHandling element defined below. Resource schema is read-only. Changing resource schema is not supported. TODO: annotations in the schema

Returns:
possible object is XmlSchemaType

setSchema

public void setSchema(XmlSchemaType value)
Sets the value of the schema property.

Parameters:
value - allowed object is XmlSchemaType

getSchemaHandling

public SchemaHandlingType getSchemaHandling()
Gets the value of the schemaHandling property.

Returns:
possible object is SchemaHandlingType

setSchemaHandling

public void setSchemaHandling(SchemaHandlingType value)
Sets the value of the schemaHandling property.

Parameters:
value - allowed object is SchemaHandlingType

getNativeCapabilities

public CapabilitiesType getNativeCapabilities()
Gets the value of the nativeCapabilities property.

Returns:
possible object is CapabilitiesType

setNativeCapabilities

public void setNativeCapabilities(CapabilitiesType value)
Sets the value of the nativeCapabilities property.

Parameters:
value - allowed object is CapabilitiesType

getCapabilities

public CapabilitiesType getCapabilities()
Gets the value of the capabilities property.

Returns:
possible object is CapabilitiesType

setCapabilities

public void setCapabilities(CapabilitiesType value)
Sets the value of the capabilities property.

Parameters:
value - allowed object is CapabilitiesType

getScripts

public ScriptsType getScripts()
Gets the value of the scripts property.

Returns:
possible object is ScriptsType

setScripts

public void setScripts(ScriptsType value)
Sets the value of the scripts property.

Parameters:
value - allowed object is ScriptsType

getSynchronization

public SynchronizationType getSynchronization()
Gets the value of the synchronization property.

Returns:
possible object is SynchronizationType

setSynchronization

public void setSynchronization(SynchronizationType value)
Sets the value of the synchronization property.

Parameters:
value - allowed object is SynchronizationType

toString

public java.lang.String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class ExtensibleObjectType

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode
Overrides:
hashCode in class ExtensibleObjectType

hashCode

public int hashCode()
Overrides:
hashCode in class ExtensibleObjectType

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      java.lang.Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals
Overrides:
equals in class ExtensibleObjectType

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class ExtensibleObjectType


Copyright © 2012 evolveum. All Rights Reserved.