JavaTM 2 Platform
Standard Ed. 5.0

javax.management.openmbean
Ŭ·¡½º TabularType

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

public class TabularType
extends OpenType
implements Serializable

TabularType Ŭ·¡½º´Â TabularData Ä¡ÀÇ ÇüŸ¦ ±â¼úÇÏ´Â ÀνºÅϽº¸¦ °¡Áö´Â ¡¸°ø°³Çü¡¹Å¬·¡½ºÀÔ´Ï´Ù.

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

ÇÊµå °³¿ä
 
Ŭ·¡½º javax.management.openmbean. OpenType ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå
ALLOWED_CLASSNAMES
 
»ý¼ºÀÚ °³¿ä
TabularType (String  typeName, String  description, CompositeType  rowType, String [] indexNames)
          TabularType¸¦ ±¸ÃàÇØ, ÁöÁ¤µÈ ÆĶó¹ÌÅÍÀÇ Å¸´ç¼ºÀ» °Ë»çÇÕ´Ï´Ù.
 
¸Þ¼­µå °³¿ä
 boolean equals (Object  obj)
          ÁöÁ¤µÈ obj ÆĶó¹ÌÅÍ¿Í ÀÌ TabularTypeÀνºÅϽº°¡ µ¿ÀÏÇÑÁö ¾î¶²Áö¸¦ ºñ±³ÇÕ´Ï´Ù.
 List getIndexNames ()
          ÀÌ ÀνºÅϽºÀÇ »ý¼ºÀÚ À¸·Î ÁöÁ¤µÈ ¼ø¼­·Î Ç׸ñ¸íÀÇ º¯°æ ºÒ°¡´ÉÇÑ List¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 CompositeType getRowType ()
          ÀÌ TabularTypeÀνºÅϽº¿¡ ÀÇÇØ ±â¼úµÈ °Ñ(Ç¥) µ¥ÀÌÅÍÀÇ Çà ¿ä¼ÒÀÇ ÇüŸ¦ ¸®ÅÏÇÕ´Ï´Ù.
 int hashCode ()
          ÀÌ TabularTypeÀνºÅϽºÀÇ Çؽà Äڵ尪À» ¸®ÅÏÇÕ´Ï´Ù.
 boolean isValue (Object  obj)
          obj °¡ ÀÌ TabularTypeÀνºÅϽº·Î ±â¼ú °¡´ÉÇÑ °ªÀÏÁö ¾î¶³Áö¸¦ Å×½ºÆ®ÇÕ´Ï´Ù.
 String toString ()
          ÀÌ TabularTypeÀνºÅϽºÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» ¸®ÅÏÇÕ´Ï´Ù.
 
Ŭ·¡½º javax.management.openmbean. OpenType ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
getClassName, getDescription, getTypeName, isArray
 
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼­µå
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

»ý¼ºÀÚ »ó¼¼

TabularType

public TabularType(String  typeName,
                   String  description,
                   CompositeType  rowType,
                   String [] indexNames)
            throws OpenDataException 
TabularType¸¦ ±¸ÃàÇØ, ÁöÁ¤µÈ ÆĶó¹ÌÅÍÀÇ Å¸´ç¼ºÀ» °Ë»çÇÕ´Ï´Ù. °¢ ÆĶó¹ÌÅÍÀÇ Å¸´ç¼ºÀÇ Á¦¾àÀº ÀÌÇÏ·Î ¼³¸íÇÕ´Ï´Ù.

ÀÌ Ç¥ ÇüÀÌ °¡¸®Å°´Â °Ñ(Ç¥) µ¥ÀÌÅÍÀÇ Java Ŭ·¡½º¸í (getClassName ¸Þ¼­µå¿¡ ÀÇÇØ ¸®ÅÏµÈ Å¬·¡½º¸í)Àº, TabularData.class.getName()¿¡ ÀÇÇØ ¸®ÅÏµÈ Ä³¸¯ÅÍ ¶óÀÎÄ¡·Î ¼³Á¤µË´Ï´Ù.

ÆĶó¹ÌÅÍ:
typeName - ÀÌ ÀνºÅϽº°¡ °¡¸®Å°´Â Ç¥ Çü¿¡ ºÎ¿©ÇÏ´Â À̸§. null ¶Ç´Â °ø¹®ÀÚ¿­Àº »ç¿ëÇÒ ¼ö ¾ø´Ù
 
description - ÀÌ ÀνºÅϽº°¡ °¡¸®Å°´Â Ç¥ Çü¿¡ ´ëÇÑ Àΰ£ÀÌ ÀÐÀ» ¼ö ÀÖ´Â Çü½ÄÀÇ ¼³¸í. null ¶Ç´Â °ø¹®ÀÚ¿­Àº »ç¿ëÇÒ ¼ö ¾ø´Ù
 
rowType - ÀÌ Ç¥ ÇüÀνºÅϽº¿¡ ÀÇÇØ ±â¼úµÈ °Ñ(Ç¥) µ¥ÀÌÅÍÀÇ Çà ¿ä¼ÒÀÇ ÇüÅÂ. nullÀº »ç¿ëÇÒ ¼ö ¾ø´Ù
 
indexNames - Ç׸ñ¸í. ±× °ªÀº ÀÌ Ç¥ ÇüÀνºÅϽº¿¡ ÀÇÇØ ±â¼úµÈ °Ñ(Ç¥) µ¥ÀÌÅͳ»ÀÇ °³°³ÀÇ Çà ¿ä¼Ò¸¦ ÀÏÀÇ·Î ÁöÁ¤Çϱâ À§Çؼ­ »ç¿ëµÈ´Ù. null ¶Ç´Â °ø¹®ÀÚ¿­Àº »ç¿ëÇÒ ¼ö ¾ø´Ù. °¢ ¿ä¼Ò´Â rowType (null ¶Ç´Â °ø¹®ÀÚ¿­Àº ºÒ°¡)¿¡ Á¤ÀÇµÈ Ç׸ñ¸íÀÌ ¾Æ´Ï¸é ¾ÈµÈ´Ù. TabularData Ŭ·¡½ºÀÇ get ¹× remove ¸Þ¼­µå´Â indexNames ³»ÀÇ Ç׸ñ¸íÀÇ Â÷·Ê¸¦ ÀÌ¿ëÇØ, °ªÀÇ ¹è¿­ ÆĶó¹ÌÅÍ¿Í Ç׸ñÀÇ ¸ÅĪÀ» ½Ç½ÃÇÑ´Ù
 
¿¹¿Ü:
IllegalArgumentException - rowType°¡ nullÀÎ °æ¿ì, indexNames°¡ null ¶Ç´ÂÀ¸·ÎºÎÅÍ ¹è¿­ÀÇ °æ¿ì, indexNames ³»ÀÇ ¿ä¼Ò°¡ null ¶Ç´Â °ø¹®ÀÚ¿­ÀÇ °æ¿ì, ¶Ç´Â typeName ³ª description°¡ null ¶Ç´Â °ø¹®ÀÚ¿­ÀÇ °æ¿ì
 
OpenDataException - ¿ä¼ÒÀÇ indexNames °ªÀÌ rowType¿¡ Á¤ÀÇµÈ Ç׸ñ¸íÀÌ ¾Æ´Ñ °æ¿ì
¸Þ¼­µåÀÇ »ó¼¼

getRowType

public CompositeType  getRowType()
ÀÌ TabularTypeÀνºÅϽº¿¡ ÀÇÇØ ±â¼úµÈ °Ñ(Ç¥) µ¥ÀÌÅÍÀÇ Çà ¿ä¼ÒÀÇ ÇüŸ¦ ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
°¢ ÇàÀÇ ÇüÅÂ

getIndexNames

public List  getIndexNames()

ÀÌ ÀνºÅϽºÀÇ »ý¼ºÀÚ À¸·Î ÁöÁ¤µÈ ¼ø¼­·Î Ç׸ñ¸íÀÇ º¯°æ ºÒ°¡´ÉÇÑ List¸¦ ¸®ÅÏÇÕ´Ï´Ù. ÀÌ °ªÀº ÀÌ TabularTypeÀνºÅϽº¿¡ ÀÇÇØ ±â¼úµÈ °Ñ(Ç¥) µ¥ÀÌÅÍÀÇ °¢ Çà ¿ä¼Ò¸¦ ÀÏÀÇ·Î ÁöÁ¤Çϱâ À§Çؼ­ »ç¿ëµË´Ï´Ù.

¹Ýȯ°ª:
À妽º Ç׸ñÀÇ À̸§À» Ç¥ÇöÇÏ´Â String List

isValue

public boolean isValue(Object  obj)
obj °¡ ÀÌ TabularTypeÀνºÅϽº·Î ±â¼ú °¡´ÉÇÑ °ªÀÏÁö ¾î¶³Áö¸¦ Å×½ºÆ®ÇÕ´Ï´Ù.

obj°¡ null ¶Ç´Â javax.management.openmbean.TabularData ÀνºÅϽº°¡ ¾Æ´Ñ °æ¿ì, isValue´Â false¸¦ ¸®ÅÏÇÕ´Ï´Ù. obj°¡ javax.management.openmbean.TabularData ÀνºÅϽºÀÎ °æ¿ì, ±× Ç¥ Çü°ú ÀÌ Ç¥ ÇüÀνºÅϽº°¡ µ¿ÀÏÇÑÁö ¾î¶²Áö°¡ Å×½ºÆ®µÇ¾îequals °¡ true¸¦ µ¹·ÁÁÖ´Â °æ¿ì¿¡ ÇÑÇØ, isValue´Â true¸¦ ¸®ÅÏÇÕ´Ï´Ù.
 

Á¤ÀÇ:
Ŭ·¡½º OpenType ³»ÀÇ isValue
ÆĶó¹ÌÅÍ:
obj - Ä¡. ÀÌ °ªÀÇ °ø°³ÇüÀÌ, ÀÌ TabularTypeÀνºÅϽº¿Í µ¿ÀÏÇÑÁö ¾î¶²Áö°¡ Å×½ºÆ®µÈ´Ù
¹Ýȯ°ª:
obj°¡ ÀÌ Ç¥ ÇüÀÇ °ªÀÎ °æ¿ì´Â true, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false

equals

public boolean equals(Object  obj)
ÁöÁ¤µÈ obj ÆĶó¹ÌÅÍ¿Í ÀÌ TabularTypeÀνºÅϽº°¡ µ¿ÀÏÇÑÁö ¾î¶²Áö¸¦ ºñ±³ÇÕ´Ï´Ù.

´ÙÀ½ÀÇ ¸ðµç Á¶°ÇÀÌ Ã¤¿öÁö°í ÀÖ´Â °æ¿ì¿¡ ÇÑÇØ, 2°³ÀÇ TabularTypeÀνºÅϽº´Â µ¿ÀÏÇÏ´Ù°í ¸»ÇÒ ¼ö ÀÖ½À´Ï´Ù.


 

Á¤ÀÇ:
Ŭ·¡½º OpenType ³»ÀÇ equals
ÆĶó¹ÌÅÍ:
obj - ÀÌ TabularTypeÀνºÅϽº¿Í µ¿ÀÏÇÑÁö ¾î¶²Áö ºñ±³µÇ´Â °´Ã¼. obj°¡ nullÀÎ °æ¿ì, equals´Â false¸¦ µ¹·ÁÁØ´Ù
¹Ýȯ°ª:
ÁöÁ¤µÈ °´Ã¼°¡ ÀÌ TabularTypeÀνºÅϽº¿Í µ¿ÀÏÇÑ °æ¿ì´Â true
°ü·Ã Ç׸ñ:
Object.hashCode(), Hashtable

hashCode

public int hashCode()
ÀÌ TabularTypeÀνºÅϽºÀÇ Çؽà Äڵ尪À» ¸®ÅÏÇÕ´Ï´Ù.

TabularTypeÀνºÅϽºÀÇ Çؽà ÄÚµå´Â equals ºñ±³·Î »ç¿ëµÇ´Â ¸ðµç Á¤º¸ ¿ä¼Ò (À̸§, ÇàÀÇ ÇüÅ ¹× À妽º¸í)ÀÇ Çؽà ÄÚµåÀÇ ÇÕ°è°¡ µË´Ï´Ù. ÀÌ ¶§¹®¿¡ t1.equals(t2)´Â 2°³ÀÇ TabularTypeÀνºÅϽº t1 ¹× t2 t1.hashCode() ==t2.hashCode()°¡ Object.hashCode() ¸Þ¼­µåÀÇ ÀÏ¹Ý ±Ô¾à¿¡ µû¸£°í ÀÖ´Â °ÍÀ» ³ªÅ¸³À´Ï´Ù.

TabularTypeÀνºÅϽº´Â ºÒº¯À¸·Î ÀÌ ÀνºÅϽºÀÇ Çؽà ÄÚµå´Â hashCode ÃÖÃÊÀÇ È£Ãâ½Ã¿¡ 1ȸ ¸¸ °è»êµË´Ï´Ù. ±× ÈÄÀÇ È£Ãâ¿¡´Â °°Àº °ªÀÌ ¸®Åϵ˴ϴ٠.

Á¤ÀÇ:
Ŭ·¡½º OpenType ³»ÀÇ hashCode
¹Ýȯ°ª:
ÀÌ TabularTypeÀνºÅϽºÀÇ Çؽà Äڵ尪
°ü·Ã Ç׸ñ:
Object.equals(java.lang.Object), Hashtable

toString

public String  toString()
ÀÌ TabularTypeÀνºÅϽºÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» ¸®ÅÏÇÕ´Ï´Ù.

ij¸¯ÅÍ ¶óÀΠǥÇöÀº ÀÌ Å¬·¡½ºÀÇ À̸§ (javax.management.openmbean.TabularType), ÀÌ ÀνºÅϽºÀÇ Çü¸í, ÀÌ ÀνºÅϽºÀÇ ÇàÀÇ ÇüÅÂÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇö ¹× ÀÌ ÀνºÅϽºÀÇ À妽º¸íÀ¸·Î ±¸¼ºµË´Ï´Ù.

TabularTypeÀνºÅϽº´Â ºÒº¯À¸·Î ÀÌ ÀνºÅϽºÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀº, toString ÃÖÃÊÀÇ È£Ãâ½Ã¿¡ 1ȸ ¸¸ °è»êµË´Ï´Ù. ±× ÈÄÀÇ È£Ãâ¿¡´Â °°Àº °ªÀÌ ¸®Åϵ˴ϴ٠.

Á¤ÀÇ:
Ŭ·¡½º OpenType ³»ÀÇ toString
¹Ýȯ°ª:
ÀÌ TabularTypeÀνºÅϽºÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇö

JavaTM 2 Platform
Standard Ed. 5.0

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