OSDN Git Service

removed all files
[xerial/xerial-core.git] / src / main / java / org / xerial / lens / relation / schema / Schema.java
diff --git a/src/main/java/org/xerial/lens/relation/schema/Schema.java b/src/main/java/org/xerial/lens/relation/schema/Schema.java
deleted file mode 100755 (executable)
index ea4931a..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-/*--------------------------------------------------------------------------\r
- *  Copyright 2009 Taro L. Saito\r
- *\r
- *  Licensed under the Apache License, Version 2.0 (the "License");\r
- *  you may not use this file except in compliance with the License.\r
- *  You may obtain a copy of the License at\r
- *\r
- *     http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- *  Unless required by applicable law or agreed to in writing, software\r
- *  distributed under the License is distributed on an "AS IS" BASIS,\r
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- *  See the License for the specific language governing permissions and\r
- *  limitations under the License.\r
- *--------------------------------------------------------------------------*/\r
-//--------------------------------------\r
-// XerialJ\r
-//\r
-// RelationalSchema.java\r
-// Since: May 13, 2009 6:03:45 PM\r
-//\r
-// $URL: http://www.xerial.org/svn/project/XerialJ/trunk/xerial-core/src/main/java/org/xerial/lens/relation/schema/Schema.java $\r
-// $Author: leo $\r
-//--------------------------------------\r
-package org.xerial.lens.relation.schema;\r
-\r
-import java.util.List;\r
-\r
-import org.xerial.lens.relation.FD;\r
-import org.xerial.lens.relation.TupleIndex;\r
-import org.xerial.util.Functor;\r
-\r
-/**\r
- * non-1NF relational schema\r
- * \r
- * @author leo\r
- * \r
- */\r
-/**\r
- * The interface of relational schema\r
- * \r
- * @author leo\r
- * \r
- */\r
-public interface Schema\r
-{\r
-    /**\r
-     * If this schema element is an atom, return the atom node name. If this\r
-     * schema element is a tuple, return the core node name at index position 0.\r
-     * \r
-     * @return\r
-     */\r
-    public String getName();\r
-\r
-    public int size();\r
-\r
-    public boolean isAtom();\r
-\r
-    public boolean isTuple();\r
-\r
-    public boolean isOneToMany();\r
-\r
-    public boolean isOneToOne();\r
-\r
-    public FD getFD();\r
-\r
-    public Schema get(TupleIndex index);\r
-\r
-    public Schema get(int index);\r
-\r
-    public Schema flatten();\r
-\r
-    public List<String> getNodeNameList();\r
-\r
-    public String selfLoopNode();\r
-\r
-    public TupleIndex getNodeIndex(String nodeName);\r
-\r
-    /**\r
-     * Iterates over nested elements\r
-     * \r
-     * @param <Output>\r
-     * @param functor\r
-     * @return\r
-     */\r
-    public void forEachNestedNodeName(Functor<String, ? > functor);\r
-\r
-    public void accept(SchemaVisitor visitor);\r
-}\r