- get(String) - Method in class org.exparity.beans.core.Instance
-
Get the requested property from the type or return null if the property is not present.
- get(BeanPropertyPredicate) - Method in class org.exparity.beans.core.Instance
-
Get the property which matches the predicate from the instance or return null if not matching property is found.
- get(String) - Method in class org.exparity.beans.Type
-
Get the requested property from the type or return null if the property is not present.
- getAccessor() - Method in class org.exparity.beans.core.BeanProperty
-
Return the accessor
Method for this property
- getAccessor() - Method in class org.exparity.beans.core.ImmutableTypeProperty
-
Return the accessor
Method for this property
- getAccessor() - Method in class org.exparity.beans.core.TypeProperty
-
Return the accessor
Method for this property
- getAccessor(String) - Method in class org.exparity.beans.Type
-
Return the accessor Method for the given property.
- getDeclaringType() - Method in class org.exparity.beans.core.AbstractProperty
-
Return the declaring type of the property
- getDeclaringTypeCanonicalName() - Method in class org.exparity.beans.core.AbstractProperty
-
Return the declaring type of the property
- getDeclaringTypeSimpleName() - Method in class org.exparity.beans.core.AbstractProperty
-
Return the declaring type of the property
- getInstance() - Method in class org.exparity.beans.core.BeanProperty
-
Return the object instance this property is bound to
- getMatchedProperty() - Method in class org.exparity.beans.core.visitors.CapturePropertyIf
-
- getMutator() - Method in class org.exparity.beans.core.BeanProperty
-
Return the mutator
Method for this property
- getMutator() - Method in class org.exparity.beans.core.TypeProperty
-
Return the mutator
Method for this property
- getName() - Method in class org.exparity.beans.core.AbstractProperty
-
Return the name of the property
- getType() - Method in class org.exparity.beans.Bean
-
- getType() - Method in class org.exparity.beans.core.AbstractProperty
-
Return the type of the property
- getType() - Method in interface org.exparity.beans.core.Typed
-
Return the
Class for this type
- getType() - Method in class org.exparity.beans.Type
-
- getTypeCanonicalName() - Method in class org.exparity.beans.core.AbstractProperty
-
Return the canonical name of the type
- getTypeParameter(int) - Method in class org.exparity.beans.core.AbstractProperty
-
- getTypeParameters() - Method in class org.exparity.beans.core.AbstractProperty
-
Return the collection of type paramaters or an empty
List if this property is not generic
- getTypeSimpleName() - Method in class org.exparity.beans.core.AbstractProperty
-
Return the canonical name of the type
- getValue(Class<T>) - Method in class org.exparity.beans.core.BeanProperty
-
Return the value of this property from the given object cast to the given type.
- getValue() - Method in class org.exparity.beans.core.BeanProperty
-
Return the value of this property from the contained instance
- getValue(Object) - Method in class org.exparity.beans.core.ImmutableTypeProperty
-
Return the value of this property.
- getValue(Object, Class<T>) - Method in class org.exparity.beans.core.ImmutableTypeProperty
-
Return the value of this property from the given object cast to the given type.
- getValue(Object) - Method in class org.exparity.beans.core.TypeProperty
-
Return the value of this property.
- getValue(Object, Class<T>) - Method in class org.exparity.beans.core.TypeProperty
-
Return the value of this property from the given object cast to the given type.
- Graph - Class in org.exparity.beans
-
Utility class for inspecting objects which expose properties which follow the Java Bean get/set standard.
- Graph(Object, BeanNamingStrategy) - Constructor for class org.exparity.beans.Graph
-
- Graph(Object) - Constructor for class org.exparity.beans.Graph
-
- graph(Object) - Static method in class org.exparity.beans.Graph
-
- graph(Object, BeanNamingStrategy) - Static method in class org.exparity.beans.Graph
-
- graphInspector() - Static method in class org.exparity.beans.core.InstanceInspector
-
- ImmutableTypeProperty - Class in org.exparity.beans.core
-
Immutable value object to encapsulate an property on an Object which follows the get/is Java beans standard for accessors.
- ImmutableTypeProperty(String, MethodWrapper) - Constructor for class org.exparity.beans.core.ImmutableTypeProperty
-
- InAlphabeticalOrder - Class in org.exparity.beans.core.ordering
-
Implementation of a BeanPropertyOrderingStrategy which orders the properties alphabetically
- InAlphabeticalOrder() - Constructor for class org.exparity.beans.core.ordering.InAlphabeticalOrder
-
- InClassOrder - Class in org.exparity.beans.core.ordering
-
Implementation of a BeanPropertyOrderingStrategy which orders the properties as they're returned from the class
- InClassOrder() - Constructor for class org.exparity.beans.core.ordering.InClassOrder
-
- inspect(Object, BeanNamingStrategy, BeanVisitor) - Method in class org.exparity.beans.core.InstanceInspector
-
Inspect the supplied object and fire callbacks on the supplied
BeanVisitor for every property exposed on the object
- inspect(Class<?>, TypeVisitor) - Method in class org.exparity.beans.core.TypeInspector
-
Inspect the supplied object and fire callbacks on the supplied
BeanVisitor for every property exposed on the object
- inspect(Class<?>, BeanNamingStrategy, TypeVisitor) - Method in class org.exparity.beans.core.TypeInspector
-
Inspect the supplied object and fire callbacks on the supplied
BeanVisitor for every property exposed on the object
- Instance - Class in org.exparity.beans.core
-
- Instance(InstanceInspector, Object, BeanNamingStrategy) - Constructor for class org.exparity.beans.core.Instance
-
- InstanceInspector - Class in org.exparity.beans.core
-
Helper class which inspects the bean and exposes the properties of the bean to support the visitor pattern
- InstanceInspector.InspectionDepth - Enum in org.exparity.beans.core
-
- InstanceInspector.Overflow - Enum in org.exparity.beans.core
-
- is(Class<?>) - Method in class org.exparity.beans.Bean
-
- is(Class<?>) - Method in interface org.exparity.beans.core.Typed
-
Return true if this type is assignable from the other type.
- is(Class<?>) - Method in class org.exparity.beans.Type
-
Return true if this type is the same type or a subclass of the other type.
- isArray() - Method in class org.exparity.beans.Bean
-
- isArray() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property is an array
- isArray() - Method in interface org.exparity.beans.core.Typed
-
Return true if this type is an array
- isArray() - Method in class org.exparity.beans.Type
-
- isBoolean() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property is an
Boolean or boolean
- isByte() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property is an
Byte or char
- isCharacter() - Method in class org.exparity.beans.core.AbstractProperty
-
- isCollection() - Method in class org.exparity.beans.core.AbstractProperty
-
- isDate() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property is an
Date or long
- isDouble() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property is an
Double or double
- isEmpty() - Method in class org.exparity.beans.core.BeanPropertyPath
-
- isEnum() - Method in class org.exparity.beans.Bean
-
- isEnum() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property is an enum
- isEnum() - Method in interface org.exparity.beans.core.Typed
-
Return true if this type is a Java enumeration
- isEnum() - Method in class org.exparity.beans.Type
-
- isFloat() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property is an
Float or float
- isGeneric() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property is a generic type
- isInteger() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property is an
Integer or int
- isIterable() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property implements
Iterable
- isList() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property implements
List
- isLong() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property is an
Long or long
- isMap() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property implements
Map
- isNull() - Method in class org.exparity.beans.core.BeanProperty
-
Return true if the value of this property on this instance is null
- isPrimitive() - Method in class org.exparity.beans.Bean
-
- isPrimitive() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property is primitive
- isPrimitive() - Method in interface org.exparity.beans.core.Typed
-
Return true if this type is a primitive type
- isPrimitive() - Method in class org.exparity.beans.Type
-
- isPropertyType(String, Class<?>) - Method in class org.exparity.beans.core.Instance
-
Test if the property on the supplied instance is of the supplied type.
- isPropertyType(BeanPropertyPredicate, Class<?>) - Method in class org.exparity.beans.core.Instance
-
Test if the property which matches the predicate on the supplied instance is of the supplied type.
- isPropertyType(String, Class<?>) - Method in class org.exparity.beans.Type
-
Test if the property on the type is of the supplied type.
- isSet() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property implements
Set
- isShort() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property is an
Short or short
- isString() - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property is a
String
- isType(Class<?>) - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property type is assignable from the supplied type
- isType(Class<?>...) - Method in class org.exparity.beans.core.AbstractProperty
-
Test if the property type is assignable from any one of the supplied types
- packageName() - Method in class org.exparity.beans.Bean
-
- packageName() - Method in interface org.exparity.beans.core.Typed
-
Return the package name for this type.
- packageName() - Method in class org.exparity.beans.Type
-
- print() - Static method in class org.exparity.beans.BeanVisitors
-
- print(Writer) - Static method in class org.exparity.beans.BeanVisitors
-
Print all the properties visited to the
Writer
- Print - Class in org.exparity.beans.core.visitors
-
- Print(Writer) - Constructor for class org.exparity.beans.core.visitors.Print
-
- propertyList() - Method in class org.exparity.beans.core.Instance
-
Return a list of the publicly exposes get/set properties on this instance.
- propertyList(Class<?>, BeanNamingStrategy) - Method in class org.exparity.beans.core.TypeInspector
-
- propertyList() - Method in class org.exparity.beans.Type
-
Return a list of the publicly exposes get/set properties on a class.
- propertyMap() - Method in class org.exparity.beans.core.Instance
-
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:
- propertyMap() - Method in class org.exparity.beans.Type
-
Return a map of the publicly exposes get/set properties on the type with the property name as the key and the initial character lowercased For example:
- propertyNamed(String) - Method in class org.exparity.beans.core.Instance
-
Get the requested property from the instance or return null if the property is not present.
- propertyNamed(String) - Method in class org.exparity.beans.Type
-
Get the requested property from the type or return null if the property is not present.
- propertyType(String) - Method in class org.exparity.beans.core.Instance
-
Return the property type on the instance for the supplied property name or null if the property doesn't exist.
- propertyType(BeanPropertyPredicate) - Method in class org.exparity.beans.core.Instance
-
Return the property type on the instance for the first property which matches the supplied predicate or null if no matching properties are found.
- propertyType(String) - Method in class org.exparity.beans.Type
-
Return the property type on the type for the supplied property name or null if the property doesn't exist.
- propertyValue(BeanPropertyPredicate) - Method in class org.exparity.beans.core.Instance
-
Return the first property value on the instance which matches the predicate or return null if the no matching properties are not present on the instance.
- propertyValue(BeanPropertyPredicate, Class<T>) - Method in class org.exparity.beans.core.Instance
-
Return the first property value on the instance which matches the predicate or return null if the no matching properties are not present on the instance.
- propertyValue(String) - Method in class org.exparity.beans.core.Instance
-
Return the property value on the instance for the supplied property name or return null if the property is not present on the instance.
- propertyValue(String, Class<T>) - Method in class org.exparity.beans.core.Instance
-
Return the property value on the instance for the supplied property name or return null if the property is not present on the instance.