Package | Description |
---|---|
org.modeshape.common.util |
A set of miscellaneous utilities.
|
Modifier and Type | Method and Description |
---|---|
Reflection.Property |
Reflection.getProperty(Object target,
String propertyName)
Get the representation of the named property on the target object.
|
Reflection.Property |
Reflection.getProperty(Object target,
String propertyName,
String description)
Get the representation of the named property (with the supplied description) on the target object.
|
Reflection.Property |
Reflection.getProperty(Object target,
String propertyName,
String label,
String category,
String description,
Object... allowedValues)
Get the representation of the named property (with the supplied labe, category, description, and allowed values) on the
target object.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Reflection.Property> |
Reflection.getAllPropertiesByNameOn(Object target)
Get representations for all of the Java properties on the supplied object.
|
List<Reflection.Property> |
Reflection.getAllPropertiesOn(Object target)
Get representations for all of the Java properties on the supplied object.
|
Modifier and Type | Method and Description |
---|---|
int |
Reflection.Property.compareTo(Reflection.Property that) |
Object |
Reflection.getProperty(Object target,
Reflection.Property property)
Get current value for the property on the supplied target object.
|
String |
Reflection.getPropertyAsString(Object target,
Reflection.Property property)
Get current value represented as a string for the property on the supplied target object.
|
void |
Reflection.setProperty(Object target,
Reflection.Property property,
Object value)
Set the property on the supplied target object to the specified value.
|
Copyright © 2008-2015 JBoss, a division of Red Hat. All Rights Reserved.