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

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

public class DomainData
extends Data

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

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

入れ子のクラスの概要
static class DomainData.Instantiator
          DomainDataの初期化クラス DataFactoryで利用する
 
フィールドの概要
static String _dataType
           
static String _IDPrefix
           
 
クラス jp.go.nict.langrid.p2pgridbasis.data.Data から継承されたフィールド
DEFAULT_DATE
 
コンストラクタの概要
DomainData(Domain domain)
          The constructor.
DomainData(String gid, DataID id, Calendar lastUpdate, DataAttributes attributes)
          The constructor.
 
メソッドの概要
static DataID getDataID(Domain data, DomainPK pk)
          get the DataID.
static String getDataType()
          get the data type staticaly
 Domain getDomain()
          get the node.
 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
関連項目:
定数フィールド値
コンストラクタの詳細

DomainData

public DomainData(Domain domain)
           throws DataConvertException
The constructor.

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

DomainData

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

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

getDomain

public Domain getDomain()
                 throws DataConvertException
get the node.

戻り値:
例外:
ParseException
DataConvertException

getDataType

public static String getDataType()
get the data type staticaly

戻り値:
data type string

getType

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

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

getDataID

public static DataID getDataID(Domain data,
                               DomainPK pk)
get the DataID.

戻り値: