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

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="type" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="namespace" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="resourceAccessConfigurationRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ResourceAccessConfigurationReferenceType" minOccurs="0"/>
         <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"/>
         <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}schemaHandling" 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  Configuration configuration
           
protected  ConnectorType connector
           
protected  ObjectReferenceType connectorRef
           
protected  java.lang.String namespace
           
protected  ResourceAccessConfigurationReferenceType resourceAccessConfigurationRef
           
protected  XmlSchemaType schema
           
protected  SchemaHandlingType schemaHandling
           
protected  ScriptsType scripts
           
protected  SynchronizationType synchronization
           
protected  java.lang.String type
           
 
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
name, oid, version
 
Constructor Summary
ResourceType()
           
 
Method Summary
 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.
 ResourceAccessConfigurationReferenceType getResourceAccessConfigurationRef()
          Gets the value of the resourceAccessConfigurationRef 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.
 java.lang.String getType()
          Gets the value of the type 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 setResourceAccessConfigurationRef(ResourceAccessConfigurationReferenceType value)
          Sets the value of the resourceAccessConfigurationRef 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.
 void setType(java.lang.String value)
          Sets the value of the type property.
 
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
getName, getOid, getVersion, setName, setOid, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connector

protected ConnectorType connector

connectorRef

protected ObjectReferenceType connectorRef

type

protected java.lang.String type

namespace

protected java.lang.String namespace

resourceAccessConfigurationRef

protected ResourceAccessConfigurationReferenceType resourceAccessConfigurationRef

configuration

protected Configuration configuration

schema

protected XmlSchemaType schema

schemaHandling

protected SchemaHandlingType schemaHandling

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

getType

public java.lang.String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(java.lang.String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

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

getResourceAccessConfigurationRef

public ResourceAccessConfigurationReferenceType getResourceAccessConfigurationRef()
Gets the value of the resourceAccessConfigurationRef property.

Returns:
possible object is ResourceAccessConfigurationReferenceType

setResourceAccessConfigurationRef

public void setResourceAccessConfigurationRef(ResourceAccessConfigurationReferenceType value)
Sets the value of the resourceAccessConfigurationRef property.

Parameters:
value - allowed object is ResourceAccessConfigurationReferenceType

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

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


Copyright © 2011 evolveum. All Rights Reserved.