|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.go.nict.langrid.dao.entity.UpdateManagedEntity
jp.go.nict.langrid.dao.entity.User
public class User
ユーザを格納するエンティティクラス。 updatedDate、registeredDate、passwordChangedDateは利用者が管理する必要がある。
| コンストラクタの概要 | |
|---|---|
User()
コンストラクタ。 |
|
User(String gridId,
String userId,
String password)
コンストラクタ。 |
|
| メソッドの概要 | |
|---|---|
protected org.apache.commons.lang.builder.EqualsBuilder |
appendSpecialEquals(org.apache.commons.lang.builder.EqualsBuilder builder,
Object value,
Collection<String> appendedFields,
boolean ignoreDates)
実体固有の比較を行い、比較したフィールドをコレクションに追加する。 |
protected org.apache.commons.lang.builder.HashCodeBuilder |
appendSpecialHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder,
Collection<String> appendedFields)
実体固有のハッシュコード計算を行い、計算したフィールドをコレクションに追加する。 |
String |
getAddress()
住所を取得する。 |
UserAttribute |
getAttribute(String name)
属性を取得する。 |
Collection<UserAttribute> |
getAttributes()
属性のコレクションを取得する。 |
String |
getAttributeValue(String attributeName)
属性値を取得する。 |
String |
getDefaultAppProvisionType()
デフォルトのアプリケーション提供形態を返す。 |
String |
getDefaultUseType()
デフォルトの利用目的を返す。 |
String |
getEmailAddress()
メールアドレスを取得する。 |
String |
getGridId()
グリッドIDを返す。 |
URL |
getHomepageUrl()
ホームページURLを取得する。 |
String |
getOrganization()
所属組織を取得する。 |
String |
getPassword()
パスワードを取得する。 |
Calendar |
getPasswordChangedDate()
パスワード変更日を返す。 |
String |
getRepresentative()
代表者名を取得する。 |
Set<UserRole> |
getRoles()
このユーザのロールを返す。 |
String |
getUserId()
ユーザIDを取得する。 |
boolean |
isAbleToCallServices()
ableToCallServicesを返す。 |
boolean |
isAdminUser()
このユーザが管理者かどうかを返す。 |
boolean |
isVisible()
visibleを返す。 |
void |
removeAttribute(String attributeName)
属性を削除する。 |
void |
setAbleToCallServices(boolean ableToCallServices)
ableToCallServicesを設定する。 |
void |
setAddress(String address)
住所を設定する。 |
void |
setAttribute(UserAttribute attribute)
属性を設定する。 |
void |
setAttributes(Collection<UserAttribute> attributes)
属性のコレクションを設定する。 |
void |
setAttributeValue(String attributeName,
String attributeValue)
属性値を設定する。 |
void |
setCanCallServices(boolean ableToCallServices)
ableToCallServicesを設定する。 |
void |
setDefaultAppProvisionType(String defaultAppProvisionType)
デフォルトのアプリケーション提供形態を設定する。 |
void |
setDefaultUseType(String defaultUseType)
デフォルトの利用目的を設定する。 |
void |
setEmailAddress(String emailAddress)
メールアドレスを設定する。 |
void |
setGridId(String gridId)
グリッドIDを設定する。 |
void |
setHomepageUrl(URL homepageUrl)
ホームページURLを設定する。 |
void |
setOrganization(String organization)
所属組織を設定する。 |
void |
setPassword(String password)
パスワードを設定する。 |
void |
setPasswordChangedDate(Calendar passwordChangedDate)
パスワード変更日を設定する。 |
void |
setRepresentative(String representative)
代表者名を設定する。 |
void |
setRoles(Set<UserRole> roles)
このユーザのロールを設定する。 |
void |
setUserId(String userId)
ユーザIDを設定する。 |
void |
setVisible(boolean visible)
visibleを設定する。 |
void |
touchPasswordChangedDateTime()
パスワード更新日時を現在日時に設定する。 |
| クラス jp.go.nict.langrid.dao.entity.UpdateManagedEntity から継承されたメソッド |
|---|
equals, equalsIgnoreDates, getCreatedDateTime, getUpdatedDateTime, hashCode, setCreatedDateTime, setUpdatedDateTime, toString, touchUpdatedDateTime |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public User()
public User(String gridId,
String userId,
String password)
gridId - グリッドIDuserId - ユーザ名password - パスワード| メソッドの詳細 |
|---|
public boolean isAdminUser()
public String getGridId()
public void setGridId(String gridId)
gridId - グリッドIDpublic String getUserId()
public void setUserId(String userId)
userId - ユーザIDpublic String getPassword()
public void setPassword(String password)
password - パスワードpublic String getOrganization()
public void setOrganization(String organization)
organization - 所属組織public String getRepresentative()
public void setRepresentative(String representative)
representative - 代表者名public String getEmailAddress()
public void setEmailAddress(String emailAddress)
emailAddress - メールアドレスpublic URL getHomepageUrl()
public void setHomepageUrl(URL homepageUrl)
homepageUrl - ホームページURLpublic String getAddress()
public void setAddress(String address)
address - 住所public Calendar getPasswordChangedDate()
public void setPasswordChangedDate(Calendar passwordChangedDate)
passwordChangedDate - パスワード変更日public void touchPasswordChangedDateTime()
public boolean isVisible()
public void setVisible(boolean visible)
visible - visiblepublic boolean isAbleToCallServices()
public void setCanCallServices(boolean ableToCallServices)
ableToCallServices - ableToCallServicespublic void setAbleToCallServices(boolean ableToCallServices)
ableToCallServices - ableToCallServicespublic Collection<UserAttribute> getAttributes()
AttributedElement の記述:
AttributedElement<UserAttribute> 内の getAttributespublic void setAttributes(Collection<UserAttribute> attributes)
AttributedElement の記述:
AttributedElement<UserAttribute> 内の setAttributesattributes - 属性のコレクションpublic UserAttribute getAttribute(String name)
AttributedElement の記述:
AttributedElement<UserAttribute> 内の getAttributename - 属性名
public void setAttribute(UserAttribute attribute)
AttributedElement の記述:
AttributedElement<UserAttribute> 内の setAttributeattribute - 属性public String getAttributeValue(String attributeName)
AttributedElement の記述:
AttributedElement<UserAttribute> 内の getAttributeValueattributeName - 属性名
public void setAttributeValue(String attributeName,
String attributeValue)
AttributedElement の記述:
AttributedElement<UserAttribute> 内の setAttributeValueattributeName - 属性名attributeValue - 属性値public void removeAttribute(String attributeName)
AttributedElement の記述:
AttributedElement<UserAttribute> 内の removeAttributeattributeName - 属性名public Set<UserRole> getRoles()
public void setRoles(Set<UserRole> roles)
roles - ロールpublic String getDefaultUseType()
public void setDefaultUseType(String defaultUseType)
defaultUseType - デフォルトの利用目的public String getDefaultAppProvisionType()
public void setDefaultAppProvisionType(String defaultAppProvisionType)
defaultAppProvisionType - デフォルトのアプリケーション提供形態
protected org.apache.commons.lang.builder.EqualsBuilder appendSpecialEquals(org.apache.commons.lang.builder.EqualsBuilder builder,
Object value,
Collection<String> appendedFields,
boolean ignoreDates)
UpdateManagedEntity の記述:
UpdateManagedEntity 内の appendSpecialEqualsbuilder - ビルダvalue - 比較する値ignoreDates - 日付を無視するかどうか
protected org.apache.commons.lang.builder.HashCodeBuilder appendSpecialHashCode(org.apache.commons.lang.builder.HashCodeBuilder builder,
Collection<String> appendedFields)
UpdateManagedEntity の記述:
UpdateManagedEntity 内の appendSpecialHashCodebuilder - ビルダappendedFields - 比較したフィールドを追加するコレクション
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||