|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.beans.FeatureDescriptor | +--java.beans.PropertyDescriptor | +--java.beans.IndexedPropertyDescriptor
IndexPropertyDescriptor ´Â ¹è¿°ú °°Àº ±â´ÉÀ» °¡Áö´Â ÇÁ·ÎÆÛƼ¸¦ ±â¼úÇÔ°ú ÇÔ²², ¹è¿³»ÀÇ Æ¯Á¤ÀÇ ¿ä¼Ò¿¡ÀÇ ¾×¼¼½º¿¡ »ç¿ëÇÏ´Â À妽º ÷ºÎÀÇ µ¶ÇØ ¸Þ¼Òµå³ª ±âÀÔÇØ ¸Þ¼Òµå¸¦ °®Ãß°í ÀÖ½À´Ï´Ù.
À妽º ÷ºÎ ÇÁ·ÎÆÛƼ´Â À妽º°¡ ºÙÁö ¾ÊÀº ´Ü¼øÇÑ µ¶ÇØ ¹× ±âÀÔÇØ ¸Þ¼Òµåµµ Á¦°øÇÕ´Ï´Ù. À̰͵éÀº À妽º ºÙ¾î µ¶ÇØ ¸Þ¼Òµå·ÎºÎÅÍ µ¹·ÁÁÖ¾îÁø ¹è¿ÀÇ µ¶ÇØ ¹× ±âÀÔÀ» ½Ç½ÃÇÕ´Ï´Ù.
»ý¼ºÀÚÀÇ °³¿ä | |
IndexedPropertyDescriptor (String propertyName,
Class beanClass)
ÀÌ constructor Àº À妽º ÷ºÎÀÇ ¾×¼¼½º¿Í ¹è¿ ¾×¼¼½ºÀÇ ¾îµð¶óµµ, ¾×¼¼½º¿ë ¸Þ¼Òµå getFoo ¹× setFoo ¸¦ »ç¿ëÇØ, Ç¥ÁØ Java ±Ô¾à¿¡ ÁذÅÇÑ ÇÁ·ÎÆÛƼÀÇ IndexPropertyDescriptor ¸¦ ±¸ÃàÇÕ´Ï´Ù. |
|
IndexedPropertyDescriptor (String propertyName,
Class beanClass,
String getterName,
String setterName,
String indexedGetterName,
String indexedSetterName)
ÀÌ constructor Àº ´Ü¼øÇÑ ÇÁ·ÎÆÛƼ¸í°ú ÇÁ·ÎÆÛƼÀÇ µ¶ÇØ ¹× ±âÀÔÇØ ¿ë¹«ÀÇ ¸Þ¼Òµå¸í (À妽º ÷ºÎ ¸Þ¼Òµå¿Í ºñÀ妽º ÷ºÎ ¸Þ¼ÒµåÀÇ ¾çÂÊ ¸ðµÎ)À» Àμö¿¡ ÃëÇÕ´Ï´Ù. |
|
IndexedPropertyDescriptor (String propertyName,
Method getter,
Method setter,
Method indexedGetter,
Method indexedSetter)
ÀÌ constructor Àº ´Ü¼øÇÑ ÇÁ·ÎÆÛƼ¸í°ú ÇÁ·ÎÆÛƼÀÇ read ¹× ±âÀÔÇØ ¿ë¹«ÀÇ Method ¿ÀºêÁ§Æ®¸¦ Àμö¿¡ ÃëÇÕ´Ï´Ù. |
¸Þ¼ÒµåÀÇ °³¿ä | |
boolean |
equals (Object obj)
PropertyDescriptor ¿Í ÁöÁ¤µÈ ¿ÀºêÁ§Æ®¸¦ Á¶ÇÕÇÕ´Ï´Ù. |
Class |
getIndexedPropertyType ()
À妽º ÷ºÎ ÇÁ·ÎÆÛƼÀÇ ÇüŸ¦ ³ªÅ¸³»´Â Class ¿ÀºêÁ§Æ®¸¦ ÃëµæÇÕ´Ï´Ù. |
Method |
getIndexedReadMethod ()
À妽º ÷ºÎ ÇÁ·ÎÆÛƼġÀÇ Àо¿¡ »ç¿ëÇÏ´Â ¸Þ¼Òµå¸¦ ÃëµæÇÕ´Ï´Ù. |
Method |
getIndexedWriteMethod ()
À妽º ÷ºÎ ÇÁ·ÎÆÛƼġÀÇ ±âÀÔÇØ¿¡ »ç¿ëÇÏ´Â ¸Þ¼Òµå¸¦ ÃëµæÇÕ´Ï´Ù. |
void |
setIndexedReadMethod (Method getter)
À妽º ÷ºÎ ÇÁ·ÎÆÛƼġÀÇ Àо¿¡ »ç¿ëÇÏ´Â ¸Þ¼Òµå¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
void |
setIndexedWriteMethod (Method setter)
À妽º ÷ºÎ ÇÁ·ÎÆÛƼġÀÇ ±âÀÔÇØ¿¡ »ç¿ëÇÏ´Â ¸Þ¼Òµå¸¦ ¼³Á¤ÇÕ´Ï´Ù. |
Ŭ·¡½º java.beans. PropertyDescriptor ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
getPropertyEditorClass , getPropertyType , getReadMethod , getWriteMethod , isBound , isConstrained , setBound , setConstrained , setPropertyEditorClass , setReadMethod , setWriteMethod |
Ŭ·¡½º java.beans. FeatureDescriptor ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
attributeNames , getDisplayName , getName , getShortDescription , getValue , isExpert , isHidden , isPreferred , setDisplayName , setExpert , setHidden , setName , setPreferred , setShortDescription , setValue |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
»ý¼ºÀÚÀÇ »ó¼¼ |
public IndexedPropertyDescriptor(String propertyName, Class beanClass) throws IntrospectionException
Àμö¸íÀÌ ¡¸fred¡¹ÀÇ °æ¿ì, À妽º ºÙ¾î µ¶ÇØ ¸Þ¼Òµå ¡¸getFred¡¹, ºñÀ妽º ÷ºÎ (¹è¿) µ¶ÇØ ¸Þ¼Òµå ¡¸getFred¡¹, À妽º ºÙ¾î ±âÀÔ ¸Þ¼Òµå ¡¸setFred¡¹, ºñÀ妽º ºÙ¾î ±âÀÔ ¸Þ¼Òµå ¡¸setFred¡¹°¡ Á¸ÀçÇÏ°Ô µË´Ï´Ù.
propertyName
- ÇÁ·ÎÆÛƼÀÇ ÇÁ·Î±×·¥¸íbeanClass
- Ÿ°Ù Bean ÀÇ Class ¿ÀºêÁ§Æ®
IntrospectionException
- ÀÎÆ®·Î½ºÆäÅ©¼ÇÁß¿¡ ¿¹¿Ü°¡ ¹ß»ýÇßÀ» °æ¿ìpublic IndexedPropertyDescriptor(String propertyName, Class beanClass, String getterName, String setterName, String indexedGetterName, String indexedSetterName) throws IntrospectionException
propertyName
- ÇÁ·ÎÆÛƼÀÇ ÇÁ·Î±×·¥¸íbeanClass
- Ÿ°Ù Bean ÀÇ Class ¿ÀºêÁ§Æ®getterName
- ÇÁ·ÎÆÛƼġ¸¦ ¹è¿·Î¼ Àо ¶§ »ç¿ëÇÏ´Â ¸Þ¼Òµå¸í. ÇÁ·ÎÆÛƼ°¡ ±âÀÔÇØ Àü¿ëÀÇ °æ¿ì´Â null, ±× ÀÌ¿ÜÀÇ °æ¿ì´Â ¹Ýµå½Ã À妽º ÷ºÎsetterName
- ÇÁ·ÎÆÛƼġ¸¦ ¹è¿·Î¼ ±âÀÔÇÒ ¶§ »ç¿ëÇÏ´Â ¸Þ¼Òµå¸í. ÇÁ·ÎÆÛƼ°¡ Àо Àü¿ëÀÇ °æ¿ì´Â null, ±× ÀÌ¿ÜÀÇ °æ¿ì´Â ¹Ýµå½Ã À妽º ÷ºÎindexedGetterName
- À妽º ÷ºÎ ÇÁ·ÎÆÛƼġÀÇ Àо¿¡ »ç¿ëÇÏ´Â ¸Þ¼Òµå¸í. ÇÁ·ÎÆÛƼ°¡ ±âÀÔÇØ Àü¿ëÀÇ °æ¿ì´Â nullindexedSetterName
- À妽º ÷ºÎ ÇÁ·ÎÆÛƼġÀÇ ±âÀÔÇØ¿¡ »ç¿ëÇÏ´Â ¸Þ¼Òµå¸í. ÇÁ·ÎÆÛƼ°¡ Àо Àü¿ëÀÇ °æ¿ì´Â null
IntrospectionException
- ÀÎÆ®·Î½ºÆäÅ©¼ÇÁß¿¡ ¿¹¿Ü°¡ ¹ß»ýÇßÀ» °æ¿ìpublic IndexedPropertyDescriptor(String propertyName, Method getter, Method setter, Method indexedGetter, Method indexedSetter) throws IntrospectionException
propertyName
- ÇÁ·ÎÆÛƼÀÇ ÇÁ·Î±×·¥¸ígetter
- ÇÁ·ÎÆÛƼġ¸¦ ¹è¿·Î¼ Àо ¶§ »ç¿ëÇÏ´Â ¸Þ¼Òµå. ÇÁ·ÎÆÛƼ°¡ ±âÀÔÇØ Àü¿ëÀÇ °æ¿ì´Â null, ±× ÀÌ¿ÜÀÇ °æ¿ì´Â ¹Ýµå½Ã À妽º ÷ºÎsetter
- ÇÁ·ÎÆÛƼġ¸¦ ¹è¿·Î¼ ±âÀÔÇÒ ¶§ »ç¿ëÇÏ´Â ¸Þ¼Òµå. ÇÁ·ÎÆÛƼ°¡ Àо Àü¿ëÀÇ °æ¿ì´Â null, ±× ÀÌ¿ÜÀÇ °æ¿ì´Â ¹Ýµå½Ã À妽º ÷ºÎindexedGetter
- ÇÁ·ÎÆÛƼġÀÇ Àо¿¡ »ç¿ëÇÏ´Â ¸Þ¼Òµå. ÇÁ·ÎÆÛƼ°¡ ±âÀÔÇØ Àü¿ëÀÇ °æ¿ì´Â nullindexedSetter
- ÇÁ·ÎÆÛƼġÀÇ ±âÀÔÇØ¿¡ »ç¿ëÇÏ´Â ¸Þ¼Òµå. ÇÁ·ÎÆÛƼ°¡ Àо Àü¿ëÀÇ °æ¿ì´Â null
IntrospectionException
- ÀÎÆ®·Î½ºÆäÅ©¼ÇÁß¿¡ ¿¹¿Ü°¡ ¹ß»ýÇßÀ» °æ¿ì¸Þ¼ÒµåÀÇ »ó¼¼ |
public Method getIndexedReadMethod()
public void setIndexedReadMethod(Method getter) throws IntrospectionException
getter
- »õ·Î¿î À妽º ÷ºÎ get ¸Þ¼Òµå
IntrospectionException
public Method getIndexedWriteMethod()
public void setIndexedWriteMethod(Method setter) throws IntrospectionException
IntrospectionException
public Class getIndexedPropertyType()
public boolean equals(Object obj)
PropertyDescriptor
¿Í ÁöÁ¤µÈ ¿ÀºêÁ§Æ®¸¦ Á¶ÇÕÇÕ´Ï´Ù. ¾çÀÚ°¡ µî°¡ÀÎ °æ¿ì, true ¸¦ µ¹·ÁÁÝ´Ï´Ù. Àо, ±âÀÔÇØ, ÇÁ·ÎÆÛƼÀÇ ÇüÅÂ, ÇÁ·ÎÆÛƼ ¿¡µðÅÍ, Ç÷¡±×°¡ µ¿ÀÏÇϸé, 2 °³ÀÇ PropertyDescriptor
´Â µî°¡ÀÔ´Ï´Ù.
PropertyDescriptor
³»ÀÇ equals
obj
- ºñ±³ ´ë»óÀÇ ÂüÁ¶ ¿ÀºêÁ§Æ®
true
, ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
Object.hashCode()
,
Hashtable
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.