public class PojoProperties extends Object
property change events on change. This factory is
identical to BeanProperties except for this fact.| Constructor and Description |
|---|
PojoProperties() |
| Modifier and Type | Method and Description |
|---|---|
static IBeanListProperty |
list(Class beanClass,
String propertyName)
Returns a list property for the given property name of the given bean
class.
|
static IBeanListProperty |
list(Class beanClass,
String propertyName,
Class elementType)
Returns a list property for the given property name of the given bean
class.
|
static IBeanListProperty |
list(String propertyName)
Returns a list property for the given property name of an arbitrary bean
class.
|
static IBeanListProperty |
list(String propertyName,
Class elementType)
Returns a list property for the given property name of an arbitrary bean
class.
|
static IBeanMapProperty |
map(Class beanClass,
String propertyName)
Returns a map property for the given property name of the given bean
class.
|
static IBeanMapProperty |
map(Class beanClass,
String propertyName,
Class keyType,
Class valueType)
Returns a map property for the given property name of the given bean
class.
|
static IBeanMapProperty |
map(String propertyName)
Returns a map property for the given property name of an arbitrary bean
class.
|
static IBeanMapProperty |
map(String propertyName,
Class keyType,
Class valueType)
Returns a map property for the given property name of an arbitrary bean
class.
|
static IBeanSetProperty |
set(Class beanClass,
String propertyName)
Returns a set property for the given property name of the given bean
class.
|
static IBeanSetProperty |
set(Class beanClass,
String propertyName,
Class elementType)
Returns a set property for the given property name of the given bean
class.
|
static IBeanSetProperty |
set(String propertyName)
Returns a set property for the given property name of an arbitrary bean
class.
|
static IBeanSetProperty |
set(String propertyName,
Class elementType)
Returns a set property for the given property name of an arbitrary bean
class.
|
static IBeanValueProperty |
value(Class beanClass,
String propertyName)
Returns a value property for the given property name of the given bean
class.
|
static IBeanValueProperty |
value(Class beanClass,
String propertyName,
Class valueType)
Returns a value property for the given property name of the given bean
class.
|
static IBeanValueProperty |
value(String propertyName)
Returns a value property for the given property name of an arbitrary bean
class.
|
static IBeanValueProperty |
value(String propertyName,
Class valueType)
Returns a value property for the given property name of an arbitrary bean
class.
|
static IBeanValueProperty[] |
values(Class beanClass,
String[] propertyNames)
Returns a value property array for the given property names of the given
bean class.
|
static IBeanValueProperty[] |
values(String[] propertyNames)
Returns a value property array for the given property names of an
arbitrary bean class.
|
public static IBeanValueProperty value(String propertyName)
propertyName - the property name. May be nested e.g. "parent.name"public static IBeanValueProperty value(String propertyName, Class valueType)
propertyName - the property name. May be nested e.g. "parent.name"valueType - the value type of the returned value propertypublic static IBeanValueProperty value(Class beanClass, String propertyName)
beanClass - the bean classpropertyName - the property name. May be nested e.g. "parent.name"public static IBeanValueProperty value(Class beanClass, String propertyName, Class valueType)
beanClass - the bean classpropertyName - the property name. May be nested e.g. "parent.name"valueType - the value type of the returned value propertypublic static IBeanValueProperty[] values(Class beanClass, String[] propertyNames)
beanClass - the bean classpropertyNames - array of property names. May be nested e.g. "parent.name"public static IBeanValueProperty[] values(String[] propertyNames)
propertyNames - array of property names. May be nested e.g. "parent.name"public static IBeanSetProperty set(String propertyName)
propertyName - the property namepublic static IBeanSetProperty set(String propertyName, Class elementType)
propertyName - the property nameelementType - the element type of the returned set propertypublic static IBeanSetProperty set(Class beanClass, String propertyName)
beanClass - the bean classpropertyName - the property namepublic static IBeanSetProperty set(Class beanClass, String propertyName, Class elementType)
beanClass - the bean classpropertyName - the property nameelementType - the element type of the returned set propertypublic static IBeanListProperty list(String propertyName)
propertyName - the property namepublic static IBeanListProperty list(String propertyName, Class elementType)
propertyName - the property nameelementType - the element type of the returned list propertypublic static IBeanListProperty list(Class beanClass, String propertyName)
beanClass - the bean classpropertyName - the property namepublic static IBeanListProperty list(Class beanClass, String propertyName, Class elementType)
beanClass - the bean classpropertyName - the property nameelementType - the element type of the returned list propertypublic static IBeanMapProperty map(String propertyName)
propertyName - the property namepublic static IBeanMapProperty map(String propertyName, Class keyType, Class valueType)
propertyName - the property namekeyType - the key type for the returned map propertyvalueType - the value type for the returned map propertypublic static IBeanMapProperty map(Class beanClass, String propertyName)
beanClass - the bean classpropertyName - the property namepublic static IBeanMapProperty map(Class beanClass, String propertyName, Class keyType, Class valueType)
beanClass - the bean classpropertyName - the property namekeyType - the key type of the returned map propertyvalueType - the value type of the returned map property
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.