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

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

public class UserData
extends Data

ユーザ情報を表すクラス

作成者:
Naoki Miyata, Masato Mori, Takao Nakaguchi

入れ子のクラスの概要
static class UserData.Instantiator
          UserDataの初期化クラス.
 
フィールドの概要
static String _dataType
           
static String _IDPrefix
           
 
クラス jp.go.nict.langrid.p2pgridbasis.data.Data から継承されたフィールド
DEFAULT_DATE
 
コンストラクタの概要
UserData(String gid, DataID dataID, Calendar lastUpdate, DataAttributes attributes)
          The constructor.
UserData(User user)
          The constructor.
 
メソッドの概要
static DataID getDataID(User data, UserPK pk)
          Get the DataID
static String getDataType()
          Get the data type string.
 String getType()
          扱っているデータの型情報を返す
 User getUser()
          Get the User
 
クラス 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
 

フィールドの詳細

_dataType

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

_IDPrefix

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

UserData

public UserData(User user)
         throws DataConvertException
The constructor.

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

UserData

public UserData(String gid,
                DataID dataID,
                Calendar lastUpdate,
                DataAttributes attributes)
         throws RequiredAttributeNotFoundException
The constructor.

パラメータ:
gid -
dataID -
lastUpdate -
attributes -
例外:
RequiredAttributeNotFoundException
メソッドの詳細

getUser

public User getUser()
             throws ParseException
Get the User

戻り値:
例外:
ParseException

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(User data,
                               UserPK pk)
Get the DataID

戻り値: