Class JavaBeanProperty

java.lang.Object
nl.talsmasoftware.umldoclet.uml.util.JavaBeanProperty

public class JavaBeanProperty extends Object
Class representing a property of a Java Bean.

Each java bean contains properties that have getter and setter methods allowing access to a single field.

Also see: JavaBeans definition on Wikipedia or the Official JavaBeans 1.01 Specification.

  • Method Details

    • detectFrom

      public static Collection<JavaBeanProperty> detectFrom(Type type)
      This method detects the JavaBean properties from the uml Type model of a Java class.

      The following will be detected as JavaBean property:

      • A public Field
      • A public getter Method (including isXyz() boolean getters)
      • A public setter Method
      Parameters:
      type - The uml model of a java type.
      Returns:
      The detected JavaBean poperties in that type.