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
Direct Known Subclasses:
EnhancedResourceType

public class ResourceType
extends ExtensibleObjectType
implements java.io.Serializable

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 ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}configuration"/>
         <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
           
protected  Configuration configuration
           
protected  ConnectorType connector
           
protected  ObjectReferenceType connectorRef
           
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
 
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_1.ObjectType
description, name, oid, version
 
Constructor Summary
ResourceType()
           
 
Method Summary
 CapabilitiesType getCapabilities()
          Gets the value of the capabilities property.
 Configuration 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.
 void setCapabilities(CapabilitiesType value)
          Sets the value of the capabilities property.
 void setConfiguration(Configuration 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, getName, getOid, getVersion, setDescription, setName, setOid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

connector

protected ConnectorType connector

connectorRef

protected ObjectReferenceType connectorRef

namespace

protected java.lang.String namespace

configuration

protected Configuration 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
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 Configuration getConfiguration()
Gets the value of the configuration property.

Returns:
possible object is Configuration

setConfiguration

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

Parameters:
value - allowed object is Configuration

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


Copyright © 2011 evolveum. All Rights Reserved.