Class JavaBeanDescriptor

java.lang.Object
org.apache.dubbo.common.beanutil.JavaBeanDescriptor
All Implemented Interfaces:
Serializable, Iterable<Map.Entry<Object,Object>>

public final class JavaBeanDescriptor extends Object implements Serializable, Iterable<Map.Entry<Object,Object>>
See Also:
  • Field Details

  • Constructor Details

    • JavaBeanDescriptor

      public JavaBeanDescriptor()
    • JavaBeanDescriptor

      public JavaBeanDescriptor(String className, int type)
  • Method Details

    • 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)
    • setProperty

      public Object setProperty(Object propertyName, Object propertyValue)
    • setEnumNameProperty

      public String setEnumNameProperty(String name)
    • getEnumPropertyName

      public String getEnumPropertyName()
    • setClassNameProperty

      public String setClassNameProperty(String name)
    • getClassNameProperty

      public String getClassNameProperty()
    • setPrimitiveProperty

      public Object setPrimitiveProperty(Object primitiveValue)
    • getPrimitiveProperty

      public Object getPrimitiveProperty()
    • getProperty

      public Object getProperty(Object propertyName)
    • containsProperty

      public boolean containsProperty(Object propertyName)
    • iterator

      public Iterator<Map.Entry<Object,Object>> iterator()
      Specified by:
      iterator in interface Iterable<Map.Entry<Object,Object>>
    • propertySize

      public int propertySize()