|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjavax.management.openmbean.OpenType
javax.management.openmbean.TabularType
public class TabularType
TabularType
Ŭ·¡½º´Â
Ä¡ÀÇ ÇüŸ¦ ±â¼úÇÏ´Â ÀνºÅϽº¸¦ °¡Áö´Â ¡¸°ø°³Çü¡¹Å¬·¡½ºÀÔ´Ï´Ù.
TabularData
ÇÊµå °³¿ä |
---|
Ŭ·¡½º 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 |
»ý¼ºÀÚ »ó¼¼ |
---|
public TabularType(String typeName, String description, CompositeType rowType, String [] indexNames) throws OpenDataException
TabularType
¸¦
±¸ÃàÇØ, ÁöÁ¤µÈ ÆÄ¶ó¹ÌÅÍÀÇ Å¸´ç¼ºÀ» °Ë»çÇÕ´Ï´Ù. °¢ ÆÄ¶ó¹ÌÅÍÀÇ Å¸´ç¼ºÀÇ Á¦¾àÀº, ÀÌÇÏ·Î ¼³¸íÇÕ´Ï´Ù.
ÀÌ Ç¥ ÇüÀÌ °¡¸®Å°´Â °Ñ(Ç¥) µ¥ÀÌÅÍÄ¡ÀÇ Java Ŭ·¡½º¸í (getClassName
¸Þ¼µå¿¡
ÇØ µ¹·ÁÁÖ°íÁö´Â Ŭ·¡½º¸í)Àº,TabularData.class.getName()
¿¡
ÇØ µ¹·ÁÁÖ°íÁö´Â ij¸¯ÅÍ ¶óÀÎÄ¡·Î ¼³Á¤µË´Ï´Ù.
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 ¿¡ Á¤ÀÇµÈ Ç׸ñ¸íÀÌ ¾Æ´Ñ °æ¿ì¸Þ¼µåÀÇ »ó¼¼ |
---|
public CompositeType getRowType()
TabularType
ÀνºÅϽº¿¡
ÇØ ±â¼úµÈ °Ñ(Ç¥) µ¥ÀÌÅÍÄ¡ÀÇ Çà ¿ä¼ÒÀÇ ÇüŸ¦ µ¹·ÁÁÝ´Ï´Ù.
public List getIndexNames()
ÀÌ ÀνºÅϽºÀÇ »ý¼ºÀÚ
À¸·Î ÁöÁ¤µÈ ¼ø¼·Î Ç׸ñ¸íÀÇ º¯°æ ºÒ°¡´ÉÇÑ List¸¦
µ¹·ÁÁÝ´Ï´Ù. ÀÌ °ªÀº, ÀÌ TabularType
ÀνºÅϽº¿¡
ÇØ ±â¼úµÈ °Ñ(Ç¥) µ¥ÀÌÅÍÄ¡ÀÇ °¢ Çà ¿ä¼Ò¸¦ ÀÏÀÇ·Î ÁöÁ¤Çϱâ À§Çؼ »ç¿ëµË´Ï´Ù.
public boolean isValue(Object obj)
TabularType
ÀνºÅϽº·Î ±â¼ú °¡´ÉÇÑ °ªÀÏÁö ¾î¶³Áö¸¦ Å×½ºÆ®ÇÕ´Ï´Ù.
obj °¡ null ¶Ç´Â javax.management.openmbean.TabularData
ÀνºÅϽº°¡ ¾Æ´Ñ °æ¿ì,isValue
´Â
false
¸¦
µ¹·ÁÁÝ´Ï´Ù. obj °¡ javax.management.openmbean.TabularData
ÀνºÅϽºÀÎ °æ¿ì, ±× Ç¥ Çü°ú ÀÌ Ç¥ ÇüÀνºÅϽº°¡ µ¿ÀÏÇÑÁö ¾î¶²Áö°¡ Å×½ºÆ®µÇ¾î
°¡ equals
true
¸¦
µ¹·ÁÁÖ´Â °æ¿ì¿¡ ÇÑÇØ,isValue
´Â
true
¸¦
µ¹·ÁÁÝ´Ï´Ù.
OpenType
³»ÀÇ isValue
obj
- Ä¡. ÀÌ °ªÀÇ °ø°³ÇüÀÌ, ÀÌ TabularType
ÀνºÅϽº¿Í µ¿ÀÏÇÑÁö ¾î¶²Áö°¡ Å×½ºÆ®µÈ´Ù
true
, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
public boolean equals(Object obj)
obj
ÆÄ¶ó¹ÌÅÍ¿Í ÀÌ TabularType
ÀνºÅϽº°¡ µ¿ÀÏÇÑÁö ¾î¶²Áö¸¦ ºñ±³ÇÕ´Ï´Ù.
´ÙÀ½ÀÇ ¸ðµç Á¶°ÇÀÌ Ã¤¿öÁö°í ÀÖ´Â °æ¿ì¿¡ ÇÑÇØ, 2 °³ÀÇ TabularType
ÀνºÅϽº´Â µ¿ÀÏÇÏ´Ù°í ¸»ÇÒ ¼ö ÀÖ½À´Ï´Ù.
OpenType
³»ÀÇ equals
obj
- ÀÌ TabularType
ÀνºÅϽº¿Í µ¿ÀÏÇÑÁö ¾î¶²Áö ºñ±³µÇ´Â ¿ÀºêÁ§Æ®. obj °¡ null
°æ¿ì,equals
´Â
false
¸¦
µ¹·ÁÁØ´Ù
TabularType
ÀνºÅϽº¿Í µ¿ÀÏÇÑ °æ¿ì´Â true
Object.hashCode()
,
Hashtable
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
public String toString()
TabularType
ÀνºÅϽºÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀ» µ¹·ÁÁÝ´Ï´Ù.
ij¸¯ÅÍ ¶óÀΠǥÇöÀº, ÀÌ Å¬·¡½ºÀÇ À̸§ (javax.management.openmbean.TabularType
), ÀÌ ÀνºÅϽºÀÇ Çü¸í, ÀÌ ÀνºÅϽºÀÇ ÇàÀÇ ÇüÅÂÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇö ¹× ÀÌ ÀνºÅϽºÀÇ À妽º¸íÀ¸·Î ±¸¼ºµË´Ï´Ù.
TabularType
ÀνºÅϽº´Â ºÒº¯À¸·Î ÀÌ ÀνºÅϽºÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇöÀº,toString
ÃÖÃÊÀÇ È£Ãâ½Ã¿¡ 1 ȸ¸¸ °è»êµË´Ï´Ù. ±× ÈÄÀÇ È£Ãâ¿¡´Â
°°Àº °ªÀÌ µ¹·ÁÁÖ°íÁý´Ï´Ù.
OpenType
³»ÀÇ toString
TabularType
ÀνºÅϽºÀÇ Ä³¸¯ÅÍ ¶óÀΠǥÇö
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.