OSDN Git Service

removed all files
[xerial/xerial-core.git] / src / main / java / org / xerial / lens / relation / FD.java
diff --git a/src/main/java/org/xerial/lens/relation/FD.java b/src/main/java/org/xerial/lens/relation/FD.java
deleted file mode 100755 (executable)
index d4b4be0..0000000
+++ /dev/null
@@ -1,55 +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
-// FD.java\r
-// Since: May 13, 2009 5:39:16 PM\r
-//\r
-// $URL: http://www.xerial.org/svn/project/XerialJ/trunk/xerial-core/src/main/java/org/xerial/lens/relation/FD.java $\r
-// $Author: leo $\r
-//--------------------------------------\r
-package org.xerial.lens.relation;\r
-\r
-/**\r
- * Functional dependency that holds in the relation\r
- * \r
- * @author leo\r
- * \r
- */\r
-public enum FD {\r
-    ONE_TO_ONE(":"), ONE_OR_MORE("+"), ZERO_OR_ONE("?"), ZERO_OR_MORE("*");\r
-\r
-    private final String symbol;\r
-\r
-    private FD(String displaySymbol) {\r
-        this.symbol = displaySymbol;\r
-    }\r
-\r
-    public boolean isOneToOne() {\r
-        return this == ONE_TO_ONE;\r
-    }\r
-\r
-    public boolean isOneToMany() {\r
-        return this != ONE_TO_ONE;\r
-    }\r
-\r
-    @Override\r
-    public String toString() {\r
-        return symbol;\r
-    }\r
-\r
-}\r