[Jiemamy-notify] commit [2139] 不要なコンストラクタ削除。

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2008年 11月 13日 (木) 01:11:58 JST


Revision: 2139
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=jiemamy&view=rev&rev=2139
Author:   daisuke_m
Date:     2008-11-13 01:11:58 +0900 (Thu, 13 Nov 2008)

Log Message:
-----------
不要なコンストラクタ削除。

Modified Paths:
--------------
    artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/ColumnModelImpl.java
    artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/DomainModelImpl.java
    artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/AbstractConstraintModel.java
    artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/CheckConstraintModelImpl.java
    artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/ConstraintsModelImpl.java
    artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/PrimaryKeyConstraintModelImpl.java
    artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/UniqueConstraintModelImpl.java
    artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/node/AbstractEntityModelImpl.java
    artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/node/ViewModelImpl.java
    artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/utils/DriverUtil.java
    artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/utils/JmIOUtil.java


-------------- next part --------------
Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/ColumnModelImpl.java
===================================================================
--- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/ColumnModelImpl.java	2008-11-12 16:04:23 UTC (rev 2138)
+++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/ColumnModelImpl.java	2008-11-12 16:11:58 UTC (rev 2139)
@@ -72,25 +72,6 @@
 	
 
 	/**
-	 * コンストラクタ。
-	 * @category instance creation
-	 */
-	public ColumnModelImpl() {
-		this(null, null);
-	}
-	
-	/**
-	 * コンストラクタ。
-	 * @param name カラム名
-	 * @param dataType データ型
-	 * @category instance creation
-	 */
-	public ColumnModelImpl(String name, DataType dataType) {
-		this.name = name;
-		this.dataType = dataType;
-	}
-	
-	/**
 	 * {@inheritDoc}
 	 */
 	public void addConstraint(Constraint constraint) {

Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/DomainModelImpl.java
===================================================================
--- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/DomainModelImpl.java	2008-11-12 16:04:23 UTC (rev 2138)
+++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/DomainModelImpl.java	2008-11-12 16:11:58 UTC (rev 2139)
@@ -59,25 +59,6 @@
 	
 
 	/**
-	 * コンストラクタ。
-	 * @category instance creation
-	 */
-	public DomainModelImpl() {
-		this(null, null);
-	}
-	
-	/**
-	 * コンストラクタ。
-	 * @param name ドメイン名
-	 * @param dataType データ型
-	 * @category instance creation
-	 */
-	public DomainModelImpl(String name, DataType dataType) {
-		this.name = name;
-		this.dataType = dataType;
-	}
-	
-	/**
 	 * {@inheritDoc}
 	 */
 	public void addConstraint(Constraint constraint) {

Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/AbstractConstraintModel.java
===================================================================
--- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/AbstractConstraintModel.java	2008-11-12 16:04:23 UTC (rev 2138)
+++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/AbstractConstraintModel.java	2008-11-12 16:11:58 UTC (rev 2139)
@@ -44,16 +44,6 @@
 	}
 	
 	/**
-	 * コンストラクタ。
-	 * @param name 制約名
-	 * @category instance creation
-	 */
-	public AbstractConstraintModel(String name) {
-		this();
-		this.name = name;
-	}
-	
-	/**
 	 * {@inheritDoc}
 	 */
 	@Override

Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/CheckConstraintModelImpl.java
===================================================================
--- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/CheckConstraintModelImpl.java	2008-11-12 16:04:23 UTC (rev 2138)
+++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/CheckConstraintModelImpl.java	2008-11-12 16:11:58 UTC (rev 2139)
@@ -33,22 +33,6 @@
 	
 
 	/**
-	 * コンストラクタ。
-	 * @category instance creation
-	 */
-	public CheckConstraintModelImpl() {
-	}
-	
-	/**
-	 * コンストラクタ。
-	 * @param name 制約名
-	 * @category instance creation
-	 */
-	public CheckConstraintModelImpl(String name) {
-		super(name);
-	}
-	
-	/**
 	 * {@inheritDoc}
 	 */
 	public String getExpression() {

Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/ConstraintsModelImpl.java
===================================================================
--- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/ConstraintsModelImpl.java	2008-11-12 16:04:23 UTC (rev 2138)
+++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/ConstraintsModelImpl.java	2008-11-12 16:11:58 UTC (rev 2139)
@@ -50,18 +50,6 @@
 	}
 	
 	/**
-	 * コンストラクタ。
-	 * @param constraints 制約
-	 * @category instance creation
-	 */
-	public ConstraintsModelImpl(Constraint... constraints) {
-		this();
-		for (Constraint constraint : constraints) {
-			constraintMap.put(constraint.getClass(), constraint);
-		}
-	}
-	
-	/**
 	 * {@inheritDoc}
 	 */
 	public boolean add(Constraint constraint) {

Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/PrimaryKeyConstraintModelImpl.java
===================================================================
--- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/PrimaryKeyConstraintModelImpl.java	2008-11-12 16:04:23 UTC (rev 2138)
+++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/PrimaryKeyConstraintModelImpl.java	2008-11-12 16:11:58 UTC (rev 2139)
@@ -27,19 +27,4 @@
 @SuppressWarnings("serial")
 public class PrimaryKeyConstraintModelImpl extends AbstractConstraintModel implements PrimaryKeyConstraintModel {
 	
-	/**
-	 * コンストラクタ。
-	 * @category instance creation
-	 */
-	public PrimaryKeyConstraintModelImpl() {
-	}
-	
-	/**
-	 * コンストラクタ。
-	 * @param name 制約名
-	 * @category instance creation
-	 */
-	public PrimaryKeyConstraintModelImpl(String name) {
-		super(name);
-	}
 }

Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/UniqueConstraintModelImpl.java
===================================================================
--- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/UniqueConstraintModelImpl.java	2008-11-12 16:04:23 UTC (rev 2138)
+++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/constraint/UniqueConstraintModelImpl.java	2008-11-12 16:11:58 UTC (rev 2139)
@@ -27,19 +27,4 @@
 @SuppressWarnings("serial")
 public class UniqueConstraintModelImpl extends AbstractConstraintModel implements UniqueConstraintModel {
 	
-	/**
-	 * コンストラクタ。
-	 * @category instance creation
-	 */
-	public UniqueConstraintModelImpl() {
-	}
-	
-	/**
-	 * コンストラクタ。
-	 * @param name 制約名
-	 * @category instance creation
-	 */
-	public UniqueConstraintModelImpl(String name) {
-		super(name);
-	}
 }

Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/node/AbstractEntityModelImpl.java
===================================================================
--- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/node/AbstractEntityModelImpl.java	2008-11-12 16:04:23 UTC (rev 2138)
+++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/node/AbstractEntityModelImpl.java	2008-11-12 16:11:58 UTC (rev 2139)
@@ -53,22 +53,6 @@
 	
 
 	/**
-	 * コンストラクタ。
-	 * @category instance creation
-	 */
-	public AbstractEntityModelImpl() {
-	}
-	
-	/**
-	 * コンストラクタ。
-	 * @param name エンティティ名
-	 * @category instance creation
-	 */
-	public AbstractEntityModelImpl(String name) {
-		this.name = name;
-	}
-	
-	/**
 	 * {@inheritDoc}
 	 */
 	public String getBeginScript() {

Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/node/ViewModelImpl.java
===================================================================
--- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/node/ViewModelImpl.java	2008-11-12 16:04:23 UTC (rev 2138)
+++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/node/ViewModelImpl.java	2008-11-12 16:11:58 UTC (rev 2139)
@@ -35,26 +35,6 @@
 	
 
 	/**
-	 * コンストラクタ。
-	 * @category instance creation
-	 */
-	public ViewModelImpl() {
-		super(null);
-		definition = null;
-	}
-	
-	/**
-	 * コンストラクタ。
-	 * @param name ビュー名
-	 * @param definition VIEW定義SELECT文
-	 * @category instance creation
-	 */
-	public ViewModelImpl(String name, String definition) {
-		super(name);
-		this.definition = definition;
-	}
-	
-	/**
 	 * {@inheritDoc}
 	 */
 	public String getDefinition() {

Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/utils/DriverUtil.java
===================================================================
--- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/utils/DriverUtil.java	2008-11-12 16:04:23 UTC (rev 2138)
+++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/utils/DriverUtil.java	2008-11-12 16:11:58 UTC (rev 2139)
@@ -38,7 +38,7 @@
  * JDBCドライバ関係のユーティリティクラス。
  * @author daisuke
  */
-public class DriverUtil {
+public final class DriverUtil {
 	
 	/**
 	 * JARファイルに含まれるDriverクラスのリストを取得する。

Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/utils/JmIOUtil.java
===================================================================
--- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/utils/JmIOUtil.java	2008-11-12 16:04:23 UTC (rev 2138)
+++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/utils/JmIOUtil.java	2008-11-12 16:11:58 UTC (rev 2139)
@@ -29,7 +29,7 @@
  * 入出力ユーティリティクラス for Jiemamy。
  * @author daisuke
  */
-public class JmIOUtil {
+public final class JmIOUtil {
 	
 	/**
 	 * 閉じる。


Jiemamy-notify メーリングリストの案内
Zurück zum Archiv-Index