Coverage Report - org.seasar.uruma.desc.FormDesc
 
Classes in this File Line Coverage Branch Coverage Complexity
FormDesc
N/A
N/A
0
 
 1  
 /*
 2  
  * Copyright 2004-2008 the Seasar Foundation and the Others.
 3  
  *
 4  
  * Licensed under the Apache License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  *     http://www.apache.org/licenses/LICENSE-2.0
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, 
 13  
  * either express or implied. See the License for the specific language
 14  
  * governing permissions and limitations under the License.
 15  
  */
 16  
 package org.seasar.uruma.desc;
 17  
 
 18  
 import java.util.List;
 19  
 
 20  
 import org.seasar.framework.beans.PropertyDesc;
 21  
 import org.seasar.uruma.annotation.ExportSelection;
 22  
 import org.seasar.uruma.annotation.ExportValue;
 23  
 import org.seasar.uruma.annotation.ImportSelection;
 24  
 import org.seasar.uruma.annotation.ImportValue;
 25  
 
 26  
 /**
 27  
  * フォームクラスのメタデータを扱うためのインターフェースです。<br />
 28  
  * フォームクラスは、ウィンドウパートに対する入出力情報を保持するためのクラスで、POJO として実現されます。<br />
 29  
  * 
 30  
  * @author y-komori
 31  
  */
 32  
 public interface FormDesc {
 33  
     /**
 34  
      * {@link ImportValue} アノテーションが付加されたプロパティのリストを取得します。<br />
 35  
      * 
 36  
      * @return {@link PropertyDesc} のリスト
 37  
      */
 38  
     public List<PropertyDesc> getImportValueProperties();
 39  
 
 40  
     /**
 41  
      * {@link ExportValue} アノテーションが付加されたプロパティのリストを取得します。<br />
 42  
      * 
 43  
      * @return {@link PropertyDesc} のリスト
 44  
      */
 45  
     public List<PropertyDesc> getExportValueProperties();
 46  
 
 47  
     /**
 48  
      * {@link ImportSelection} アノテーションが付加されたプロパティのリストを取得します。<br />
 49  
      * 
 50  
      * @return {@link PropertyDesc} のリスト
 51  
      */
 52  
     public List<PropertyDesc> getImportSelectionProperties();
 53  
 
 54  
     /**
 55  
      * {@link ExportSelection} アノテーションが付加されたプロパティのリストを取得します。<br />
 56  
      * 
 57  
      * @return {@link PropertyDesc} のリスト
 58  
      */
 59  
     public List<PropertyDesc> getExportSelectionProperties();
 60  
 
 61  
     /**
 62  
      * {@link Class} オブジェクトを取得します<br />
 63  
      * 
 64  
      * @return {@link Class}
 65  
      */
 66  
     public Class<?> getFormClass();
 67  
 }