Class BeanProperties
- java.lang.Object
-
- org.eclipse.core.databinding.beans.BeanProperties
-
@Deprecated public class BeanProperties extends Object
Deprecated.This class has replaced by the classBeanProperties
. That class creates typed property objects, while this class creates raw property objects. This class has been preserved for backwards compatibility reasons.A factory for creating properties for Java objects that conform to the JavaBean specification for bound properties.- Since:
- 1.2
-
-
Constructor Summary
Constructors Constructor Description BeanProperties()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static IBeanListProperty
list(Class beanClass, String propertyName)
Deprecated.Returns a list property for the given property name of the given bean class.static IBeanListProperty
list(Class beanClass, String propertyName, Class elementType)
Deprecated.Returns a list property for the given property name of the given bean class.static IBeanListProperty
list(String propertyName)
Deprecated.Returns a list property for the given property name of an arbitrary bean class.static IBeanListProperty
list(String propertyName, Class elementType)
Deprecated.Returns a list property for the given property name of an arbitrary bean class.static IBeanMapProperty
map(Class beanClass, String propertyName)
Deprecated.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)
Deprecated.Returns a map property for the given property name of the given bean class.static IBeanMapProperty
map(String propertyName)
Deprecated.Returns a map property for the given property name of an arbitrary bean class.static IBeanMapProperty
map(String propertyName, Class keyType, Class valueType)
Deprecated.Returns a map property for the given property name of an arbitrary bean class.static IBeanSetProperty
set(Class beanClass, String propertyName)
Deprecated.Returns a set property for the given property name of the given bean class.static IBeanSetProperty
set(Class beanClass, String propertyName, Class elementType)
Deprecated.Returns a set property for the given property name of the given bean class.static IBeanSetProperty
set(String propertyName)
Deprecated.Returns a set property for the given property name of an arbitrary bean class.static IBeanSetProperty
set(String propertyName, Class elementType)
Deprecated.Returns a set property for the given property name of an arbitrary bean class.static IBeanValueProperty
value(Class beanClass, String propertyName)
Deprecated.Returns a value property for the given property name of the given bean class.static IBeanValueProperty
value(Class beanClass, String propertyName, Class valueType)
Deprecated.Returns a value property for the given property name of the given bean class.static IBeanValueProperty
value(String propertyName)
Deprecated.Returns a value property for the given property name of an arbitrary bean class.static IBeanValueProperty
value(String propertyName, Class valueType)
Deprecated.Returns a value property for the given property name of an arbitrary bean class.static IBeanValueProperty[]
values(Class beanClass, String... propertyNames)
Deprecated.Returns a value property array for the given property names of the given bean class.static IBeanValueProperty[]
values(String... propertyNames)
Deprecated.Returns a value property array for the given property names of an arbitrary bean class.
-
-
-
Method Detail
-
value
public static IBeanValueProperty value(String propertyName)
Deprecated.Returns a value property for the given property name of an arbitrary bean class. Objects lacking the named property are treated the same as if the property always contains null.- Parameters:
propertyName
- the property name. May be nested e.g. "parent.name"- Returns:
- a value property for the given property name of an arbitrary bean class.
-
value
public static IBeanValueProperty value(String propertyName, Class valueType)
Deprecated.Returns a value property for the given property name of an arbitrary bean class. Objects lacking the named property are treated the same as if the property always contains null.- Parameters:
propertyName
- the property name. May be nested e.g. "parent.name"valueType
- the value type of the returned value property- Returns:
- a value property for the given property name of an arbitrary bean class.
-
value
public static IBeanValueProperty value(Class beanClass, String propertyName)
Deprecated.Returns a value property for the given property name of the given bean class.- Parameters:
beanClass
- the bean classpropertyName
- the property name. May be nested e.g. "parent.name"- Returns:
- a value property for the given property name of the given bean class.
-
value
public static IBeanValueProperty value(Class beanClass, String propertyName, Class valueType)
Deprecated.Returns a value property for the given property name of the given bean class.- Parameters:
beanClass
- the bean classpropertyName
- the property name. May be nested e.g. "parent.name"valueType
- the value type of the returned value property- Returns:
- a value property for the given property name of the given bean class.
-
values
public static IBeanValueProperty[] values(Class beanClass, String... propertyNames)
Deprecated.Returns a value property array for the given property names of the given bean class.- Parameters:
beanClass
- the bean classpropertyNames
- defines the property names. May be nested e.g. "parent.name"- Returns:
- a value property array for the given property names of the given bean class.
-
values
public static IBeanValueProperty[] values(String... propertyNames)
Deprecated.Returns a value property array for the given property names of an arbitrary bean class.- Parameters:
propertyNames
- defines the property names. May be nested e.g. "parent.name"- Returns:
- a value property array for the given property names of the given bean class.
-
set
public static IBeanSetProperty set(String propertyName)
Deprecated.Returns a set property for the given property name of an arbitrary bean class. Objects lacking the named property are treated the same as if the property always contains an empty set.- Parameters:
propertyName
- the property name- Returns:
- a set property for the given property name of an arbitrary bean class.
-
set
public static IBeanSetProperty set(String propertyName, Class elementType)
Deprecated.Returns a set property for the given property name of an arbitrary bean class. Objects lacking the named property are treated the same as if the property always contains an empty set.- Parameters:
propertyName
- the property nameelementType
- the element type of the returned set property- Returns:
- a set property for the given property name of an arbitrary bean class.
-
set
public static IBeanSetProperty set(Class beanClass, String propertyName)
Deprecated.Returns a set property for the given property name of the given bean class.- Parameters:
beanClass
- the bean classpropertyName
- the property name- Returns:
- a set property for the given property name of the given bean class.
-
set
public static IBeanSetProperty set(Class beanClass, String propertyName, Class elementType)
Deprecated.Returns a set property for the given property name of the given bean class.- Parameters:
beanClass
- the bean classpropertyName
- the property nameelementType
- the element type of the returned set property- Returns:
- a set property for the given property name of the given bean class.
-
list
public static IBeanListProperty list(String propertyName)
Deprecated.Returns a list property for the given property name of an arbitrary bean class. Objects lacking the named property are treated the same as if the property always contains an empty list.- Parameters:
propertyName
- the property name- Returns:
- a list property for the given property name of an arbitrary bean class.
-
list
public static IBeanListProperty list(String propertyName, Class elementType)
Deprecated.Returns a list property for the given property name of an arbitrary bean class. Objects lacking the named property are treated the same as if the property always contains an empty list.- Parameters:
propertyName
- the property nameelementType
- the element type of the returned list property- Returns:
- a list property for the given property name of the given bean class.
-
list
public static IBeanListProperty list(Class beanClass, String propertyName)
Deprecated.Returns a list property for the given property name of the given bean class.- Parameters:
beanClass
- the bean classpropertyName
- the property name- Returns:
- a list property for the given property name of the given bean class.
-
list
public static IBeanListProperty list(Class beanClass, String propertyName, Class elementType)
Deprecated.Returns a list property for the given property name of the given bean class.- Parameters:
beanClass
- the bean classpropertyName
- the property nameelementType
- the element type of the returned list property- Returns:
- a list property for the given property name of the given bean class.
-
map
public static IBeanMapProperty map(String propertyName)
Deprecated.Returns a map property for the given property name of an arbitrary bean class. Objects lacking the named property are treated the same as if the property always contains an empty map.- Parameters:
propertyName
- the property name- Returns:
- a map property for the given property name of an arbitrary bean class.
-
map
public static IBeanMapProperty map(String propertyName, Class keyType, Class valueType)
Deprecated.Returns a map property for the given property name of an arbitrary bean class. Objects lacking the named property are treated the same as if the property always contains an empty map.- Parameters:
propertyName
- the property namekeyType
- the key type for the returned map propertyvalueType
- the value type for the returned map property- Returns:
- a map property for the given property name of an arbitrary bean class.
-
map
public static IBeanMapProperty map(Class beanClass, String propertyName)
Deprecated.Returns a map property for the given property name of the given bean class.- Parameters:
beanClass
- the bean classpropertyName
- the property name- Returns:
- a map property for the given property name of the given bean class.
-
map
public static IBeanMapProperty map(Class beanClass, String propertyName, Class keyType, Class valueType)
Deprecated.Returns a map property for the given property name of the given bean class.- Parameters:
beanClass
- the bean classpropertyName
- the property namekeyType
- the key type for the returned map propertyvalueType
- the value type for the returned map property- Returns:
- a map property for the given property name of the given bean class.
-
-