|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.management.Attribute
public class Attribute
名前と値を関連付けることにより、MBean 属性を表現します。MBean サーバとその他のオブジェクトは、このクラスを使って、属性の値を取得および設定します。
| コンストラクタの概要 | |
|---|---|
Attribute(String name,
Object value)
指定された属性名と属性値を関連付ける Attribute オブジェクトを構築します。 |
|
| メソッドの概要 | |
|---|---|
boolean |
equals(Object object)
現在の Attribute Object と別の Attribute Object を比較します。 |
String |
getName()
属性の名前を含む String を返します。 |
Object |
getValue()
この属性の値を表す Object を返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public Attribute(String name,
Object value)
name - 作成する属性の名前を含む String。null 以外value - 属性に割り当てられる Object。属性と同じ型のオブジェクト| メソッドの詳細 |
|---|
public String getName()
public Object getValue()
public boolean equals(Object object)
Object 内の equalsobject - 現在の Attribute と比較する Attribute
Object.hashCode(),
Hashtable
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。