jp.go.nict.langrid.dao.entity
クラス ResourceType

java.lang.Object
  上位を拡張 jp.go.nict.langrid.dao.entity.UpdateManagedEntity
      上位を拡張 jp.go.nict.langrid.dao.entity.ResourceType
すべての実装されたインタフェース:
Serializable

public class ResourceType
extends UpdateManagedEntity
implements Serializable

バージョン:
$Revision:4384 $
作成者:
Takao Nakaguchi, $Author:nakaguchi $
関連項目:
直列化された形式

コンストラクタの概要
ResourceType()
          コンストラクタ。
ResourceType(String domainId, String resourceTypeID)
          コンストラクタ。
 
メソッドの概要
protected  org.apache.commons.lang.builder.HashCodeBuilder appendSpecialHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder, Collection<String> appendedFields)
          実体固有のハッシュコード計算を行い、計算したフィールドをコレクションに追加する。
 String getDescription()
          説明を返す。
 String getDomainId()
          ドメインIDを返す。
 Map<String,ResourceMetaAttribute> getMetaAttributes()
          メタ属性名のリストを返す。
 String getResourceTypeId()
          リソースタイプIDを返す。
 String getResourceTypeName()
          リソースタイプ名を返す。
 void setDescription(String description)
          説明を設定する。
 void setDomainId(String domainId)
          ドメインIDを設定する。
 void setMetaAttributeCollection(Collection<ResourceMetaAttribute> metaAttributes)
          メタ属性のコレクションを設定する。
 void setMetaAttributes(Map<String,ResourceMetaAttribute> metaAttributes)
          メタ属性を設定する。
 void setResourceTypeId(String resourceTypeId)
          リソースタイプIDを設定する。
 void setResourceTypeName(String resourceTypeName)
          リソースタイプ名を設定する。
 
クラス jp.go.nict.langrid.dao.entity.UpdateManagedEntity から継承されたメソッド
appendSpecialEquals, equals, equalsIgnoreDates, getCreatedDateTime, getUpdatedDateTime, hashCode, setCreatedDateTime, setUpdatedDateTime, toString, touchUpdatedDateTime
 
クラス java.lang.Object から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

ResourceType

public ResourceType()
コンストラクタ。


ResourceType

public ResourceType(String domainId,
                    String resourceTypeID)
コンストラクタ。

パラメータ:
domainId - ドメインID
resourceTypeId - リソースタイプID
メソッドの詳細

getDomainId

public String getDomainId()
ドメインIDを返す。

戻り値:
ドメインID

setDomainId

public void setDomainId(String domainId)
ドメインIDを設定する。

パラメータ:
domainId - ドメインID

getResourceTypeId

public String getResourceTypeId()
リソースタイプIDを返す。

戻り値:
リソースタイプID

setResourceTypeId

public void setResourceTypeId(String resourceTypeId)
リソースタイプIDを設定する。

パラメータ:
resourceTypeId - リソースタイプID

getResourceTypeName

public String getResourceTypeName()
リソースタイプ名を返す。

戻り値:
リソースタイプ名

setResourceTypeName

public void setResourceTypeName(String resourceTypeName)
リソースタイプ名を設定する。

パラメータ:
resourceTypeName - リソースタイプ名

getDescription

public String getDescription()
説明を返す。

戻り値:
説明

setDescription

public void setDescription(String description)
説明を設定する。

パラメータ:
description - 説明

getMetaAttributes

public Map<String,ResourceMetaAttribute> getMetaAttributes()
メタ属性名のリストを返す。

戻り値:
メタ属性名のリスト

setMetaAttributes

public void setMetaAttributes(Map<String,ResourceMetaAttribute> metaAttributes)
メタ属性を設定する。

パラメータ:
metaAttributes - メタ属性

setMetaAttributeCollection

public void setMetaAttributeCollection(Collection<ResourceMetaAttribute> metaAttributes)
メタ属性のコレクションを設定する。既に持っている属性はクリアされる。

パラメータ:
metaAttributes - メタ属性のリスト

appendSpecialHashCode

protected org.apache.commons.lang.builder.HashCodeBuilder appendSpecialHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder,
                                                                                Collection<String> appendedFields)
クラス UpdateManagedEntity の記述:
実体固有のハッシュコード計算を行い、計算したフィールドをコレクションに追加する。 hashCodeメソッドから呼び出される。 このメソッドをオーバーライドする場合、必ず親クラスのこのメソッドを呼び出すこと。

オーバーライド:
クラス UpdateManagedEntity 内の appendSpecialHashCode
パラメータ:
builder - ビルダ
appendedFields - 比較したフィールドを追加するコレクション
戻り値:
ビルダ