[YMIR-61] [ymir-core] constraintを複数指定するためのannotationを追加する Created: 2007-07-06  Updated: 2007-07-09  Resolved: 2007-07-09

Status: Closed
Project: Ymir
Component/s: ymir-core
Affects Version/s: 0.9.1
Fix Version/s: 0.9.2

Type: Improvement Priority: Minor
Reporter: skirnir Assignee: skirnir
Resolution: Fixed Votes: 0
Labels: None


 Description   

同一constraintを複数アノテートしたい時があるが今はできないので、constraint アノテーションの配列をプロパティと
して持つようなアノテーションを追加し、constraintを複数指定できるようにする。



 Comments   
Comment by skirnir [ 2007-07-09 ]

対処しました。任意のアノテーションを複数指定するアノテーションというものは定義できないので、
束ねたいアノテーション毎にアノテーションを作る必要があります。

作り方:
・ConstraintsAnnotationアノテーションを付与する。
・valueという名前のプロパティを追加する。返り値型は束ねたいアノテーション型。

Generated at Wed Apr 16 01:30:25 JST 2025 using Jira 10.5.0#10050000-sha1:9d9d098bb7b67e8dba8da380ba9c3900d82ac3cf.