jp.go.nict.langrid.p2pgridbasis.data.langrid
クラス ServiceTypeData

java.lang.Object
  上位を拡張 jp.go.nict.langrid.p2pgridbasis.data.Data
      上位を拡張 jp.go.nict.langrid.p2pgridbasis.data.langrid.ServiceTypeData

public class ServiceTypeData
extends Data

ドメイン情報を表すクラス

バージョン:
$Revision: 9276 $
作成者:
$Author: mori $

入れ子のクラスの概要
static class ServiceTypeData.Instantiator
          ServiceTypeDataの初期化クラス DataFactoryで利用する
 
フィールドの概要
static String _dataType
           
static String _IDPrefix
           
 
クラス jp.go.nict.langrid.p2pgridbasis.data.Data から継承されたフィールド
DEFAULT_DATE
 
コンストラクタの概要
ServiceTypeData(ServiceType serviceType)
          The constructor.
ServiceTypeData(String gid, DataID id, Calendar lastUpdate, DataAttributes attributes)
          The constructor.
 
メソッドの概要
static DataID getDataID(ServiceType data, ServiceTypePK pk)
          Get the DataID.
static String getDataType()
          Get the data type string.
 ServiceType getServiceType()
          Get the ServiceType.
 String getType()
          扱っているデータの型情報を返す
 
クラス jp.go.nict.langrid.p2pgridbasis.data.Data から継承されたメソッド
getAttributes, getGridId, getId, getLastUpdate, setAttributes, setGridId, setId, setLastUpdate
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

_IDPrefix

public static final String _IDPrefix
関連項目:
定数フィールド値

_dataType

public static final String _dataType
関連項目:
定数フィールド値
コンストラクタの詳細

ServiceTypeData

public ServiceTypeData(ServiceType serviceType)
                throws DataConvertException
The constructor.

パラメータ:
serviceType -
例外:
DataConvertException

ServiceTypeData

public ServiceTypeData(String gid,
                       DataID id,
                       Calendar lastUpdate,
                       DataAttributes attributes)
The constructor.

パラメータ:
gid - Grid ID
id - Data ID
lastUpdate - Last updated datetime
attributes - Attribute
メソッドの詳細

getServiceType

public ServiceType getServiceType()
                           throws DataConvertException
Get the ServiceType.

戻り値:
例外:
ParseException
DataConvertException

getDataType

public static String getDataType()
Get the data type string.

戻り値:
data type string.

getType

public String getType()
クラス Data の記述:
扱っているデータの型情報を返す

定義:
クラス Data 内の getType
戻り値:
データの型

getDataID

public static DataID getDataID(ServiceType data,
                               ServiceTypePK pk)
Get the DataID.

戻り値: