Skip navigation links
A B C D E F G H I L M N O P R S T V 

A

attach() - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
 

B

bigDecValue(Object) - Static method in class de.alpharogroup.model.util.Objects
Evaluates the given object as a BigDecimal.
bigIntValue(Object) - Static method in class de.alpharogroup.model.util.Objects
Evaluates the given object as a BigInteger.
bind(Object) - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
Bind this model to a new target.
booleanValue(Object) - Static method in class de.alpharogroup.model.util.Objects
Evaluates the given object as a boolean: if it is a Boolean object, it's easy; if it's a Number or a Character, returns true for non-zero objects; and otherwise returns true for non-null objects.

C

CachingMethodResolver - Class in de.alpharogroup.model.reflect
A cache of a wrapped IMethodResolver.
CachingMethodResolver(IMethodResolver) - Constructor for class de.alpharogroup.model.reflect.CachingMethodResolver
 
CachingProxyFactory - Class in de.alpharogroup.model.reflect
A factory caching proxy classes.
CachingProxyFactory(IProxyFactory) - Constructor for class de.alpharogroup.model.reflect.CachingProxyFactory
 
compareWithConversion(Object, Object) - Static method in class de.alpharogroup.model.util.Objects
Compares two objects for equality, even if it has to convert one of them to the other type.
convertValue(Object, Class<T>) - Static method in class de.alpharogroup.model.util.Objects
Convert between basic Java types, i.e. primitives and their wrappers, numbers and strings.
createClass(Class<?>) - Method in class de.alpharogroup.model.reflect.CachingProxyFactory
 
createClass(Class<?>) - Method in class de.alpharogroup.model.reflect.DefaultProxyFactory
 
createClass(Class<?>) - Method in interface de.alpharogroup.model.reflect.IProxyFactory
Create a proxy class for the given class.
createInstance(Class<?>, IProxyFactory.Callback) - Method in class de.alpharogroup.model.reflect.CachingProxyFactory
 
createInstance(Class<?>, IProxyFactory.Callback) - Method in class de.alpharogroup.model.reflect.DefaultProxyFactory
 
createInstance(Class<?>, IProxyFactory.Callback) - Method in interface de.alpharogroup.model.reflect.IProxyFactory
Create a proxy instance.

D

de.alpharogroup.model.reflect - package de.alpharogroup.model.reflect
 
de.alpharogroup.model.typesafe - package de.alpharogroup.model.typesafe
 
de.alpharogroup.model.util - package de.alpharogroup.model.util
 
defaultIfNull(T, T) - Static method in class de.alpharogroup.model.util.Objects
Returns the original object if this one is !
DefaultMethodResolver - Class in de.alpharogroup.model.reflect
The default resolver of Methods.
DefaultMethodResolver() - Constructor for class de.alpharogroup.model.reflect.DefaultMethodResolver
 
DefaultProxyFactory - Class in de.alpharogroup.model.reflect
Default factory of proxies, utilizing cglib for dynamic class creation and objenesis for constructor-less instance creation.
DefaultProxyFactory() - Constructor for class de.alpharogroup.model.reflect.DefaultProxyFactory
 
destroy(Object) - Method in class de.alpharogroup.model.reflect.CachingMethodResolver
 
destroy(Object) - Method in class de.alpharogroup.model.reflect.CachingProxyFactory
 
detach() - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
 
doubleValue(Object) - Static method in class de.alpharogroup.model.util.Objects
Evaluates the given object as a double-precision floating-point number.

E

equal(Object, Object) - Static method in class de.alpharogroup.model.util.Objects
Returns true if a and b are equal.
eval(R) - Static method in class de.alpharogroup.model.reflect.Evaluation
Reverse operation of Evaluation.proxy(), i.e. get the evaluation from an evaluation result.
Evaluation<R> - Class in de.alpharogroup.model.reflect
An evaluation of method invocations.
Evaluation(Type) - Constructor for class de.alpharogroup.model.reflect.Evaluation
Evaluation of method invocations on the given type.

F

from(Class<T>) - Static method in class de.alpharogroup.model.typesafe.TypeSafeModel
Start a lazy evaluation.
from(Model<T>) - Static method in class de.alpharogroup.model.typesafe.TypeSafeModel
Start a lazy evaluation.
from(Model<T>, Class<T>) - Static method in class de.alpharogroup.model.typesafe.TypeSafeModel
Shortcut for from(Class) and bind(Object).
from(T) - Static method in class de.alpharogroup.model.typesafe.TypeSafeModel
Start a lazy evaluation.

G

getCallback(Object) - Method in class de.alpharogroup.model.reflect.CachingProxyFactory
 
getCallback(Object) - Method in class de.alpharogroup.model.reflect.DefaultProxyFactory
 
getCallback(Object) - Method in interface de.alpharogroup.model.reflect.IProxyFactory
Get the callback for the given proxy.
getClass(Type) - Static method in class de.alpharogroup.model.reflect.Reflection
Get the Class for a generic type.
getId(Method) - Method in class de.alpharogroup.model.reflect.CachingMethodResolver
 
getId(Method) - Method in class de.alpharogroup.model.reflect.DefaultMethodResolver
Generates an identifier for the given method consisting of the method name and the first character of each parameter type.
getId(Method) - Method in interface de.alpharogroup.model.reflect.IMethodResolver
Get the identifier for the given method.
getMethod(Class<?>, Serializable) - Method in class de.alpharogroup.model.reflect.CachingMethodResolver
 
getMethod(Class<?>, Serializable) - Method in class de.alpharogroup.model.reflect.DefaultMethodResolver
getMethod(Class<?>, Serializable) - Method in interface de.alpharogroup.model.reflect.IMethodResolver
Get method by identifier.
getNumericType(int, int, boolean) - Static method in class de.alpharogroup.model.util.Objects
Returns the constant from the NumericTypes interface that best expresses the type of an operation, which can be either numeric or not, on the two given types.
getNumericType(Object) - Static method in class de.alpharogroup.model.util.Objects
Returns a constant from the NumericTypes interface that represents the numeric type of the given object.
getNumericType(Object, Object) - Static method in class de.alpharogroup.model.util.Objects
Returns the constant from the NumericTypes interface that best expresses the type of a numeric operation on the two given objects.
getNumericType(Object, Object, boolean) - Static method in class de.alpharogroup.model.util.Objects
Returns the constant from the NumericTypes interface that best expresses the type of an operation, which can be either numeric or not, on the two given objects.
getObject() - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
Get the evaluation result.
getObjectClass() - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
Get the evaluation result's class.
getObjectType() - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
Get the evaluation result's type.
getPath() - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
Get the invoked method path for the evaluation.
getPropertyField() - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
LazyModel does not support field access.
getPropertyGetter() - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
Get the final getter of the evaluation.
getPropertySetter() - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
Get the final setter of the evaluation.
getSetter(Method) - Method in class de.alpharogroup.model.reflect.CachingMethodResolver
 
getSetter(Method) - Method in class de.alpharogroup.model.reflect.DefaultMethodResolver
Resolves the setter by Java Beans convention.
getSetter(Method) - Method in interface de.alpharogroup.model.reflect.IMethodResolver
Get a setter for the given method.
getTarget() - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
Get the target of this evaluation.

H

hashCode(Object...) - Static method in class de.alpharogroup.model.util.Objects
returns hashcode of the objects by calling obj.hashcode(). safe to use when obj is null.

I

IMethodResolver - Interface in de.alpharogroup.model.reflect
A resolver of Methods.
IProxyFactory - Interface in de.alpharogroup.model.reflect
A factory of proxies.
IProxyFactory.Callback - Interface in de.alpharogroup.model.reflect
Callback to a method invocation on a proxy.
isEqual(Object, Object) - Static method in class de.alpharogroup.model.util.Objects
Returns true if object1 is equal to object2 in either the sense that they are the same object or, if both are non-null if they are equal in the equals() sense.
isGetter(Method) - Static method in class de.alpharogroup.model.reflect.Reflection
Is the given method a JavaBeans getter.
isListIndex(Method) - Static method in class de.alpharogroup.model.reflect.Reflection
Does the given method represent a List index.

L

loadableDetachable() - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
Wrap this model in a LoadableDetachableModel.
longValue(Object) - Static method in class de.alpharogroup.model.util.Objects
Evaluates the given object as a long integer.

M

methodResolver - Static variable in class de.alpharogroup.model.typesafe.TypeSafeModel
The resolver for Methods.
model(R) - Static method in class de.alpharogroup.model.typesafe.TypeSafeModel
Create a model for the given evaluation result.

N

newInteger(int, long) - Static method in class de.alpharogroup.model.util.Objects
Returns a new Number object of an appropriate type to hold the given integer value.

O

Objects - Class in de.alpharogroup.model.util
Object utilities.
of(Class<T>) - Static method in class de.alpharogroup.model.reflect.Evaluation
Start evaluation from the give type.
on(Object, Method, Object[]) - Method in class de.alpharogroup.model.reflect.Evaluation
Handle an invocation on a result proxy.
on(Object, Method, Object[]) - Method in interface de.alpharogroup.model.reflect.IProxyFactory.Callback
 

P

path(R) - Static method in class de.alpharogroup.model.typesafe.TypeSafeModel
Get the method invocation path for an evaluation.
proxy() - Method in class de.alpharogroup.model.reflect.Evaluation
Create a proxy for the current type.
proxyFactory - Static variable in class de.alpharogroup.model.reflect.Evaluation
The factory for proxies.

R

Reflection - Class in de.alpharogroup.model.reflect
Reflection utilities.
resultType(Type, Type) - Static method in class de.alpharogroup.model.reflect.Reflection
Get the resulting type of invoking a method.

S

setObject(T) - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
Set the evaluation result.
stack - Variable in class de.alpharogroup.model.reflect.Evaluation
Each invoked method followed by its arguments.
stack - Variable in class de.alpharogroup.model.typesafe.TypeSafeModel
Each invoked method's identifier followed by its arguments.
stringValue(Object) - Static method in class de.alpharogroup.model.util.Objects
Evaluates the given object as a String.
stringValue(Object, boolean) - Static method in class de.alpharogroup.model.util.Objects
Evaluates the given object as a String and trims it if the trim flag is true.

T

target - Variable in class de.alpharogroup.model.typesafe.TypeSafeModel
The target of the evaluation.
toString() - Method in class de.alpharogroup.model.typesafe.TypeSafeModel
String representation of the evaluation.
TypeSafeModel<T> - Class in de.alpharogroup.model.typesafe
A model for lazy evaluations: Model<String> model = model(from(a).getB().getStrings().get("key")); model.setObject("value"); String string = model.getObject(); Evaluations can be nested too: Model<C> model = model(from(a).getB().getCs().get(from(d).getIndex()));

V

variableType(ParameterizedType, TypeVariable<?>) - Static method in class de.alpharogroup.model.reflect.Reflection
Get the type for a class type variable.
A B C D E F G H I L M N O P R S T V 
Skip navigation links

Copyright © 2015–2019 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.