| Package | Description |
|---|---|
| org.exparity.beans | |
| org.exparity.beans.core | |
| org.exparity.beans.core.functions | |
| org.exparity.beans.core.predicates | |
| org.exparity.beans.core.visitors |
| Modifier and Type | Method and Description |
|---|---|
static BeanProperty |
Bean.beanProperty(Object instance,
String name)
Static factory method for constructing a
BeanProperty for the property name on the given instance. |
static BeanProperty |
Bean.beanProperty(Object instance,
String name,
BeanNamingStrategy naming)
Static factory method for constructing a
BeanProperty for the property name on the given instance. |
| Modifier and Type | Method and Description |
|---|---|
BeanProperty |
Instance.findAny(BeanPropertyPredicate predicate)
Find the first instance of the property which matches the given predicate in the instance.
|
BeanProperty |
Instance.get(BeanPropertyPredicate predicate)
Get the property which matches the predicate from the instance or return
null if not matching property is found. |
BeanProperty |
Instance.get(String name)
Get the requested property from the type or return
null if the property is not present. |
BeanProperty |
Instance.propertyNamed(String name)
Get the requested property from the instance or return
null if the property is not present. |
| Modifier and Type | Method and Description |
|---|---|
List<BeanProperty> |
Instance.find(BeanPropertyPredicate predicate)
Find all property properties which match the predicate.
|
List<BeanProperty> |
Instance.propertyList()
Return a list of the publicly exposes get/set properties on this instance.
|
Map<String,BeanProperty> |
Instance.propertyMap()
Return a map of the publicly exposes get/set properties on the Bean with the property name as the key and the initial character lowercased For example:
|
| Modifier and Type | Method and Description |
|---|---|
void |
BeanPropertyFunction.apply(BeanProperty property) |
boolean |
BeanPropertyPredicate.matches(BeanProperty property) |
void |
BeanVisitor.visit(BeanProperty property,
Object current,
BeanPropertyPath path,
Object[] stack,
AtomicBoolean stop)
Callback fired for each
BeanProperty found on an object |
| Modifier and Type | Method and Description |
|---|---|
void |
SetValue.apply(BeanProperty property) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
WithValue.matches(BeanProperty property) |
boolean |
WithPropertyValue.matches(BeanProperty property) |
boolean |
OfDeclaringType.matches(BeanProperty property) |
boolean |
Named.matches(BeanProperty property) |
boolean |
MatchesOneOf.matches(BeanProperty property) |
boolean |
MatchesAlways.matches(BeanProperty property) |
boolean |
MatchesAll.matches(BeanProperty property) |
boolean |
MatchersPattern.matches(BeanProperty property) |
boolean |
HasType.matches(BeanProperty property) |
| Modifier and Type | Method and Description |
|---|---|
BeanProperty |
CapturePropertyIf.getMatchedProperty() |
| Modifier and Type | Method and Description |
|---|---|
void |
Print.visit(BeanProperty property,
Object current,
BeanPropertyPath path,
Object[] stack,
AtomicBoolean stop) |
void |
CapturePropertyToMap.visit(BeanProperty property,
Object current,
BeanPropertyPath path,
Object[] stack,
AtomicBoolean stop) |
void |
CapturePropertyToListIf.visit(BeanProperty property,
Object current,
BeanPropertyPath path,
Object[] stack,
AtomicBoolean stop) |
void |
CapturePropertyToList.visit(BeanProperty property,
Object current,
BeanPropertyPath path,
Object[] stack,
AtomicBoolean stop) |
void |
CapturePropertyIf.visit(BeanProperty property,
Object current,
BeanPropertyPath path,
Object[] stack,
AtomicBoolean stop) |
void |
ApplyFunctionIf.visit(BeanProperty property,
Object current,
BeanPropertyPath path,
Object[] stack,
AtomicBoolean stop) |
| Constructor and Description |
|---|
CapturePropertyToList(List<BeanProperty> propertyList) |
CapturePropertyToListIf(BeanPropertyPredicate predicate,
List<BeanProperty> collection) |
CapturePropertyToMap(Map<String,BeanProperty> propertyMap) |
Copyright © 2015. All rights reserved.