directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oer...@apache.org
Subject svn commit: r529293 [3/4] - in /directory/sandbox/oersoy/das.ldap.parent: ./ das.ldap.configuration.model.ecore.v100/ das.ldap.configuration.model.ecore.v100/.settings/ das.ldap.configuration.model.ecore.v100/model/ das.ldap.configuration.model.ecore.v...
Date Mon, 16 Apr 2007 15:43:26 GMT
Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/impl/JNDIPropertiesImpl.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/impl/JNDIPropertiesImpl.java?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/impl/JNDIPropertiesImpl.java (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/impl/JNDIPropertiesImpl.java Mon Apr 16 08:43:15 2007
@@ -0,0 +1,451 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.tuscany.das.ldap.configuration.model.v100.impl;
+
+import java.util.Hashtable;
+
+import javax.naming.NamingException;
+
+import javax.naming.directory.DirContext;
+import javax.naming.directory.InitialDirContext;
+
+import org.apache.tuscany.das.ldap.configuration.model.v100.DASLdapModelV100Package;
+import org.apache.tuscany.das.ldap.configuration.model.v100.JNDIEnvironmentKeys;
+import org.apache.tuscany.das.ldap.configuration.model.v100.JNDIProperties;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>JNDI Properties</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ *   <li>{@link org.apache.tuscany.das.ldap.configuration.model.v100.impl.JNDIPropertiesImpl#getJavaNamingFactoryInitial <em>Java Naming Factory Initial</em>}</li>
+ *   <li>{@link org.apache.tuscany.das.ldap.configuration.model.v100.impl.JNDIPropertiesImpl#getJavaNamingProviderUrl <em>Java Naming Provider Url</em>}</li>
+ *   <li>{@link org.apache.tuscany.das.ldap.configuration.model.v100.impl.JNDIPropertiesImpl#getJavaNamingSecurityAuthentication <em>Java Naming Security Authentication</em>}</li>
+ *   <li>{@link org.apache.tuscany.das.ldap.configuration.model.v100.impl.JNDIPropertiesImpl#getJavaNamingSecurityPrincipal <em>Java Naming Security Principal</em>}</li>
+ *   <li>{@link org.apache.tuscany.das.ldap.configuration.model.v100.impl.JNDIPropertiesImpl#getJavaNamingSecurityCredentials <em>Java Naming Security Credentials</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class JNDIPropertiesImpl extends EObjectImpl implements JNDIProperties
+{
+    /**
+     * The default value of the '{@link #getJavaNamingFactoryInitial() <em>Java Naming Factory Initial</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getJavaNamingFactoryInitial()
+     * @generated
+     * @ordered
+     */
+    protected static final String JAVA_NAMING_FACTORY_INITIAL_EDEFAULT = "com.sun.jndi.ldap.LdapCtxFactory";
+
+    /**
+     * The cached value of the '{@link #getJavaNamingFactoryInitial() <em>Java Naming Factory Initial</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getJavaNamingFactoryInitial()
+     * @generated
+     * @ordered
+     */
+    protected String javaNamingFactoryInitial = JAVA_NAMING_FACTORY_INITIAL_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getJavaNamingProviderUrl() <em>Java Naming Provider Url</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getJavaNamingProviderUrl()
+     * @generated
+     * @ordered
+     */
+    protected static final String JAVA_NAMING_PROVIDER_URL_EDEFAULT = "ldap://localhost:10389/ou=system";
+
+    /**
+     * The cached value of the '{@link #getJavaNamingProviderUrl() <em>Java Naming Provider Url</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getJavaNamingProviderUrl()
+     * @generated
+     * @ordered
+     */
+    protected String javaNamingProviderUrl = JAVA_NAMING_PROVIDER_URL_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getJavaNamingSecurityAuthentication() <em>Java Naming Security Authentication</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getJavaNamingSecurityAuthentication()
+     * @generated
+     * @ordered
+     */
+    protected static final String JAVA_NAMING_SECURITY_AUTHENTICATION_EDEFAULT = "simple";
+
+    /**
+     * The cached value of the '{@link #getJavaNamingSecurityAuthentication() <em>Java Naming Security Authentication</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getJavaNamingSecurityAuthentication()
+     * @generated
+     * @ordered
+     */
+    protected String javaNamingSecurityAuthentication = JAVA_NAMING_SECURITY_AUTHENTICATION_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getJavaNamingSecurityPrincipal() <em>Java Naming Security Principal</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getJavaNamingSecurityPrincipal()
+     * @generated
+     * @ordered
+     */
+    protected static final String JAVA_NAMING_SECURITY_PRINCIPAL_EDEFAULT = "uid=admin,ou=system";
+
+    /**
+     * The cached value of the '{@link #getJavaNamingSecurityPrincipal() <em>Java Naming Security Principal</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getJavaNamingSecurityPrincipal()
+     * @generated
+     * @ordered
+     */
+    protected String javaNamingSecurityPrincipal = JAVA_NAMING_SECURITY_PRINCIPAL_EDEFAULT;
+
+    /**
+     * The default value of the '{@link #getJavaNamingSecurityCredentials() <em>Java Naming Security Credentials</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getJavaNamingSecurityCredentials()
+     * @generated
+     * @ordered
+     */
+    protected static final String JAVA_NAMING_SECURITY_CREDENTIALS_EDEFAULT = "secret";
+
+    /**
+     * The cached value of the '{@link #getJavaNamingSecurityCredentials() <em>Java Naming Security Credentials</em>}' attribute.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @see #getJavaNamingSecurityCredentials()
+     * @generated
+     * @ordered
+     */
+    protected String javaNamingSecurityCredentials = JAVA_NAMING_SECURITY_CREDENTIALS_EDEFAULT;
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected JNDIPropertiesImpl()
+    {
+        super();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    protected EClass eStaticClass()
+    {
+        return DASLdapModelV100Package.Literals.JNDI_PROPERTIES;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getJavaNamingFactoryInitial()
+    {
+        return javaNamingFactoryInitial;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setJavaNamingFactoryInitial(String newJavaNamingFactoryInitial)
+    {
+        String oldJavaNamingFactoryInitial = javaNamingFactoryInitial;
+        javaNamingFactoryInitial = newJavaNamingFactoryInitial;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_FACTORY_INITIAL, oldJavaNamingFactoryInitial, javaNamingFactoryInitial));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getJavaNamingProviderUrl()
+    {
+        return javaNamingProviderUrl;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setJavaNamingProviderUrl(String newJavaNamingProviderUrl)
+    {
+        String oldJavaNamingProviderUrl = javaNamingProviderUrl;
+        javaNamingProviderUrl = newJavaNamingProviderUrl;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_PROVIDER_URL, oldJavaNamingProviderUrl, javaNamingProviderUrl));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getJavaNamingSecurityAuthentication()
+    {
+        return javaNamingSecurityAuthentication;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setJavaNamingSecurityAuthentication(String newJavaNamingSecurityAuthentication)
+    {
+        String oldJavaNamingSecurityAuthentication = javaNamingSecurityAuthentication;
+        javaNamingSecurityAuthentication = newJavaNamingSecurityAuthentication;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_AUTHENTICATION, oldJavaNamingSecurityAuthentication, javaNamingSecurityAuthentication));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getJavaNamingSecurityPrincipal()
+    {
+        return javaNamingSecurityPrincipal;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setJavaNamingSecurityPrincipal(String newJavaNamingSecurityPrincipal)
+    {
+        String oldJavaNamingSecurityPrincipal = javaNamingSecurityPrincipal;
+        javaNamingSecurityPrincipal = newJavaNamingSecurityPrincipal;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_PRINCIPAL, oldJavaNamingSecurityPrincipal, javaNamingSecurityPrincipal));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public String getJavaNamingSecurityCredentials()
+    {
+        return javaNamingSecurityCredentials;
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void setJavaNamingSecurityCredentials(String newJavaNamingSecurityCredentials)
+    {
+        String oldJavaNamingSecurityCredentials = javaNamingSecurityCredentials;
+        javaNamingSecurityCredentials = newJavaNamingSecurityCredentials;
+        if (eNotificationRequired())
+            eNotify(new ENotificationImpl(this, Notification.SET, DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_CREDENTIALS, oldJavaNamingSecurityCredentials, javaNamingSecurityCredentials));
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public DirContext connect() throws NamingException
+    {
+                Hashtable<String,String> env = new Hashtable<String, String>();
+                
+                env.put( 
+                    JNDIEnvironmentKeys.JAVA_NAMING_FACTORY_INITIAL_KEY.toString(), 
+                    this.javaNamingFactoryInitial );
+                env.put( 
+                    JNDIEnvironmentKeys.JAVA_NAMING_PROVIDER_URL_KEY.toString(), 
+                    this.javaNamingProviderUrl );
+                env.put( 
+                    JNDIEnvironmentKeys.JAVA_NAMING_SECURITY_AUTHENTICATION_KEY.toString(), 
+                    this.javaNamingSecurityAuthentication );
+                env.put( 
+                    JNDIEnvironmentKeys.JAVA_NAMING_SECURITY_PRINCIPAL_KEY.toString(), 
+                    this.javaNamingSecurityPrincipal );
+                env.put( 
+                    JNDIEnvironmentKeys.JAVA_NAMING_SECURITY_CREDENTIALS_KEY.toString(), 
+                    this.javaNamingSecurityCredentials );
+                
+                return new InitialDirContext(env);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public void disconnect(DirContext dirContext) throws NamingException
+    {
+        dirContext.close();
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public Object eGet(int featureID, boolean resolve, boolean coreType)
+    {
+        switch (featureID)
+        {
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_FACTORY_INITIAL:
+                return getJavaNamingFactoryInitial();
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_PROVIDER_URL:
+                return getJavaNamingProviderUrl();
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_AUTHENTICATION:
+                return getJavaNamingSecurityAuthentication();
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_PRINCIPAL:
+                return getJavaNamingSecurityPrincipal();
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_CREDENTIALS:
+                return getJavaNamingSecurityCredentials();
+        }
+        return super.eGet(featureID, resolve, coreType);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public void eSet(int featureID, Object newValue)
+    {
+        switch (featureID)
+        {
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_FACTORY_INITIAL:
+                setJavaNamingFactoryInitial((String)newValue);
+                return;
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_PROVIDER_URL:
+                setJavaNamingProviderUrl((String)newValue);
+                return;
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_AUTHENTICATION:
+                setJavaNamingSecurityAuthentication((String)newValue);
+                return;
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_PRINCIPAL:
+                setJavaNamingSecurityPrincipal((String)newValue);
+                return;
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_CREDENTIALS:
+                setJavaNamingSecurityCredentials((String)newValue);
+                return;
+        }
+        super.eSet(featureID, newValue);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public void eUnset(int featureID)
+    {
+        switch (featureID)
+        {
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_FACTORY_INITIAL:
+                setJavaNamingFactoryInitial(JAVA_NAMING_FACTORY_INITIAL_EDEFAULT);
+                return;
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_PROVIDER_URL:
+                setJavaNamingProviderUrl(JAVA_NAMING_PROVIDER_URL_EDEFAULT);
+                return;
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_AUTHENTICATION:
+                setJavaNamingSecurityAuthentication(JAVA_NAMING_SECURITY_AUTHENTICATION_EDEFAULT);
+                return;
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_PRINCIPAL:
+                setJavaNamingSecurityPrincipal(JAVA_NAMING_SECURITY_PRINCIPAL_EDEFAULT);
+                return;
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_CREDENTIALS:
+                setJavaNamingSecurityCredentials(JAVA_NAMING_SECURITY_CREDENTIALS_EDEFAULT);
+                return;
+        }
+        super.eUnset(featureID);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public boolean eIsSet(int featureID)
+    {
+        switch (featureID)
+        {
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_FACTORY_INITIAL:
+                return JAVA_NAMING_FACTORY_INITIAL_EDEFAULT == null ? javaNamingFactoryInitial != null : !JAVA_NAMING_FACTORY_INITIAL_EDEFAULT.equals(javaNamingFactoryInitial);
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_PROVIDER_URL:
+                return JAVA_NAMING_PROVIDER_URL_EDEFAULT == null ? javaNamingProviderUrl != null : !JAVA_NAMING_PROVIDER_URL_EDEFAULT.equals(javaNamingProviderUrl);
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_AUTHENTICATION:
+                return JAVA_NAMING_SECURITY_AUTHENTICATION_EDEFAULT == null ? javaNamingSecurityAuthentication != null : !JAVA_NAMING_SECURITY_AUTHENTICATION_EDEFAULT.equals(javaNamingSecurityAuthentication);
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_PRINCIPAL:
+                return JAVA_NAMING_SECURITY_PRINCIPAL_EDEFAULT == null ? javaNamingSecurityPrincipal != null : !JAVA_NAMING_SECURITY_PRINCIPAL_EDEFAULT.equals(javaNamingSecurityPrincipal);
+            case DASLdapModelV100Package.JNDI_PROPERTIES__JAVA_NAMING_SECURITY_CREDENTIALS:
+                return JAVA_NAMING_SECURITY_CREDENTIALS_EDEFAULT == null ? javaNamingSecurityCredentials != null : !JAVA_NAMING_SECURITY_CREDENTIALS_EDEFAULT.equals(javaNamingSecurityCredentials);
+        }
+        return super.eIsSet(featureID);
+    }
+
+    /**
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    @Override
+    public String toString()
+    {
+        if (eIsProxy()) return super.toString();
+
+        StringBuffer result = new StringBuffer(super.toString());
+        result.append(" (javaNamingFactoryInitial: ");
+        result.append(javaNamingFactoryInitial);
+        result.append(", javaNamingProviderUrl: ");
+        result.append(javaNamingProviderUrl);
+        result.append(", javaNamingSecurityAuthentication: ");
+        result.append(javaNamingSecurityAuthentication);
+        result.append(", javaNamingSecurityPrincipal: ");
+        result.append(javaNamingSecurityPrincipal);
+        result.append(", javaNamingSecurityCredentials: ");
+        result.append(javaNamingSecurityCredentials);
+        result.append(')');
+        return result.toString();
+    }
+
+} //JNDIPropertiesImpl

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100AdapterFactory.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100AdapterFactory.java?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100AdapterFactory.java (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100AdapterFactory.java Mon Apr 16 08:43:15 2007
@@ -0,0 +1,156 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.tuscany.das.ldap.configuration.model.v100.util;
+
+import org.apache.tuscany.das.ldap.configuration.model.v100.*;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.apache.tuscany.das.ldap.configuration.model.v100.DASLdapModelV100Package
+ * @generated
+ */
+public class DASLdapModelV100AdapterFactory extends AdapterFactoryImpl
+{
+    /**
+     * The cached model package.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected static DASLdapModelV100Package modelPackage;
+
+    /**
+     * Creates an instance of the adapter factory.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public DASLdapModelV100AdapterFactory()
+    {
+        if (modelPackage == null)
+        {
+            modelPackage = DASLdapModelV100Package.eINSTANCE;
+        }
+    }
+
+    /**
+     * Returns whether this factory is applicable for the type of the object.
+     * <!-- begin-user-doc -->
+     * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+     * <!-- end-user-doc -->
+     * @return whether this factory is applicable for the type of the object.
+     * @generated
+     */
+    @Override
+    public boolean isFactoryForType(Object object)
+    {
+        if (object == modelPackage)
+        {
+            return true;
+        }
+        if (object instanceof EObject)
+        {
+            return ((EObject)object).eClass().getEPackage() == modelPackage;
+        }
+        return false;
+    }
+
+    /**
+     * The switch the delegates to the <code>createXXX</code> methods.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected DASLdapModelV100Switch<Adapter> modelSwitch =
+        new DASLdapModelV100Switch<Adapter>()
+        {
+            @Override
+            public Adapter caseJNDIProperties(JNDIProperties object)
+            {
+                return createJNDIPropertiesAdapter();
+            }
+            @Override
+            public Adapter caseDASConfig(DASConfig object)
+            {
+                return createDASConfigAdapter();
+            }
+            @Override
+            public Adapter defaultCase(EObject object)
+            {
+                return createEObjectAdapter();
+            }
+        };
+
+    /**
+     * Creates an adapter for the <code>target</code>.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @param target the object to adapt.
+     * @return the adapter for the <code>target</code>.
+     * @generated
+     */
+    @Override
+    public Adapter createAdapter(Notifier target)
+    {
+        return modelSwitch.doSwitch((EObject)target);
+    }
+
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.apache.tuscany.das.ldap.configuration.model.v100.JNDIProperties <em>JNDI Properties</em>}'.
+     * <!-- begin-user-doc -->
+     * This default implementation returns null so that we can easily ignore cases;
+     * it's useful to ignore a case when inheritance will catch all the cases anyway.
+     * <!-- end-user-doc -->
+     * @return the new adapter.
+     * @see org.apache.tuscany.das.ldap.configuration.model.v100.JNDIProperties
+     * @generated
+     */
+    public Adapter createJNDIPropertiesAdapter()
+    {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for an object of class '{@link org.apache.tuscany.das.ldap.configuration.model.v100.DASConfig <em>DAS Config</em>}'.
+     * <!-- begin-user-doc -->
+     * This default implementation returns null so that we can easily ignore cases;
+     * it's useful to ignore a case when inheritance will catch all the cases anyway.
+     * <!-- end-user-doc -->
+     * @return the new adapter.
+     * @see org.apache.tuscany.das.ldap.configuration.model.v100.DASConfig
+     * @generated
+     */
+    public Adapter createDASConfigAdapter()
+    {
+        return null;
+    }
+
+    /**
+     * Creates a new adapter for the default case.
+     * <!-- begin-user-doc -->
+     * This default implementation returns null.
+     * <!-- end-user-doc -->
+     * @return the new adapter.
+     * @generated
+     */
+    public Adapter createEObjectAdapter()
+    {
+        return null;
+    }
+
+} //DASLdapModelV100AdapterFactory

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100Switch.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100Switch.java?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100Switch.java (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100Switch.java Mon Apr 16 08:43:15 2007
@@ -0,0 +1,165 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.tuscany.das.ldap.configuration.model.v100.util;
+
+import java.util.List;
+
+import org.apache.tuscany.das.ldap.configuration.model.v100.*;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.apache.tuscany.das.ldap.configuration.model.v100.DASLdapModelV100Package
+ * @generated
+ */
+public class DASLdapModelV100Switch<T>
+{
+    /**
+     * The cached model package
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    protected static DASLdapModelV100Package modelPackage;
+
+    /**
+     * Creates an instance of the switch.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @generated
+     */
+    public DASLdapModelV100Switch()
+    {
+        if (modelPackage == null)
+        {
+            modelPackage = DASLdapModelV100Package.eINSTANCE;
+        }
+    }
+
+    /**
+     * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the first non-null result returned by a <code>caseXXX</code> call.
+     * @generated
+     */
+    public T doSwitch(EObject theEObject)
+    {
+        return doSwitch(theEObject.eClass(), theEObject);
+    }
+
+    /**
+     * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the first non-null result returned by a <code>caseXXX</code> call.
+     * @generated
+     */
+    protected T doSwitch(EClass theEClass, EObject theEObject)
+    {
+        if (theEClass.eContainer() == modelPackage)
+        {
+            return doSwitch(theEClass.getClassifierID(), theEObject);
+        }
+        else
+        {
+            List<EClass> eSuperTypes = theEClass.getESuperTypes();
+            return
+                eSuperTypes.isEmpty() ?
+                    defaultCase(theEObject) :
+                    doSwitch(eSuperTypes.get(0), theEObject);
+        }
+    }
+
+    /**
+     * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+     * <!-- begin-user-doc -->
+     * <!-- end-user-doc -->
+     * @return the first non-null result returned by a <code>caseXXX</code> call.
+     * @generated
+     */
+    protected T doSwitch(int classifierID, EObject theEObject)
+    {
+        switch (classifierID)
+        {
+            case DASLdapModelV100Package.JNDI_PROPERTIES:
+            {
+                JNDIProperties jndiProperties = (JNDIProperties)theEObject;
+                T result = caseJNDIProperties(jndiProperties);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            case DASLdapModelV100Package.DAS_CONFIG:
+            {
+                DASConfig dasConfig = (DASConfig)theEObject;
+                T result = caseDASConfig(dasConfig);
+                if (result == null) result = defaultCase(theEObject);
+                return result;
+            }
+            default: return defaultCase(theEObject);
+        }
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>JNDI Properties</em>'.
+     * <!-- begin-user-doc -->
+     * This implementation returns null;
+     * returning a non-null result will terminate the switch.
+     * <!-- end-user-doc -->
+     * @param object the target of the switch.
+     * @return the result of interpretting the object as an instance of '<em>JNDI Properties</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public T caseJNDIProperties(JNDIProperties object)
+    {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>DAS Config</em>'.
+     * <!-- begin-user-doc -->
+     * This implementation returns null;
+     * returning a non-null result will terminate the switch.
+     * <!-- end-user-doc -->
+     * @param object the target of the switch.
+     * @return the result of interpretting the object as an instance of '<em>DAS Config</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+     * @generated
+     */
+    public T caseDASConfig(DASConfig object)
+    {
+        return null;
+    }
+
+    /**
+     * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
+     * <!-- begin-user-doc -->
+     * This implementation returns null;
+     * returning a non-null result will terminate the switch, but this is the last case anyway.
+     * <!-- end-user-doc -->
+     * @param object the target of the switch.
+     * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
+     * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+     * @generated
+     */
+    public T defaultCase(EObject object)
+    {
+        return null;
+    }
+
+} //DASLdapModelV100Switch

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/validation/DASConfigValidator.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/validation/DASConfigValidator.java?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/validation/DASConfigValidator.java (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/validation/DASConfigValidator.java Mon Apr 16 08:43:15 2007
@@ -0,0 +1,25 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.tuscany.das.ldap.configuration.model.v100.validation;
+
+
+/**
+ * A sample validator interface for {@link org.apache.tuscany.das.ldap.configuration.model.v100.DASConfig}.
+ * This doesn't really do anything, and it's not a real EMF artifact.
+ * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
+ * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
+ */
+public interface DASConfigValidator
+{
+    boolean validate();
+
+    boolean validateGenModelName(String value);
+    boolean validateRepositoryBase(String value);
+    boolean validateJarName(String value);
+    boolean validateEPackageNsURI(String value);
+    boolean validateEPackageNsPrefix(String value);
+}

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/validation/JNDIPropertiesValidator.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/validation/JNDIPropertiesValidator.java?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/validation/JNDIPropertiesValidator.java (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/main/java/org/apache/tuscany/das/ldap/configuration/model/v100/validation/JNDIPropertiesValidator.java Mon Apr 16 08:43:15 2007
@@ -0,0 +1,25 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id$
+ */
+package org.apache.tuscany.das.ldap.configuration.model.v100.validation;
+
+
+/**
+ * A sample validator interface for {@link org.apache.tuscany.das.ldap.configuration.model.v100.JNDIProperties}.
+ * This doesn't really do anything, and it's not a real EMF artifact.
+ * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
+ * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
+ */
+public interface JNDIPropertiesValidator
+{
+    boolean validate();
+
+    boolean validateJavaNamingFactoryInitial(String value);
+    boolean validateJavaNamingProviderUrl(String value);
+    boolean validateJavaNamingSecurityAuthentication(String value);
+    boolean validateJavaNamingSecurityPrincipal(String value);
+    boolean validateJavaNamingSecurityCredentials(String value);
+}

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/test/java/org/apache/tuscany/das/ldap/configuration/v100/ModelTest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/test/java/org/apache/tuscany/das/ldap/configuration/v100/ModelTest.java?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/test/java/org/apache/tuscany/das/ldap/configuration/v100/ModelTest.java (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/src/test/java/org/apache/tuscany/das/ldap/configuration/v100/ModelTest.java Mon Apr 16 08:43:15 2007
@@ -0,0 +1,57 @@
+package org.apache.tuscany.das.ldap.configuration.v100;
+
+import javax.naming.Context;
+import javax.naming.Name;
+import javax.naming.NamingException;
+import javax.naming.directory.DirContext;
+
+import org.apache.tuscany.das.ldap.configuration.model.v100.DASLdapModelV100Factory;
+import org.apache.tuscany.das.ldap.configuration.model.v100.JNDIProperties;
+
+import junit.framework.TestCase;
+
+public class ModelTest extends TestCase {
+
+	protected void setUp() throws Exception {
+		super.setUp();
+	}
+
+	protected void tearDown() throws Exception {
+		super.tearDown();
+	}
+    
+    public void testSomething() throws NamingException
+    {
+        DASLdapModelV100Factory dasLdapV100Factory = DASLdapModelV100Factory.eINSTANCE;
+        JNDIProperties jndiProperties = dasLdapV100Factory.createJNDIProperties();
+
+        DirContext dirContext = null;
+        dirContext = jndiProperties.connect();
+        
+        assertNotNull(dirContext);
+        assertTrue(true);
+        
+        dirContext.createSubcontext( "cn=test" );
+      
+        dirContext.destroySubcontext( "cn=test" );
+        
+        String name = dirContext.composeName( "cn=test", null );
+        
+        dirContext.createSubcontext( name );
+        
+        Object o = dirContext.lookup( name );
+        
+        assertTrue(o instanceof Context );
+        
+        dirContext.destroySubcontext( name );
+        
+        
+    }
+
+	public void testModelLoad()
+	{
+		assertTrue(true);
+	}
+    
+    
+}

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/DASConfig.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/DASConfig.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/DASConfig.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/DASLdapModelV100Factory.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/DASLdapModelV100Factory.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/DASLdapModelV100Factory.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/DASLdapModelV100Package$Literals.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/DASLdapModelV100Package%24Literals.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/DASLdapModelV100Package$Literals.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/DASLdapModelV100Package.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/DASLdapModelV100Package.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/DASLdapModelV100Package.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/JNDIEnvironmentKeys.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/JNDIEnvironmentKeys.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/JNDIEnvironmentKeys.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/JNDIProperties.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/JNDIProperties.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/JNDIProperties.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/impl/DASConfigImpl.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/impl/DASConfigImpl.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/impl/DASConfigImpl.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/impl/DASLdapModelV100FactoryImpl.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/impl/DASLdapModelV100FactoryImpl.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/impl/DASLdapModelV100FactoryImpl.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/impl/DASLdapModelV100PackageImpl.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/impl/DASLdapModelV100PackageImpl.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/impl/DASLdapModelV100PackageImpl.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/impl/JNDIPropertiesImpl.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/impl/JNDIPropertiesImpl.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/impl/JNDIPropertiesImpl.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100AdapterFactory$1.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100AdapterFactory%241.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100AdapterFactory$1.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100AdapterFactory.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100AdapterFactory.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100AdapterFactory.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100Switch.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100Switch.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/util/DASLdapModelV100Switch.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/validation/DASConfigValidator.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/validation/DASConfigValidator.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/validation/DASConfigValidator.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/validation/JNDIPropertiesValidator.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/validation/JNDIPropertiesValidator.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/classes/org/apache/tuscany/das/ldap/configuration/model/v100/validation/JNDIPropertiesValidator.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/das.ldap.configuration.model.v100-1.0-SNAPSHOT.jar
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/das.ldap.configuration.model.v100-1.0-SNAPSHOT.jar?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/das.ldap.configuration.model.v100-1.0-SNAPSHOT.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/surefire-reports/TEST-org.apache.tuscany.das.ldap.configuration.v100.ModelTest.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/surefire-reports/TEST-org.apache.tuscany.das.ldap.configuration.v100.ModelTest.xml?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/surefire-reports/TEST-org.apache.tuscany.das.ldap.configuration.v100.ModelTest.xml (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/surefire-reports/TEST-org.apache.tuscany.das.ldap.configuration.v100.ModelTest.xml Mon Apr 16 08:43:15 2007
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<testsuite failures="0" time="0.364" errors="0" skipped="0" tests="2" name="org.apache.tuscany.das.ldap.configuration.v100.ModelTest">
+  <properties>
+    <property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
+    <property name="sun.boot.library.path" value="/usr/java/jdk1.6.0/jre/lib/i386"/>
+    <property name="java.vm.version" value="1.6.0-b105"/>
+    <property name="java.vm.vendor" value="Sun Microsystems Inc."/>
+    <property name="java.vendor.url" value="http://java.sun.com/"/>
+    <property name="path.separator" value=":"/>
+    <property name="java.vm.name" value="Java HotSpot(TM) Client VM"/>
+    <property name="file.encoding.pkg" value="sun.io"/>
+    <property name="user.country" value="US"/>
+    <property name="sun.java.launcher" value="SUN_STANDARD"/>
+    <property name="sun.os.patch.level" value="unknown"/>
+    <property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
+    <property name="user.dir" value="/home/ole/workspace/das.ldap.parent/das.ldap.configuration.model.v100"/>
+    <property name="java.runtime.version" value="1.6.0-b105"/>
+    <property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
+    <property name="basedir" value="/home/ole/workspace/das.ldap.parent/das.ldap.configuration.model.v100"/>
+    <property name="java.endorsed.dirs" value="/usr/java/jdk1.6.0/jre/lib/endorsed"/>
+    <property name="os.arch" value="i386"/>
+    <property name="java.io.tmpdir" value="/tmp"/>
+    <property name="line.separator" value="
+"/>
+    <property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
+    <property name="os.name" value="Linux"/>
+    <property name="sun.jnu.encoding" value="UTF-8"/>
+    <property name="java.library.path" value="/usr/java/jdk1.6.0/jre/lib/i386/client:/usr/java/jdk1.6.0/jre/lib/i386:/usr/java/jdk1.6.0/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib"/>
+    <property name="java.specification.name" value="Java Platform API Specification"/>
+    <property name="java.class.version" value="50.0"/>
+    <property name="sun.management.compiler" value="HotSpot Client Compiler"/>
+    <property name="os.version" value="2.6.20-1.2933.fc6"/>
+    <property name="user.home" value="/home/ole"/>
+    <property name="user.timezone" value="America/Chicago"/>
+    <property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
+    <property name="file.encoding" value="UTF-8"/>
+    <property name="java.specification.version" value="1.6"/>
+    <property name="user.name" value="ole"/>
+    <property name="java.class.path" value="/home/ole/.m2/repository/org/apache/maven/surefire/surefire-api/2.0/surefire-api-2.0.jar:/home/ole/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar:/home/ole/.m2/repository/org/apache/maven/surefire/surefire-booter/2.0/surefire-booter-2.0.jar"/>
+    <property name="java.vm.specification.version" value="1.0"/>
+    <property name="sun.arch.data.model" value="32"/>
+    <property name="java.home" value="/usr/java/jdk1.6.0/jre"/>
+    <property name="java.specification.vendor" value="Sun Microsystems Inc."/>
+    <property name="user.language" value="en"/>
+    <property name="java.vm.info" value="mixed mode, sharing"/>
+    <property name="java.version" value="1.6.0"/>
+    <property name="java.ext.dirs" value="/usr/java/jdk1.6.0/jre/lib/ext:/usr/java/packages/lib/ext"/>
+    <property name="sun.boot.class.path" value="/usr/java/jdk1.6.0/jre/lib/resources.jar:/usr/java/jdk1.6.0/jre/lib/rt.jar:/usr/java/jdk1.6.0/jre/lib/sunrsasign.jar:/usr/java/jdk1.6.0/jre/lib/jsse.jar:/usr/java/jdk1.6.0/jre/lib/jce.jar:/usr/java/jdk1.6.0/jre/lib/charsets.jar:/usr/java/jdk1.6.0/jre/classes"/>
+    <property name="java.vendor" value="Sun Microsystems Inc."/>
+    <property name="localRepository" value="/home/ole/.m2/repository"/>
+    <property name="file.separator" value="/"/>
+    <property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
+    <property name="sun.cpu.endian" value="little"/>
+    <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
+    <property name="sun.cpu.isalist" value=""/>
+  </properties>
+  <testcase time="0.182" name="testSomething"/>
+  <testcase time="0.001" name="testModelLoad"/>
+</testsuite>
\ No newline at end of file

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/surefire-reports/org.apache.tuscany.das.ldap.configuration.v100.ModelTest.txt
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/surefire-reports/org.apache.tuscany.das.ldap.configuration.v100.ModelTest.txt?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/surefire-reports/org.apache.tuscany.das.ldap.configuration.v100.ModelTest.txt (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/surefire-reports/org.apache.tuscany.das.ldap.configuration.v100.ModelTest.txt Mon Apr 16 08:43:15 2007
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------------------
+Test set: org.apache.tuscany.das.ldap.configuration.v100.ModelTest
+-------------------------------------------------------------------------------
+Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.375 sec

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/test-classes/org/apache/tuscany/das/ldap/configuration/v100/ModelTest.class
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/test-classes/org/apache/tuscany/das/ldap/configuration/v100/ModelTest.class?view=auto&rev=529293
==============================================================================
Binary file - no diff available.

Propchange: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/target/test-classes/org/apache/tuscany/das/ldap/configuration/v100/ModelTest.class
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/text/description.txt
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/text/description.txt?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/text/description.txt (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.configuration.model.v100/text/description.txt Mon Apr 16 08:43:15 2007
@@ -0,0 +1,36 @@
+Model Model
+
+This model description is not a real EMF artifact. It was generated by the
+org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's
+code generator can be extended.
+This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
+
+Package v100 <http://org.apache.tuscany/das.ldap.configuration.model.ecore.v100>
+
+  Class JNDIProperties
+    Attribute javaNamingFactoryInitial : EString
+    Attribute javaNamingProviderUrl : EString
+    Attribute javaNamingSecurityAuthentication : EString
+    Attribute javaNamingSecurityPrincipal : EString
+    Attribute javaNamingSecurityCredentials : EString
+    Operation connect() : DirContext
+    Operation disconnect(DirContext) : void
+
+  Class DASConfig
+    Attribute genModelName : EString
+    Attribute repositoryBase : EString
+    Attribute jarName : EString
+    Attribute ePackageNsURI : EString
+    Attribute ePackageNsPrefix : EString
+    Operation loadGeneratorModel() : EResource
+
+  Enum JNDIEnvironmentKeys
+    Literal JAVA_NAMING_FACTORY_INITIAL_KEY = 0
+    Literal JAVA_NAMING_PROVIDER_URL_KEY = 1
+    Literal JAVA_NAMING_SECURITY_AUTHENTICATION_KEY = 2
+    Literal JAVA_NAMING_SECURITY_PRINCIPAL_KEY = 3
+    Literal JAVA_NAMING_SECURITY_CREDENTIALS_KEY = 4
+
+  DataType NamingException <javax.naming.NamingException>
+
+  DataType DirContext <javax.naming.directory.DirContext>

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/.classpath
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/.classpath?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/.classpath (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/.classpath Mon Apr 16 08:43:15 2007
@@ -0,0 +1,43 @@
+<classpath>
+  <classpathentry kind="src" path="src/main/java"/>
+  <classpathentry kind="src" path="src/test/java" output="target/test-classes"/>
+  <classpathentry kind="output" path="target/classes"/>
+  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-change-edit/2.3.0-M4/ecore-change-edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping/2.3.0-M4/mapping-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/xsd/2.3.0-M4/xsd-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2xml/2.3.0-M4/mapping-ecore2xml-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/commonj-sdo/2.3.0-M4/commonj-sdo-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer-rose/2.3.0-M4/importer-rose-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-xsd2ecore/2.3.0-M4/mapping-xsd2ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ant/2.3.0-M4/ant-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/edit/2.3.0-M4/edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer-java/2.3.0-M4/importer-java-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-xmi/2.3.0-M4/ecore-xmi-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer/2.3.0-M4/importer-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen-ecore/2.3.0-M4/codegen-ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-change/2.3.0-M4/ecore-change-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/exporter/2.3.0-M4/exporter-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2ecore/2.3.0-M4/mapping-ecore2ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/common/2.3.0-M4/common-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/converter/2.3.0-M4/converter-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/ecore-importer/2.3.0-M4/ecore-importer-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore/2.3.0-M4/ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen-ecore-ui/2.3.0-M4/codegen-ecore-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-sdo/2.3.0-M4/ecore-sdo-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/edit/2.3.0-M4/edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/ecore-exporter/2.3.0-M4/ecore-exporter-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2xml-ui/2.3.0-M4/mapping-ecore2xml-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer-ecore/2.3.0-M4/importer-ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/common-ui/2.3.0-M4/common-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-edit/2.3.0-M4/ecore-edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/edit-ui/2.3.0-M4/edit-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen-ui/2.3.0-M4/codegen-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen/2.3.0-M4/codegen-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2ecore-editor/2.3.0-M4/mapping-ecore2ecore-editor-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ui/2.3.0-M4/mapping-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/emf/2.3.0-M4/emf-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-sdo-edit/2.3.0-M4/ecore-sdo-edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-xsd2ecore-editor/2.3.0-M4/mapping-xsd2ecore-editor-2.3.0-M4.jar"/>
+</classpath>
\ No newline at end of file

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/.project
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/.project?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/.project (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/.project Mon Apr 16 08:43:15 2007
@@ -0,0 +1,14 @@
+<projectDescription>
+  <name>das.ldap.prototype</name>
+  <comment/>
+  <projects/>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+      <arguments/>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/.settings/org.eclipse.jdt.core.prefs?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/.settings/org.eclipse.jdt.core.prefs (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/.settings/org.eclipse.jdt.core.prefs Mon Apr 16 08:43:15 2007
@@ -0,0 +1,5 @@
+#Sun Apr 15 23:27:46 CDT 2007
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/pom.xml?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/pom.xml (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/pom.xml Mon Apr 16 08:43:15 2007
@@ -0,0 +1,174 @@
+<?xml version="1.0"?><project>
+  <parent>
+    <artifactId>das.ldap.parent</artifactId>
+    <groupId>org.apache.tuscany</groupId>
+    <version>1.0-SNAPSHOT</version>
+  </parent>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.tuscany</groupId>
+  <artifactId>das.ldap.prototype</artifactId>
+  <name></name>
+  <version>1.0-SNAPSHOT</version>
+  <url>http://pyramidetechnologies.com/model/archetype</url>
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>ant</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>codegen</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>codegen-ecore</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>codegen-ecore-ui</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>codegen-ui</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>common</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>commonj-sdo</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>common-ui</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>converter</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>ecore</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>ecore-change</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>ecore-change-edit</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>ecore-edit</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>ecore-sdo</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>ecore-sdo-edit</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>ecore-xmi</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>edit</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>edit-ui</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>emf</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>exporter</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>importer</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>importer-ecore</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>importer-java</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>importer-rose</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>mapping</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>mapping-ecore2ecore</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>mapping-ecore2ecore-editor</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>mapping-ecore2xml</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>mapping-ecore2xml-ui</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>mapping-ui</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>mapping-xsd2ecore</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.emf</groupId>
+      <artifactId>mapping-xsd2ecore-editor</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.xsd</groupId>
+      <artifactId>ecore-exporter</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.xsd</groupId>
+      <artifactId>ecore-importer</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.xsd</groupId>
+      <artifactId>edit</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>org.eclipse.xsd</groupId>
+      <artifactId>xsd</artifactId>
+    </dependency>
+  </dependencies>
+</project>
\ No newline at end of file

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/src/main/java/org/apache/tuscany/das/ldap/prototype/DASClient.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/src/main/java/org/apache/tuscany/das/ldap/prototype/DASClient.java?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/src/main/java/org/apache/tuscany/das/ldap/prototype/DASClient.java (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/src/main/java/org/apache/tuscany/das/ldap/prototype/DASClient.java Mon Apr 16 08:43:15 2007
@@ -0,0 +1,11 @@
+
+package org.apache.tuscany.das.ldap.prototype;
+
+import commonj.sdo.DataGraph;
+
+public class DASClient
+{
+    
+    private DataGraph dataGraph;
+
+}

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/src/test/java/org/apache/tuscany/ModelTest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/src/test/java/org/apache/tuscany/ModelTest.java?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/src/test/java/org/apache/tuscany/ModelTest.java (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap.prototype/src/test/java/org/apache/tuscany/ModelTest.java Mon Apr 16 08:43:15 2007
@@ -0,0 +1,19 @@
+package org.apache.tuscany;
+
+import junit.framework.TestCase;
+
+public class ModelTest extends TestCase {
+
+	protected void setUp() throws Exception {
+		super.setUp();
+	}
+
+	protected void tearDown() throws Exception {
+		super.tearDown();
+	}
+
+	public void testModelLoad()
+	{
+		assertTrue(true);
+	}
+}

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap/.classpath
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap/.classpath?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap/.classpath (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap/.classpath Mon Apr 16 08:43:15 2007
@@ -0,0 +1,45 @@
+<classpath>
+  <classpathentry kind="src" path="src/main/java"/>
+  <classpathentry kind="src" path="src/test/java" output="target/test-classes"/>
+  <classpathentry kind="output" path="target/classes"/>
+  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ant/2.3.0-M4/ant-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-change/2.3.0-M4/ecore-change-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/junit/junit/3.8.1/junit-3.8.1.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer-rose/2.3.0-M4/importer-rose-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/common-ui/2.3.0-M4/common-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-xmi/2.3.0-M4/ecore-xmi-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer-java/2.3.0-M4/importer-java-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ui/2.3.0-M4/mapping-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.2/commons-lang-2.2.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/common/2.3.0-M4/common-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/xsd/2.3.0-M4/xsd-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer-ecore/2.3.0-M4/importer-ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/ecore-exporter/2.3.0-M4/ecore-exporter-2.3.0-M4.jar"/>
+  <classpathentry kind="src" path="/das.ldap.configuration.model.v100"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2xml/2.3.0-M4/mapping-ecore2xml-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-sdo/2.3.0-M4/ecore-sdo-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2ecore/2.3.0-M4/mapping-ecore2ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-edit/2.3.0-M4/ecore-edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-xsd2ecore-editor/2.3.0-M4/mapping-xsd2ecore-editor-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen-ecore-ui/2.3.0-M4/codegen-ecore-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/emf/2.3.0-M4/emf-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen/2.3.0-M4/codegen-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore/2.3.0-M4/ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/ecore-importer/2.3.0-M4/ecore-importer-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/edit-ui/2.3.0-M4/edit-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/edit/2.3.0-M4/edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/converter/2.3.0-M4/converter-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen-ui/2.3.0-M4/codegen-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2ecore-editor/2.3.0-M4/mapping-ecore2ecore-editor-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-ecore2xml-ui/2.3.0-M4/mapping-ecore2xml-ui-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/commonj-sdo/2.3.0-M4/commonj-sdo-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-sdo-edit/2.3.0-M4/ecore-sdo-edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/ecore-change-edit/2.3.0-M4/ecore-change-edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/codegen-ecore/2.3.0-M4/codegen-ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/xsd/edit/2.3.0-M4/edit-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping-xsd2ecore/2.3.0-M4/mapping-xsd2ecore-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/importer/2.3.0-M4/importer-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/mapping/2.3.0-M4/mapping-2.3.0-M4.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/eclipse/emf/exporter/2.3.0-M4/exporter-2.3.0-M4.jar"/>
+</classpath>
\ No newline at end of file

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap/.project
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap/.project?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap/.project (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap/.project Mon Apr 16 08:43:15 2007
@@ -0,0 +1,16 @@
+<projectDescription>
+  <name>das.ldap</name>
+  <comment/>
+  <projects>
+    <project>das.ldap.configuration.model.v100</project>
+  </projects>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+      <arguments/>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap/.settings/org.eclipse.jdt.core.prefs
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap/.settings/org.eclipse.jdt.core.prefs?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap/.settings/org.eclipse.jdt.core.prefs (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap/.settings/org.eclipse.jdt.core.prefs Mon Apr 16 08:43:15 2007
@@ -0,0 +1,5 @@
+#Sat Mar 31 22:47:02 CDT 2007
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap/pom.xml?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap/pom.xml (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap/pom.xml Mon Apr 16 08:43:15 2007
@@ -0,0 +1,188 @@
+<?xml version="1.0"?>
+<project>
+   <parent>
+      <artifactId>das.ldap.parent</artifactId>
+      <groupId>org.apache.tuscany</groupId>
+      <version>1.0-SNAPSHOT</version>
+   </parent>
+   <modelVersion>4.0.0</modelVersion>
+   <groupId>org.apache.tuscany</groupId>
+   <artifactId>das.ldap</artifactId>
+   <name></name>
+   <version>1.0-SNAPSHOT</version>
+   <url>http://pyramidetechnologies.com/model/archetype</url>
+   <build>
+      <plugins>
+         <plugin>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <configuration>
+               <source>1.5</source>
+               <target>1.5</target>
+            </configuration>
+         </plugin>
+      </plugins>
+   </build>
+   <dependencies>
+
+      <dependency>
+         <groupId>org.apache.tuscany</groupId>
+         <artifactId>das.ldap.configuration.model.v100</artifactId>
+         <version>1.0-SNAPSHOT</version>
+      </dependency>
+
+      <dependency>
+         <groupId>commons-lang</groupId>
+         <artifactId>commons-lang</artifactId>
+         <version>2.2</version>
+      </dependency>
+
+      <dependency>
+         <groupId>junit</groupId>
+         <artifactId>junit</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ant</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>codegen</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>codegen-ecore</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>codegen-ecore-ui</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>codegen-ui</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>common</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>commonj-sdo</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>common-ui</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>converter</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore-change</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore-change-edit</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore-edit</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore-sdo</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore-sdo-edit</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>ecore-xmi</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>edit</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>edit-ui</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>emf</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>exporter</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>importer</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>importer-ecore</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>importer-java</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>importer-rose</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-ecore2ecore</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-ecore2ecore-editor</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-ecore2xml</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-ecore2xml-ui</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-ui</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-xsd2ecore</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.emf</groupId>
+         <artifactId>mapping-xsd2ecore-editor</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.xsd</groupId>
+         <artifactId>ecore-exporter</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.xsd</groupId>
+         <artifactId>ecore-importer</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.xsd</groupId>
+         <artifactId>edit</artifactId>
+      </dependency>
+      <dependency>
+         <groupId>org.eclipse.xsd</groupId>
+         <artifactId>xsd</artifactId>
+      </dependency>
+   </dependencies>
+</project>
\ No newline at end of file

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap/src/main/java/org/apache/tuscany/das/ldap/LdapDAS.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap/src/main/java/org/apache/tuscany/das/ldap/LdapDAS.java?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap/src/main/java/org/apache/tuscany/das/ldap/LdapDAS.java (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap/src/main/java/org/apache/tuscany/das/ldap/LdapDAS.java Mon Apr 16 08:43:15 2007
@@ -0,0 +1,19 @@
+package org.apache.tuscany.das.ldap;
+
+import javax.naming.directory.DirContext;
+
+import commonj.sdo.DataGraph;
+
+public interface LdapDAS {
+	
+	public void write(DirContext connection, DataGraph dataGraph);
+
+	public DataGraph read(DirContext connection, String queryParameters);
+
+	public void update(DirContext connection, DataGraph dataGraph);
+	
+	public void delete(DirContext connection, DataGraph dataGraph);
+	
+	
+	
+}

Added: directory/sandbox/oersoy/das.ldap.parent/das.ldap/src/main/java/org/apache/tuscany/das/ldap/create/InitialContextCreator.java
URL: http://svn.apache.org/viewvc/directory/sandbox/oersoy/das.ldap.parent/das.ldap/src/main/java/org/apache/tuscany/das/ldap/create/InitialContextCreator.java?view=auto&rev=529293
==============================================================================
--- directory/sandbox/oersoy/das.ldap.parent/das.ldap/src/main/java/org/apache/tuscany/das/ldap/create/InitialContextCreator.java (added)
+++ directory/sandbox/oersoy/das.ldap.parent/das.ldap/src/main/java/org/apache/tuscany/das/ldap/create/InitialContextCreator.java Mon Apr 16 08:43:15 2007
@@ -0,0 +1,43 @@
+
+package org.apache.tuscany.das.ldap.create;
+
+import javax.naming.NamingException;
+import javax.naming.directory.DirContext;
+
+import org.apache.tuscany.das.ldap.create.helpers.InitialContextCreatorHelper;
+import org.apache.tuscany.das.ldap.util.XSDNamespaceURITokenizer;
+import org.eclipse.emf.common.util.URI;
+
+/**
+ * The Class InitialContextCreator
+ */
+public class InitialContextCreator
+{
+    /**
+     * Create the initial naming to which the 
+     * ldap attributes belonging to the root DataObject
+     * will be bound.
+     * 
+     * @param directoryContext the dir context
+     * @param xsdNamespace the xml namespace of the DataObjects
+     * 
+     * @return the directory context
+     * 
+     * @throws NamingException the naming exception
+     */
+    public static DirContext create(
+        String xsdNamespace, 
+        DirContext directoryContext) throws NamingException
+    {
+        URI xsdNamespaceURI = URI.createURI( xsdNamespace );
+        String[] pathTokens      = XSDNamespaceURITokenizer.createPathTokens( xsdNamespaceURI );
+        String[] authorityTokens = XSDNamespaceURITokenizer.createAuthorityTokens( xsdNamespaceURI );
+        
+        InitialContextCreatorHelper.capitalizeInitialContextRDN( pathTokens );
+        
+        directoryContext = InitialContextCreatorHelper.createAuthorityContext( directoryContext, authorityTokens );
+        directoryContext = InitialContextCreatorHelper.createPathContext( directoryContext, pathTokens );
+        
+        return directoryContext;
+    }
+}



Mime
View raw message