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

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.ConnectorType
All Implemented Interfaces:
java.io.Serializable

public class ConnectorType
extends ExtensibleObjectType
implements java.io.Serializable

Description of a generic connector. Connector in midPoint is any method of connection to the resource. The actual implementation, connector framework or protocol does not matter. More specific types derived from this type may exists. E.g. a connector framework may create a derived type and return that instead of this type. The values of "framework", "connectorType" and "connectorVersion" (if present) together form a unique identification of the connector. That means that two ConnectorType objects that have these values same represent the same connector. Only one such instance of ConnectorType should exist in the repository. Note: The ConnectorType does not describe only Identity Connector Framework (ICF) connectors, it is much more generic.

Java class for ConnectorType complex type.

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

 <complexType name="ConnectorType">
   <complexContent>
     <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ExtensibleObjectType">
       <sequence>
         <element name="framework" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="connectorType" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="connectorVersion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="connectorBundle" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="targetSystemType" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
         <element name="namespace" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
         <element name="connectorHost" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ConnectorHostType" minOccurs="0"/>
         <element name="connectorHostRef" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ObjectReferenceType" minOccurs="0"/>
         <element ref="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}schema" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.String connectorBundle
           
protected  ConnectorHostType connectorHost
           
protected  ObjectReferenceType connectorHostRef
           
protected  java.lang.String connectorType
           
protected  java.lang.String connectorVersion
           
protected  java.lang.String framework
           
protected  java.lang.String namespace
           
protected  XmlSchemaType schema
           
protected  java.util.List<java.lang.String> targetSystemType
           
 
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
ConnectorType()
           
 
Method Summary
 java.lang.String getConnectorBundle()
          Gets the value of the connectorBundle property.
 ConnectorHostType getConnectorHost()
          Gets the value of the connectorHost property.
 ObjectReferenceType getConnectorHostRef()
          Gets the value of the connectorHostRef property.
 java.lang.String getConnectorType()
          Gets the value of the connectorType property.
 java.lang.String getConnectorVersion()
          Gets the value of the connectorVersion property.
 java.lang.String getFramework()
          Gets the value of the framework property.
 java.lang.String getNamespace()
          Gets the value of the namespace property.
 XmlSchemaType getSchema()
          Connector configuration schema.
 java.util.List<java.lang.String> getTargetSystemType()
          Gets the value of the targetSystemType property.
 void setConnectorBundle(java.lang.String value)
          Sets the value of the connectorBundle property.
 void setConnectorHost(ConnectorHostType value)
          Sets the value of the connectorHost property.
 void setConnectorHostRef(ObjectReferenceType value)
          Sets the value of the connectorHostRef property.
 void setConnectorType(java.lang.String value)
          Sets the value of the connectorType property.
 void setConnectorVersion(java.lang.String value)
          Sets the value of the connectorVersion property.
 void setFramework(java.lang.String value)
          Sets the value of the framework property.
 void setNamespace(java.lang.String value)
          Sets the value of the namespace property.
 void setSchema(XmlSchemaType value)
          Sets the value of the schema 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

framework

protected java.lang.String framework

connectorType

protected java.lang.String connectorType

connectorVersion

protected java.lang.String connectorVersion

connectorBundle

protected java.lang.String connectorBundle

targetSystemType

protected java.util.List<java.lang.String> targetSystemType

namespace

protected java.lang.String namespace

connectorHost

protected ConnectorHostType connectorHost

connectorHostRef

protected ObjectReferenceType connectorHostRef

schema

protected XmlSchemaType schema
Constructor Detail

ConnectorType

public ConnectorType()
Method Detail

getFramework

public java.lang.String getFramework()
Gets the value of the framework property.

Returns:
possible object is String

setFramework

public void setFramework(java.lang.String value)
Sets the value of the framework property.

Parameters:
value - allowed object is String

getConnectorType

public java.lang.String getConnectorType()
Gets the value of the connectorType property.

Returns:
possible object is String

setConnectorType

public void setConnectorType(java.lang.String value)
Sets the value of the connectorType property.

Parameters:
value - allowed object is String

getConnectorVersion

public java.lang.String getConnectorVersion()
Gets the value of the connectorVersion property.

Returns:
possible object is String

setConnectorVersion

public void setConnectorVersion(java.lang.String value)
Sets the value of the connectorVersion property.

Parameters:
value - allowed object is String

getConnectorBundle

public java.lang.String getConnectorBundle()
Gets the value of the connectorBundle property.

Returns:
possible object is String

setConnectorBundle

public void setConnectorBundle(java.lang.String value)
Sets the value of the connectorBundle property.

Parameters:
value - allowed object is String

getTargetSystemType

public java.util.List<java.lang.String> getTargetSystemType()
Gets the value of the targetSystemType property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the targetSystemType property.

For example, to add a new item, do as follows:

    getTargetSystemType().add(newItem);
 

Objects of the following type(s) are allowed in the list 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

getConnectorHost

public ConnectorHostType getConnectorHost()
Gets the value of the connectorHost property.

Returns:
possible object is ConnectorHostType

setConnectorHost

public void setConnectorHost(ConnectorHostType value)
Sets the value of the connectorHost property.

Parameters:
value - allowed object is ConnectorHostType

getConnectorHostRef

public ObjectReferenceType getConnectorHostRef()
Gets the value of the connectorHostRef property.

Returns:
possible object is ObjectReferenceType

setConnectorHostRef

public void setConnectorHostRef(ObjectReferenceType value)
Sets the value of the connectorHostRef property.

Parameters:
value - allowed object is ObjectReferenceType

getSchema

public XmlSchemaType getSchema()
Connector configuration schema. This element contains the XSD-formatted definition of connector configuration schema. It defines connector configuration variables and data types such as host names, ports, administrator names and so on. Connector schema will most likely be only available at run-time and will be diffrent for every connector. It is supposed to be dynamically interpreted in run-time. Connector schema is read-only. Changing the schema is not supported.

Returns:
possible object is XmlSchemaType

setSchema

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

Parameters:
value - allowed object is XmlSchemaType

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.