类 JavaBeanDescriptor
- java.lang.Object
-
- com.alibaba.dubbo.common.beanutil.JavaBeanDescriptor
-
-
字段概要
字段 修饰符和类型 字段 说明 static int
TYPE_ARRAY
static int
TYPE_BEAN
static int
TYPE_CLASS
static int
TYPE_COLLECTION
static int
TYPE_ENUM
static int
TYPE_MAP
static int
TYPE_PRIMITIVE
-
构造器概要
构造器 构造器 说明 JavaBeanDescriptor()
JavaBeanDescriptor(String className, int type)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 boolean
containsProperty(Object propertyName)
String
getClassName()
String
getClassNameProperty()
String
getEnumPropertyName()
Object
getPrimitiveProperty()
Object
getProperty(Object propertyName)
int
getType()
boolean
isArrayType()
boolean
isBeanType()
boolean
isClassType()
boolean
isCollectionType()
boolean
isEnumType()
boolean
isMapType()
boolean
isPrimitiveType()
Iterator<Map.Entry<Object,Object>>
iterator()
int
propertySize()
void
setClassName(String className)
String
setClassNameProperty(String name)
String
setEnumNameProperty(String name)
Object
setPrimitiveProperty(Object primitiveValue)
Object
setProperty(Object propertyName, Object propertyValue)
void
setType(int type)
-
从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
-
-
-
字段详细资料
-
TYPE_CLASS
public static final int TYPE_CLASS
- 另请参阅:
- 常量字段值
-
TYPE_ENUM
public static final int TYPE_ENUM
- 另请参阅:
- 常量字段值
-
TYPE_COLLECTION
public static final int TYPE_COLLECTION
- 另请参阅:
- 常量字段值
-
TYPE_MAP
public static final int TYPE_MAP
- 另请参阅:
- 常量字段值
-
TYPE_ARRAY
public static final int TYPE_ARRAY
- 另请参阅:
- 常量字段值
-
TYPE_PRIMITIVE
public static final int TYPE_PRIMITIVE
-
TYPE_BEAN
public static final int TYPE_BEAN
- 另请参阅:
- 常量字段值
-
-
构造器详细资料
-
JavaBeanDescriptor
public JavaBeanDescriptor()
-
JavaBeanDescriptor
public JavaBeanDescriptor(String className, int type)
-
-
方法详细资料
-
isClassType
public boolean isClassType()
-
isEnumType
public boolean isEnumType()
-
isCollectionType
public boolean isCollectionType()
-
isMapType
public boolean isMapType()
-
isArrayType
public boolean isArrayType()
-
isPrimitiveType
public boolean isPrimitiveType()
-
isBeanType
public boolean isBeanType()
-
getType
public int getType()
-
setType
public void setType(int type)
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
getEnumPropertyName
public String getEnumPropertyName()
-
getClassNameProperty
public String getClassNameProperty()
-
getPrimitiveProperty
public Object getPrimitiveProperty()
-
containsProperty
public boolean containsProperty(Object propertyName)
-
propertySize
public int propertySize()
-
-