svnno****@sourc*****
svnno****@sourc*****
2008年 10月 7日 (火) 00:05:38 JST
Revision: 2002 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=jiemamy&view=rev&rev=2002 Author: daisuke_m Date: 2008-10-07 00:05:38 +0900 (Tue, 07 Oct 2008) Log Message: ----------- index関係モデルをコンポーネントに追加。 Modified Paths: -------------- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/index/IndexModelImpl.java artemis/trunk/org.jiemamy.core/src/main/resources/jiemamy-core.dicon artemis/trunk/org.jiemamy.event/src/main/java/org/jiemamy/event/AbstractObservable.java -------------- next part -------------- Modified: artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/index/IndexModelImpl.java =================================================================== --- artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/index/IndexModelImpl.java 2008-10-06 15:03:00 UTC (rev 2001) +++ artemis/trunk/org.jiemamy.core/src/main/java/org/jiemamy/core/model/index/IndexModelImpl.java 2008-10-06 15:05:38 UTC (rev 2002) @@ -20,6 +20,8 @@ import java.util.List; +import org.seasar.framework.container.annotation.tiger.Binding; + import org.jiemamy.core.model.AbstractModel; import org.jiemamy.spec.model.index.IndexColumnModel; import org.jiemamy.spec.model.index.IndexModel; @@ -39,6 +41,7 @@ private boolean unique; /** インデックスカラムのリスト */ + @Binding("list") private List<IndexColumnModel> columns; Modified: artemis/trunk/org.jiemamy.core/src/main/resources/jiemamy-core.dicon =================================================================== --- artemis/trunk/org.jiemamy.core/src/main/resources/jiemamy-core.dicon 2008-10-06 15:03:00 UTC (rev 2001) +++ artemis/trunk/org.jiemamy.core/src/main/resources/jiemamy-core.dicon 2008-10-06 15:05:38 UTC (rev 2002) @@ -28,6 +28,9 @@ <component class="org.jiemamy.core.model.constraint.CheckConstraintModelImpl" instance="prototype" /> <component class="org.jiemamy.core.model.constraint.PrimaryKeyConstraintModelImpl" instance="prototype" /> <component class="org.jiemamy.core.model.constraint.UniqueConstraintModel" instance="prototype" /> + + <component class="org.jiemamy.core.model.index.IndexModelImpl" instance="prototype" /> + <component class="org.jiemamy.core.model.index.IndexColumnModelImpl" instance="prototype" autoBinding="none"/> <!-- Modelの自動登録 --> <!-- Modified: artemis/trunk/org.jiemamy.event/src/main/java/org/jiemamy/event/AbstractObservable.java =================================================================== --- artemis/trunk/org.jiemamy.event/src/main/java/org/jiemamy/event/AbstractObservable.java 2008-10-06 15:03:00 UTC (rev 2001) +++ artemis/trunk/org.jiemamy.event/src/main/java/org/jiemamy/event/AbstractObservable.java 2008-10-06 15:05:38 UTC (rev 2002) @@ -21,7 +21,6 @@ import java.lang.reflect.Field; import java.util.List; -import org.seasar.framework.container.annotation.tiger.Binding; import org.seasar.framework.util.tiger.CollectionsUtil; import org.jiemamy.spec.event.ModelChangeEvent; @@ -37,7 +36,6 @@ public abstract class AbstractObservable implements Observable { /** 変更イベントリスナ */ - @Binding("list") private transient List<ModelChangeListener> listeners = CollectionsUtil.newArrayList();