JavaTM 2 Platform
Standard Ed. 5.0

javax.management
Ŭ·¡½º Attribute

java.lang.Object 
  »óÀ§¸¦ È®Àå javax.management.Attribute
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
Serializable

public class Attribute
extends Object
implements Serializable

À̸§°ú °ªÀ» °ü·ÃÁþ´Â °ÍÀ¸·Î MBean ¼Ó¼ºÀ» Ç¥ÇöÇÕ´Ï´Ù. MBean ¼­¹ö¿Í ±× ¿ÜÀÇ °´Ã¼´Â ÀÌ Å¬·¡½º¸¦ »ç¿ëÇØ, ¼Ó¼ºÀÇ °ªÀ» Ãëµæ ¹× ¼³Á¤ÇÕ´Ï´Ù.

µµÀÔµÈ ¹öÀü :
1.5
°ü·Ã Ç׸ñ:
Á÷·ÄÈ­ µÈ Çü½Ä

»ý¼ºÀÚ °³¿ä
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
 

»ý¼ºÀÚ »ó¼¼

Attribute

public Attribute(String  name,
                 Object  value)
ÁöÁ¤µÈ ¼Ó¼º¸í°ú ¼Ó¼º°ªÀ» °ü·ÃÁþ´Â Attribute °´Ã¼¸¦ ±¸ÃàÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
name - ÀÛ¼ºÇÏ´Â ¼Ó¼ºÀÇ À̸§À» Æ÷ÇÔÇÑ String. null ÀÌ¿Ü
value - ¼Ó¼º¿¡ ÇÒ´çÇÒ ¼ö ÀÖ´Â Object. ¼Ó¼º°ú °°Àº ÇüÅÂÀÇ °´Ã¼
¸Þ¼­µåÀÇ »ó¼¼

getName

public String  getName()
¼Ó¼ºÀÇ À̸§À» Æ÷ÇÔÇÑ String¸¦ ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
¼Ó¼ºÀÇ À̸§

getValue

public Object  getValue()
ÀÌ ¼Ó¼ºÀÇ °ªÀ» ³ªÅ¸³»´Â Object¸¦ ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
¼Ó¼ºÀÇ °ª

equals

public boolean equals(Object  object)
ÇöÀçÀÇ Attribute Object¿Í ´Ù¸¥ Attribute Object¸¦ ºñ±³ÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º Object ³»ÀÇ equals
ÆĶó¹ÌÅÍ:
object - ÇöÀçÀÇ Attribute¿Í ºñ±³ÇÏ´Â Attribute
¹Ýȯ°ª:
2°³ÀÇ Attribute °´Ã¼°¡ µî°¡ÀÇ °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
°ü·Ã Ç׸ñ:
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 µµ ÂüÁ¶ÇϽʽÿÀ.