svnno****@sourc*****
svnno****@sourc*****
2009年 2月 10日 (火) 00:37:06 JST
Revision: 2646 http://svn.sourceforge.jp/view?root=jiemamy&view=rev&rev=2646 Author: daisuke_m Date: 2009-02-10 00:37:06 +0900 (Tue, 10 Feb 2009) Log Message: ----------- JavaNCSSが誤動作を起こすっぽいので、メンバアノテをトップレベルに格上げ。 Modified Paths: -------------- artemis/trunk/jiemamy-core/src/test/java/org/jiemamy/JiemamyPropertyTest.java zeus/trunk/jiemamy-spec-core/src/main/java/org/jiemamy/JiemamyProperty.java Added Paths: ----------- zeus/trunk/jiemamy-spec-core/src/main/java/org/jiemamy/TargetModel.java -------------- next part -------------- Modified: artemis/trunk/jiemamy-core/src/test/java/org/jiemamy/JiemamyPropertyTest.java =================================================================== --- artemis/trunk/jiemamy-core/src/test/java/org/jiemamy/JiemamyPropertyTest.java 2009-02-09 14:22:33 UTC (rev 2645) +++ artemis/trunk/jiemamy-core/src/test/java/org/jiemamy/JiemamyPropertyTest.java 2009-02-09 15:37:06 UTC (rev 2646) @@ -31,7 +31,6 @@ import org.junit.Before; import org.junit.Test; -import org.jiemamy.JiemamyProperty.TargetModel; import org.jiemamy.utils.ReflectionUtil; /** Modified: zeus/trunk/jiemamy-spec-core/src/main/java/org/jiemamy/JiemamyProperty.java =================================================================== --- zeus/trunk/jiemamy-spec-core/src/main/java/org/jiemamy/JiemamyProperty.java 2009-02-09 14:22:33 UTC (rev 2645) +++ zeus/trunk/jiemamy-spec-core/src/main/java/org/jiemamy/JiemamyProperty.java 2009-02-09 15:37:06 UTC (rev 2646) @@ -19,12 +19,7 @@ * governing permissions and limitations under the License. */ -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; -import org.jiemamy.model.JiemamyElement; import org.jiemamy.model.RootModel; import org.jiemamy.model.attribute.AttributeModel; import org.jiemamy.model.attribute.ColumnModel; @@ -314,20 +309,6 @@ } /** - * プロパティ記述対象のインターフェイスを表すアノテーション。 - * - * @author daisuke - */ - @Target(ElementType.TYPE) - @Retention(RetentionPolicy.RUNTIME) - @interface TargetModel { - - /** プロパティ記述対象のインターフェイス */ - Class<? extends JiemamyElement> value(); - - } - - /** * {@link UniqueKeyModel}のプロパティを表す列挙型。 * * @author daisuke Added: zeus/trunk/jiemamy-spec-core/src/main/java/org/jiemamy/TargetModel.java =================================================================== --- zeus/trunk/jiemamy-spec-core/src/main/java/org/jiemamy/TargetModel.java (rev 0) +++ zeus/trunk/jiemamy-spec-core/src/main/java/org/jiemamy/TargetModel.java 2009-02-09 15:37:06 UTC (rev 2646) @@ -0,0 +1,22 @@ +package org.jiemamy; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +import org.jiemamy.model.JiemamyElement; + +/** + * プロパティ記述対象のインターフェイスを表すアノテーション。 + * + * @author daisuke + */ + @ Target(ElementType.TYPE) + @ Retention(RetentionPolicy.RUNTIME) +public @interface TargetModel { + + /** プロパティ記述対象のインターフェイス */ + Class<? extends JiemamyElement> value(); + +} Property changes on: zeus/trunk/jiemamy-spec-core/src/main/java/org/jiemamy/TargetModel.java ___________________________________________________________________ Added: svn:mime-type + text/plain