public final class ContentLineModelProvider extends Object
コンテンツ名もしくはクラスからモデルのインスタンスを取得する機能を提供します。
各モデルは引数なしのデフォルトコンストラクタが使用可能である必要があります。
コンテンツ名とモデルクラスのマッピング情報を保持します。
ContentLineInfo.name()
)から取得します。META-INF/services/jp.co.intra_mart.product.collaboration.icalendar.model.component.IComponent
META-INF/services/jp.co.intra_mart.product.collaboration.icalendar.model.property.IProperty
META-INF/services/jp.co.intra_mart.product.collaboration.icalendar.model.parameter.IParameter
null
を返却します。
修飾子とタイプ | メソッドと説明 |
---|---|
static <V extends IComponent> |
getComponent(Class<V> clazz)
コンポーネントモデルを取得します。
|
static <V extends IComponent> |
getComponent(String name)
コンポーネントモデルを取得します。
|
static <V extends IParameter> |
getParameter(Class<V> clazz)
プロパティパラメータモデルを取得します。
|
static <V extends IParameter> |
getParameter(String name)
プロパティパラメータモデルを取得します。
|
static <V extends IProperty> |
getProperty(Class<V> clazz)
プロパティモデルを取得します。
|
static <V extends IProperty> |
getProperty(String name)
プロパティモデルを取得します。
|
public static <V extends IComponent> V getComponent(Class<V> clazz)
V
- コンポーネントモデルの型clazz
- コンポーネントクラスpublic static <V extends IComponent> V getComponent(String name)
V
- コンポーネントモデルの型name
- コンポーネント名public static <V extends IParameter> V getParameter(Class<V> clazz)
V
- プロパティパラメータモデルの型clazz
- プロパティパラメータクラスpublic static <V extends IParameter> V getParameter(String name)
V
- プロパティパラメータモデルの型name
- プロパティパラメータ名public static <V extends IProperty> V getProperty(Class<V> clazz)
V
- プロパティモデルの型clazz
- プロパティクラスCopyright © 2012-2015 NTT DATA INTRAMART CORPORATION