<?xml version="1.0" encoding="UTF-8"?>
<!-- ***************************************************************** -->
<!--                                                                   -->
<!-- Licensed Materials - Property of IBM                              -->
<!--                                                                   -->
<!-- IBM SPSS Products: Modeler Common                                 -->
<!--                                                                   -->
<!-- (c)Copyright IBM Corp. 1994, 2013                                 -->
<!--                                                                   -->
<!-- US Government Users Restricted Rights - Use, duplication or       -->
<!-- disclosure restricted by GSA ADP Schedule Contract with IBM       -->
<!-- Corp.                                                             -->
<!--                                                                   -->
<!-- ***************************************************************** -->
<Module xmlns="http://xml.spss.com/pasw/extension" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" debug="false" version="2.0" xsi:schemaLocation="http://xml.spss.com/pasw/extension http://xml.spss.com/pasw/extension/ModuleSpecification.xsd">
  <ModuleDetails copyright="(c) 2010 SPSS, Inc." description="EntityAnalytics" id="entityanalytics" label="EntityAnalytics" provider="SPSS, Inc." providerTag="pasw" version="1.0"/>

  <!--  On Windows, the shared library would be .dll, on Unix/Linux .so/.lib/whatever -->
  <SharedLibrary basename="entityanalytics"/>

  <!-- Resources used by the module. -->
  <Resources>
    <Bundle id="entityanalytics_module_res" path="messages" type="properties"/>
    <HelpInfo id="help" type="native"/>    
  </Resources>

  <CommonObjects>
    <PropertyTypes>
		<Structure id="repository">
            <Attribute name="name" resourceKey="repository_name" valueType="string" isList="false" />
            <Attribute name="userName" resourceKey="repository_user_name" valueType="string" isList="false" />
            <Attribute name="password" resourceKey="repository_password" valueType="encryptedString" isList="false" />
        </Structure>

        <Structure id="repository_config">
            <Attribute name="connection" resourceKey="" valueType="string" isList="false" />
            <Attribute name="host" resourceKey="" valueType="string" isList="false" />
            <Attribute name="port" resourceKey="" valueType="string" isList="false" />
            <Attribute name="g2host" resourceKey="" valueType="string" isList="false" />
            <Attribute name="g2listening_host" resourceKey="" valueType="string" isList="false" />
            <Attribute name="g2port" resourceKey="" valueType="string" isList="false" />
        </Structure>
		
        <Enumeration id="enum_visibility">
            <Enum value="selected" resourceKey="enum_visibility.selected"/>
			<Enum value="all" resourceKey="enum_visibility.all"/>	
		</Enumeration> 

        <Structure id="field_map">
            <Attribute name="name" resourceKey="" valueType="string" isList="false" />
            <Attribute name="mappedFeature" resourceKey="" valueType="string" isList="false" />
			<Attribute name="usageType" resourceKey="" valueType="string" isList="false" />
        </Structure>

        <Enumeration id="enum_matchmode">
            <Enum value="Exact" resourceKey="enum_matchmode.Exact" />
			<Enum value="ByIdentifier" resourceKey="enum_matchmode.ByIdentifier"/>
            <Enum value="All" resourceKey="enum_matchmode.All"/>	
		</Enumeration> 

        <Enumeration id="enum_relationships_mode">
            <Enum value="None" resourceKey="enum_relationships_mode.None" />
            <Enum value="Close" resourceKey="enum_relationships_mode.Close"/>
            <Enum value="All" resourceKey="enum_relationships_mode.All"/>	
        </Enumeration> 

        <Enumeration id="enum_exportmode">
            <Enum value="Add" resourceKey="enum_exportmode.Add" />
			<Enum value="PurgeFirst" resourceKey="enum_exportmode.PurgeFirst"/>	
		</Enumeration>

		</PropertyTypes>
    
    <PropertySets>      
    </PropertySets>
  </CommonObjects>

  <!-- Status Codes -->
  <StatusCodes>
    <StatusCode code="0" status="error" messageKey="unknownErrorMsg.LABEL"/>
	<StatusCode code="1" status="error" messageKey="inputErrorMsg.LABEL"/>
	<StatusCode code="2" status="error" messageKey="g2InternalErrorWithDetailMsg.LABEL"/>
	<StatusCode code="3" status="error" messageKey="g2RecordLimitReachedMsg.LABEL"/>
	<StatusCode code="4" status="error" messageKey="g2DuplicateMappingMsg.LABEL"/>
	<StatusCode code="5" status="error" messageKey="g2DuplicateMappingWithUsageMsg.LABEL"/>
	<StatusCode code="6" status="error" messageKey="g2ExportKeyMsg.LABEL"/>
	<StatusCode code="7" status="error" messageKey="g2ExportDatasourceTagMsg.LABEL"/>
	<StatusCode code="8" status="error" messageKey="g2ExportEntityNotFoundMsg.LABEL"/>
	<StatusCode code="9" status="error" messageKey="g2ExportUsageTypeNotFoundMsg.LABEL"/>
	<StatusCode code="10" status="error" messageKey="g2ExportFeatureNotFoundMsg.LABEL"/>
	<StatusCode code="11" status="error" messageKey="g2ExportElementNotFoundMsg.LABEL"/>
	<StatusCode code="12" status="error" messageKey="g2ExportFeatureNotMemberOfEntityMsg.LABEL"/>
	<StatusCode code="14" status="error" messageKey="generalRepositoryErrorMsg.LABEL"/>
	<StatusCode code="100" status="error" messageKey="generalSolidDBErrorMsg.LABEL"/>
	<StatusCode code="101" status="error" messageKey="loginFailedMsg.LABEL"/>
	<StatusCode code="102" status="error" messageKey="illegalSolidDBUserName.LABEL"/>
	<StatusCode code="103" status="error" messageKey="illegalSolidDBPassword.LABEL"/>
	<StatusCode code="104" status="error" messageKey="repositoryNotExist.LABEL"/>
	<StatusCode code="105" status="error" messageKey="repositoryExist.LABEL"/>
	<StatusCode code="106" status="error" messageKey="notSetDB2Info.LABEL"/>
	<StatusCode code="110" status="error" messageKey="configSolidError.LABEL"/>
	<StatusCode code="111" status="error" messageKey="startSolidFailed.LABEL"/>
	<StatusCode code="112" status="error" messageKey="stopSolidFailed.LABEL"/>
	<StatusCode code="113" status="error" messageKey="dsnOperationFailed.LABEL"/>
	<StatusCode code="114" status="error" messageKey="g2ConfigError.LABEL"/>
	<StatusCode code="126" status="error" messageKey="noPermissionExecuteScript.LABEL"/>
    <StatusCode code="200" status="infomation" messageKey="exportProgress.LABEL"/>
    
    <StatusCode code="500" status="warning" messageKey="exportHasBadRecords.LABEL"/>
    <StatusCode code="501" status="warning" messageKey="exportHasNonLatin1Records.LABEL"/>

    <StatusCode code="10001" status="error" messageKey="eas0001E.LABEL"/>
    <StatusCode code="10002" status="error" messageKey="eas0002E.LABEL"/>
    <StatusCode code="10003" status="error" messageKey="eas0003E.LABEL"/>
    <StatusCode code="10004" status="error" messageKey="eas0004E.LABEL"/>
    <StatusCode code="10006" status="error" messageKey="eas0006E.LABEL"/>
    <StatusCode code="10007" status="error" messageKey="eas0007E.LABEL"/>
    <StatusCode code="10008" status="error" messageKey="eas0008E.LABEL"/>
    <StatusCode code="10009" status="error" messageKey="eas0009E.LABEL"/>
    <StatusCode code="10010" status="error" messageKey="eas0010E.LABEL"/>
    <StatusCode code="10011" status="error" messageKey="eas0011E.LABEL"/>
    <StatusCode code="10012" status="error" messageKey="eas0012E.LABEL"/>
    <StatusCode code="10013" status="error" messageKey="eas0013E.LABEL"/>
    <StatusCode code="11000" status="error" messageKey="eas1000E.LABEL"/>
    <StatusCode code="11001" status="error" messageKey="eas1001E.LABEL"/>
    <StatusCode code="11002" status="error" messageKey="eas1002E.LABEL"/>
    <StatusCode code="11003" status="error" messageKey="eas1003E.LABEL"/>
    <StatusCode code="11004" status="error" messageKey="eas1004E.LABEL"/>
    <StatusCode code="11005" status="error" messageKey="eas1005E.LABEL"/>
    <StatusCode code="11006" status="error" messageKey="eas1006E.LABEL"/>
    <StatusCode code="11007" status="error" messageKey="eas1007E.LABEL"/>
    <StatusCode code="11008" status="error" messageKey="eas1008E.LABEL"/>
    <StatusCode code="11009" status="error" messageKey="eas1009E.LABEL"/>
    <StatusCode code="11010" status="error" messageKey="eas1010E.LABEL"/>
    <StatusCode code="11011" status="error" messageKey="eas1011E.LABEL"/>
    <StatusCode code="11012" status="error" messageKey="eas1012E.LABEL"/>
    <StatusCode code="11013" status="error" messageKey="eas1013E.LABEL"/>
    <StatusCode code="11014" status="error" messageKey="eas1014E.LABEL"/>
    <StatusCode code="11015" status="error" messageKey="eas1015E.LABEL"/>
    <StatusCode code="11100" status="error" messageKey="eas1100E.LABEL"/>
    <StatusCode code="11810" status="error" messageKey="eas1810E.LABEL"/>
    <StatusCode code="11817" status="error" messageKey="eas1817E.LABEL"/>
    <StatusCode code="11818" status="error" messageKey="eas1818E.LABEL"/>
    <StatusCode code="11819" status="error" messageKey="eas1819E.LABEL"/>
    <StatusCode code="17101" status="error" messageKey="eas7101E.LABEL"/>
    <StatusCode code="17102" status="error" messageKey="eas7102E.LABEL"/>
    <StatusCode code="17103" status="error" messageKey="eas7103E.LABEL"/>
    <StatusCode code="17201" status="error" messageKey="eas7201E.LABEL"/>
    <StatusCode code="17202" status="error" messageKey="eas7202E.LABEL"/>
    <StatusCode code="17203" status="error" messageKey="eas7203E.LABEL"/>
    <StatusCode code="17204" status="error" messageKey="eas7204E.LABEL"/>
    <StatusCode code="17206" status="error" messageKey="eas7206E.LABEL"/>
    <StatusCode code="17207" status="error" messageKey="eas7207E.LABEL"/>
    <StatusCode code="17208" status="error" messageKey="eas7208E.LABEL"/>
    <StatusCode code="17209" status="error" messageKey="eas7209E.LABEL"/>
    <StatusCode code="19109" status="error" messageKey="eas9109E.LABEL"/>
    <StatusCode code="19205" status="error" messageKey="eas9205E.LABEL"/>
    <StatusCode code="19206" status="error" messageKey="eas9206E.LABEL"/>
    <StatusCode code="19701" status="error" messageKey="eas9701E.LABEL"/>
    <StatusCode code="19703" status="error" messageKey="eas9703E.LABEL"/>
    <StatusCode code="17301" status="error" messageKey="eas7301E.LABEL"/>
    <StatusCode code="17302" status="error" messageKey="eas7302E.LABEL"/>
    <StatusCode code="17303" status="error" messageKey="eas7303E.LABEL"/>
    <StatusCode code="17305" status="error" messageKey="eas7305E.LABEL"/>
    <StatusCode code="17306" status="error" messageKey="eas7306E.LABEL"/>
    <StatusCode code="17307" status="error" messageKey="eas7307E.LABEL"/>
    <StatusCode code="17308" status="error" messageKey="eas7308E.LABEL"/>
    <StatusCode code="17309" status="error" messageKey="eas7309E.LABEL"/>
    <StatusCode code="17321" status="error" messageKey="eas7321E.LABEL"/>
    <StatusCode code="17323" status="error" messageKey="eas7323E.LABEL"/>
    <StatusCode code="17424" status="error" messageKey="eas7424E.LABEL"/>
    <StatusCode code="12006" status="error" messageKey="eas2006E.LABEL"/>
    <StatusCode code="12054" status="error" messageKey="eas2054E.LABEL"/>
    <StatusCode code="12058" status="error" messageKey="eas2058E.LABEL"/>
    <StatusCode code="12059" status="error" messageKey="eas2059E.LABEL"/>
    <StatusCode code="12060" status="error" messageKey="eas2060E.LABEL"/>
    <StatusCode code="17501" status="error" messageKey="eas7501E.LABEL"/>
    <StatusCode code="17502" status="error" messageKey="eas7502E.LABEL"/>
    <StatusCode code="17506" status="error" messageKey="eas7506E.LABEL"/>
    <StatusCode code="17205" status="error" messageKey="eas7205E.LABEL"/>

    
  </StatusCodes>

  <ContainerTypes>
  </ContainerTypes>
  
  <!-- Components -->
  <Component id="interactor">
    <Properties>
        <Property name="repository" type="repository" />
		<Property name="repository2" type="repository"/>
        <Property name="data_sources" valueType="string" isList="true" />
        <Property name="datasource" valueType="string" />
        <Property name="entitytype" valueType="string" />
        <Property name="key_field" valueType="fieldName" />
        <Property name="field_mapping" type="field_map" isList="true" />
        <Property name="config_xml" valueType="string" />>
        <Property name="ini_file" valueType="string" />
        <Property name="repository_name" valueType="string" />
        <Property name="repository_config" type="repository_config" />
        <Property name="output_entitytype" valueType="string" />
        <Property name="relationships_mode" type="enum_relationships_mode" defaultValue="None" />
    </Properties>
  </Component>
  
  <Component id="source">
    <Properties>
        <Property name="repository" type="repository" />
        <Property name="data_sources" valueType="string" isList="true" />
        <Property name="relationships_mode" type="enum_relationships_mode" defaultValue="None" />
        <Property name="relationships_max_degree" valueType="integer" defaultValue="1" min="0" max="1"/>
        <Property name="output_entitytype" valueType="string" />
    </Properties>
  </Component>

  <Component id="process">
    <Properties>
        <Property name="repository" type="repository" />
        <Property name="data_sources" valueType="string" isList="true" />
        <Property name="datasource" valueType="string" />
        <Property name="entitytype" valueType="string" />
        <Property name="key_field" valueType="fieldName" />
        <Property name="field_mapping" type="field_map" isList="true" />     
        <Property name="matchmode" type="enum_matchmode" defaultValue="Exact" />
        <Property name="persistSearch" valueType="boolean" defaultValue="false"/>
        <Property name="repository_config" type="repository_config" />
        <Property name="relationships_mode" type="enum_relationships_mode" defaultValue="None" />
        <Property name="relationships_max_degree" valueType="integer" defaultValue="1" min="0" max="3"/>
        <Property name="output_entitytype" valueType="string" />
    </Properties>
  </Component>

  <Component id="export">
    <Properties>
        <Property name="repository" type="repository" />
        <Property name="datasource" valueType="string" />
        <Property name="entitytype" valueType="string" />
        <Property name="key_field" valueType="fieldName" />
        <Property name="field_mapping" type="field_map" isList="true" />
        <Property name="exportmode" type="enum_exportmode" defaultValue="Add" />
    </Properties>
  </Component>
</Module>
