|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.databinding.beans.BeanProperties
public class BeanProperties
A factory for creating properties for Java objects that conform to the JavaBean specification for bound properties.
| Constructor Summary | |
|---|---|
BeanProperties()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BeanProperties()
| Method Detail |
|---|
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 property
public 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 property
public 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 name
public static IBeanSetProperty set(String propertyName,
Class elementType)
propertyName - the property nameelementType - the element type of the returned set property
public static IBeanSetProperty set(Class beanClass,
String propertyName)
beanClass - the bean classpropertyName - the property name
public static IBeanSetProperty set(Class beanClass,
String propertyName,
Class elementType)
beanClass - the bean classpropertyName - the property nameelementType - the element type of the returned set property
public static IBeanListProperty list(String propertyName)
propertyName - the property name
public static IBeanListProperty list(String propertyName,
Class elementType)
propertyName - the property nameelementType - the element type of the returned list property
public static IBeanListProperty list(Class beanClass,
String propertyName)
beanClass - the bean classpropertyName - the property name
public static IBeanListProperty list(Class beanClass,
String propertyName,
Class elementType)
beanClass - the bean classpropertyName - the property nameelementType - the element type of the returned list property
public static IBeanMapProperty map(String propertyName)
propertyName - the property name
public 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 property
public static IBeanMapProperty map(Class beanClass,
String propertyName)
beanClass - the bean classpropertyName - the property name
public static IBeanMapProperty map(Class beanClass,
String propertyName,
Class keyType,
Class valueType)
beanClass - the bean classpropertyName - the property namekeyType - the key type for the returned map propertyvalueType - the value type for the returned map property
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.