JavaTM 2 Platform
Standard Ed. 5.0

javax.management.relation
Ŭ·¡½º Role

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

public class Role
extends Object
implements Serializable

·Ñ¸í, ObjectName ·Î ÂüÁ¶µÇ´Â MBean¸¦ Æ÷ÇÔÇØ, ·ÑÀ» Ç¥ÇöÇÕ´Ï´Ù. ¾×¼¼½º¸¦ ±ÕÀÏÈ­Çϱâ À§ÇØ, ·ÑÄ¡´Â Ç×»ó ObjectName ·ÎºÎÅÍ ¿Ï¼ºµÇ´Â ArrayList Ä÷º¼ÇÀ¸·Î¼­ Ç¥ÇöµË´Ï´Ù.

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

»ý¼ºÀÚ °³¿ä
Role (String  theRoleName, List  theRoleValue)
          »õ·Î¿î Role °´Ã¼¸¦ ÀÛ¼ºÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 Object clone ()
          ·Ñ °´Ã¼¸¦ º¹Á¦ÇÕ´Ï´Ù.
 String getRoleName ()
          ·Ñ¸íÀ» ÃëµæÇÕ´Ï´Ù.
 List getRoleValue ()
          ·ÑÄ¡¸¦ ÃëµæÇÕ´Ï´Ù.
static String roleValueToString (List  theRoleValue)
          ÁöÁ¤µÈ ·ÑÄ¡ÀÇ Ä³¸¯ÅÍ ¶óÀÎÀ» ¸®ÅÏÇÕ´Ï´Ù.
 void setRoleName (String  theRoleName)
          ·Ñ¸íÀ» ¼³Á¤ÇÕ´Ï´Ù.
 void setRoleValue (List  theRoleValue)
          ·ÑÄ¡¸¦ ¼³Á¤ÇÕ´Ï´Ù.
 String toString ()
          ·Ñ¿¡ ´ëÇØ ¼³¸íÇϴ ij¸¯ÅÍ ¶óÀÎÀ» ¸®ÅÏÇÕ´Ï´Ù.
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

»ý¼ºÀÚ »ó¼¼

Role

public Role(String  theRoleName,
            List  theRoleValue)
     throws IllegalArgumentException 

»õ·Î¿î Role °´Ã¼¸¦ ÀÛ¼ºÇÕ´Ï´Ù. ·ÑÄ¡¿¡ Æ÷ÇԵǴ ObjectName°¡ MBean ¼­¹ö³»¿¡ Á¸ÀçÇÒÁö ¾î¶³ÁöÀÇ Ã¼Å©´Â ÇàÇØÁöÁö ¾Ê½À´Ï´Ù. ÀÌ Ã¼Å©´Â ·ÑÀÌ °ü°è³»·Î ¼³Á¤µÇ¾úÀ» ¶§ ÇàÇØÁý´Ï´Ù.

ÆĶó¹ÌÅÍ:
theRoleName - ·Ñ¸í
theRoleValue - ·ÑÄ¡ (ObjectName °´Ã¼ÀÇ List)
¿¹¿Ü:
IllegalArgumentException - ÆĶó¹ÌÅÍ°¡ nullÀÎ °æ¿ì
¸Þ¼­µåÀÇ »ó¼¼

getRoleName

public String  getRoleName()
·Ñ¸íÀ» ÃëµæÇÕ´Ï´Ù.

¹Ýȯ°ª:
·Ñ¸í
°ü·Ã Ç׸ñ:
setRoleName(java.lang.String)

getRoleValue

public List  getRoleValue()
·ÑÄ¡¸¦ ÃëµæÇÕ´Ï´Ù.

¹Ýȯ°ª:
ÂüÁ¶ ´ë»óÀÇ MBean ObjectName °´Ã¼·ÎºÎÅÍ ¿Ï¼ºµÇ´Â ArrayList
°ü·Ã Ç׸ñ:
setRoleValue(java.util.List)

setRoleName

public void setRoleName(String  theRoleName)
                 throws IllegalArgumentException 
·Ñ¸íÀ» ¼³Á¤ÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
theRoleName - ·Ñ¸í
¿¹¿Ü:
IllegalArgumentException - ÆĶó¹ÌÅÍ°¡ nullÀÎ °æ¿ì
°ü·Ã Ç׸ñ:
getRoleName()

setRoleValue

public void setRoleValue(List  theRoleValue)
                  throws IllegalArgumentException 
·ÑÄ¡¸¦ ¼³Á¤ÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
theRoleValue - ÂüÁ¶ ´ë»óÀÇ MBean ObjectName °´Ã¼ÀÇ ¸®½ºÆ®
¿¹¿Ü:
IllegalArgumentException - ÆĶó¹ÌÅÍ°¡ nullÀÎ °æ¿ì
°ü·Ã Ç׸ñ:
getRoleValue()

toString

public String  toString()
·Ñ¿¡ ´ëÇØ ¼³¸íÇϴ ij¸¯ÅÍ ¶óÀÎÀ» ¸®ÅÏÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º Object ³»ÀÇ toString
¹Ýȯ°ª:
·ÑÀÇ ¼³¸í

clone

public Object  clone()
·Ñ °´Ã¼¸¦ º¹Á¦ÇÕ´Ï´Ù.

¿À¹ö¶óÀ̵å(override):
Ŭ·¡½º Object ³»ÀÇ clone
¹Ýȯ°ª:
ÇöÀçÀÇ Role °´Ã¼ÀÇ µ¶¸³ÇÑ Ä«ÇÇ°¡ µÇ¾î ÀÖ´Â Role
°ü·Ã Ç׸ñ:
Cloneable

roleValueToString

public static String  roleValueToString(List  theRoleValue)
                                throws IllegalArgumentException 
ÁöÁ¤µÈ ·ÑÄ¡ÀÇ Ä³¸¯ÅÍ ¶óÀÎÀ» ¸®ÅÏÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
theRoleValue - ObjectName °´Ã¼ÀÇ ¸®½ºÆ®
¹Ýȯ°ª:
°³Çà (\n)À¸·Î ´Ü¶ôÁö¾îÁø ObjectName ·ÎºÎÅÍ ¿Ï¼ºµÇ´Â String
¿¹¿Ü:
IllegalArgumentException - ÆĶó¹ÌÅÍ°¡ nullÀÎ °æ¿ì

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.