You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2013/08/09 13:02:57 UTC

svn commit: r1512249 - in /directory/escimo/trunk/ldap/src/main/java/org/apache/directory/scim/ldap/schema: DerivedType.java DynamicType.java

Author: kayyagari
Date: Fri Aug  9 11:02:56 2013
New Revision: 1512249

URL: http://svn.apache.org/r1512249
Log:
renamed to derived type

Added:
    directory/escimo/trunk/ldap/src/main/java/org/apache/directory/scim/ldap/schema/DerivedType.java
Removed:
    directory/escimo/trunk/ldap/src/main/java/org/apache/directory/scim/ldap/schema/DynamicType.java

Added: directory/escimo/trunk/ldap/src/main/java/org/apache/directory/scim/ldap/schema/DerivedType.java
URL: http://svn.apache.org/viewvc/directory/escimo/trunk/ldap/src/main/java/org/apache/directory/scim/ldap/schema/DerivedType.java?rev=1512249&view=auto
==============================================================================
--- directory/escimo/trunk/ldap/src/main/java/org/apache/directory/scim/ldap/schema/DerivedType.java (added)
+++ directory/escimo/trunk/ldap/src/main/java/org/apache/directory/scim/ldap/schema/DerivedType.java Fri Aug  9 11:02:56 2013
@@ -0,0 +1,52 @@
+/*
+ *   Licensed to the Apache Software Foundation (ASF) under one
+ *   or more contributor license agreements.  See the NOTICE file
+ *   distributed with this work for additional information
+ *   regarding copyright ownership.  The ASF licenses this file
+ *   to you under the Apache License, Version 2.0 (the
+ *   "License"); you may not use this file except in compliance
+ *   with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing,
+ *   software distributed under the License is distributed on an
+ *   "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ *   KIND, either express or implied.  See the License for the
+ *   specific language governing permissions and limitations
+ *   under the License.
+ *
+ */
+package org.apache.directory.scim.ldap.schema;
+
+import org.apache.directory.scim.schema.BaseType;
+
+
+/**
+ * TODO DerivedType.
+ *
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class DerivedType extends BaseType
+{
+    private SimpleTypeGroup atGroup;
+    
+    private String baseDn;
+    
+    private String filter;
+    
+    public DerivedType(String uri, String name, boolean show, String baseDn, String filter, SimpleTypeGroup atGroup )
+    {
+        super(uri, name, show);
+        this.baseDn = baseDn;
+        this.filter = filter;
+        this.atGroup = atGroup;
+    }
+    
+    @Override
+    public boolean isDynamic()
+    {
+        return true;
+    }
+    
+}