|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectjp.go.nict.langrid.dao.entity.UpdateManagedEntity
jp.go.nict.langrid.dao.entity.Node
public class Node
ノード情報を格納するエンティティクラス。 updatedDate、registeredDateは利用者が管理する必要がある。
| コンストラクタの概要 | |
|---|---|
Node()
コンストラクタ。 |
|
Node(String gridId,
String nodeId)
コンストラクタ。 |
|
Node(String gridId,
String nodeId,
String nodeName,
URL url,
String ownerUserId,
boolean active)
コンストラクタ。 |
|
Node(String gridId,
String nodeId,
String nodeName,
URL url,
String ownerUserId,
boolean active,
String os,
String cpu,
String memory,
String specialNotes)
コンストラクタ。 |
|
| メソッドの概要 | |
|---|---|
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 |
getAccessToken()
アクセストークン(ミラーリング接続に使用)を返す。 |
NodeAttribute |
getAttribute(String name)
属性を取得する。 |
Collection<NodeAttribute> |
getAttributes()
属性のコレクションを取得する。 |
String |
getAttributeValue(String attributeName)
属性値を取得する。 |
String |
getCpu()
cpuを返す。 |
String |
getGridId()
グリッドIDを返す。 |
String |
getMemory()
memoryを返す。 |
String |
getNodeId()
ノードIDを返す。 |
String |
getNodeName()
ノード名を返す。 |
String |
getOs()
osを返す。 |
String |
getOwnerUserId()
所有者のユーザIDを返す。 |
String |
getOwnerUserOrganization()
|
String |
getSpecialNotes()
specialNotesを返す。 |
URL |
getUrl()
urlを返す。 |
boolean |
isActive()
アクティブかどうかを返す。 |
boolean |
isMirror()
このノードがミラーかどうかを返す。 |
void |
removeAttribute(String attributeName)
属性を削除する。 |
void |
setAccessToken(String accessToken)
アクセストークン(ミラーリング接続に使用)を設定する。 |
void |
setActive(boolean active)
アクティブかどうかを設定する。 |
void |
setAttribute(NodeAttribute attribute)
属性を設定する。 |
void |
setAttributes(Collection<NodeAttribute> attributes)
属性のコレクションを設定する。 |
void |
setAttributeValue(String attributeName,
String attributeValue)
属性値を設定する。 |
void |
setCpu(String cpu)
cpuを設定する。 |
void |
setGridId(String gridId)
グリッドIDを設定する。 |
void |
setMemory(String memory)
memoryを設定する。 |
void |
setMirror(boolean mirror)
このノードがミラーかどうかを設定する。 |
void |
setNodeId(String nodeId)
ノードIDを設定する。 |
void |
setNodeName(String nodeName)
ノード名を設定する。 |
void |
setOs(String os)
osを設定する。 |
void |
setOwnerUserId(String ownerUserId)
所有者のユーザIDを設定する。 |
void |
setSpecialNotes(String specialNotes)
specialNotesを設定する。 |
void |
setUrl(URL url)
urlを設定する。 |
| クラス 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 Node()
public Node(String gridId,
String nodeId)
gridId - グリッドIDnodeId - ノードID
public Node(String gridId,
String nodeId,
String nodeName,
URL url,
String ownerUserId,
boolean active)
gridId - グリッドIDnodeId - ノードIDnodeName - ノード名url - ノードのURLownerUserId - 所有者のユーザIDactive - アクティブかどうか
public Node(String gridId,
String nodeId,
String nodeName,
URL url,
String ownerUserId,
boolean active,
String os,
String cpu,
String memory,
String specialNotes)
gridId - グリッドIDnodeId - ノードIDnodeName - ノード名url - ノードのURLownerUserId - 所有者のユーザIDactive - アクティブかどうかos - OS情報cpu - CPU情報memory - メモリ情報specialNotes - 特記事項| メソッドの詳細 |
|---|
public String getGridId()
public void setGridId(String gridId)
gridId - グリッドIDpublic String getNodeId()
public void setNodeId(String nodeId)
nodeId - ノードIDpublic String getNodeName()
public void setNodeName(String nodeName)
nodeName - ノード名public URL getUrl()
public void setUrl(URL url)
url - urlpublic String getOwnerUserId()
public void setOwnerUserId(String ownerUserId)
ownerUserId - 所有者のユーザIDpublic boolean isActive()
public void setActive(boolean active)
active - アクティブかどうかpublic String getOs()
public void setOs(String os)
os - ospublic String getCpu()
public void setCpu(String cpu)
cpu - cpupublic String getMemory()
public void setMemory(String memory)
memory - memorypublic String getSpecialNotes()
public void setSpecialNotes(String specialNotes)
specialNotes - specialNotespublic boolean isMirror()
public void setMirror(boolean mirror)
mirror - このノードがミラーかどうかpublic String getAccessToken()
public void setAccessToken(String accessToken)
accessToken - アクセストークン(ミラーリング接続に使用)public Collection<NodeAttribute> getAttributes()
AttributedElement の記述:
AttributedElement<NodeAttribute> 内の getAttributespublic void setAttributes(Collection<NodeAttribute> attributes)
AttributedElement の記述:
AttributedElement<NodeAttribute> 内の setAttributesattributes - 属性のコレクションpublic NodeAttribute getAttribute(String name)
AttributedElement の記述:
AttributedElement<NodeAttribute> 内の getAttributename - 属性名
public void setAttribute(NodeAttribute attribute)
AttributedElement の記述:
AttributedElement<NodeAttribute> 内の setAttributeattribute - 属性public String getAttributeValue(String attributeName)
AttributedElement の記述:
AttributedElement<NodeAttribute> 内の getAttributeValueattributeName - 属性名
public void setAttributeValue(String attributeName,
String attributeValue)
AttributedElement の記述:
AttributedElement<NodeAttribute> 内の setAttributeValueattributeName - 属性名attributeValue - 属性値public void removeAttribute(String attributeName)
AttributedElement の記述:
AttributedElement<NodeAttribute> 内の removeAttributeattributeName - 属性名
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 - 比較したフィールドを追加するコレクション
public String getOwnerUserOrganization()
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||