Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractGetAndSet - Class in io.github.astrapi69.model.property
- AbstractGetAndSet() - Constructor for class io.github.astrapi69.model.property.AbstractGetAndSet
- AbstractPropertyModel<T> - Class in io.github.astrapi69.model
-
The class
AbstractPropertyModel
serves as a base class for different kinds of property models. - AbstractPropertyModel(Object) - Constructor for class io.github.astrapi69.model.AbstractPropertyModel
-
Constructor
- ArrayGetSet - Class in io.github.astrapi69.model.property
- ArrayLengthGetSet - Class in io.github.astrapi69.model.property
- ArrayPropertyGetSet - Class in io.github.astrapi69.model.property
- attach() - Method in interface io.github.astrapi69.model.api.Attachable
-
Attach an object.
- attach() - Method in class io.github.astrapi69.model.ChainingModel
-
Attach an object.
- attach() - Method in class io.github.astrapi69.model.GenericModel
-
Attach an object.
- attach() - Method in class io.github.astrapi69.model.LoadableDetachableModel
-
Attach an object.
- attach() - Method in class io.github.astrapi69.model.SimpleLambdaModel
-
Attach an object.
- Attachable - Interface in io.github.astrapi69.model.api
-
The interface
Attachable
provides the ability to attach an object from a context.
B
- BaseModel<T> - Class in io.github.astrapi69.model
-
The class
BaseModel
for simple objects. - BaseModel(T) - Constructor for class io.github.astrapi69.model.BaseModel
-
Instantiates a new base model.
- bigDecValue(Object) - Static method in class io.github.astrapi69.model.util.Objects
-
Evaluates the given object as a BigDecimal.
- bigIntValue(Object) - Static method in class io.github.astrapi69.model.util.Objects
-
Evaluates the given object as a BigInteger.
- booleanValue(Object) - Static method in class io.github.astrapi69.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 io.github.astrapi69.model.reflect
-
A cache of a wrapped
IMethodResolver
. - CachingMethodResolver(IMethodResolver) - Constructor for class io.github.astrapi69.model.reflect.CachingMethodResolver
- CachingProxyFactory - Class in io.github.astrapi69.model.reflect
-
A factory caching proxy classes.
- CachingProxyFactory(IProxyFactory) - Constructor for class io.github.astrapi69.model.reflect.CachingProxyFactory
- ChainingModel<T> - Class in io.github.astrapi69.model
-
The class
ChainingModel
is the default implementation ofIChainingModel
interface. - ChainingModel(Object) - Constructor for class io.github.astrapi69.model.ChainingModel
-
Instantiates a new
ChainingModel
. - ClassCache - Interface in io.github.astrapi69.model.api
-
The interface
ClassCache
provides methods for a class cache. - CollectionModel<T> - Class in io.github.astrapi69.model.util
-
Based on
IModel
but for any collections of serializable objects. - CollectionModel(Collection<T>) - Constructor for class io.github.astrapi69.model.util.CollectionModel
-
Creates model that will contain
collection
. - compareWithConversion(Object, Object) - Static method in class io.github.astrapi69.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 io.github.astrapi69.model.util.Objects
-
Convert between basic Java types, i.e. primitives and their wrappers, numbers and strings.
- createClass(Class<?>) - Method in class io.github.astrapi69.model.reflect.CachingProxyFactory
- createClass(Class<?>) - Method in interface io.github.astrapi69.model.reflect.IProxyFactory
-
Create a proxy class for the given class.
- createInstance(Class<?>, IProxyFactory.Callback) - Method in class io.github.astrapi69.model.reflect.CachingProxyFactory
- createInstance(Class<?>, IProxyFactory.Callback) - Method in interface io.github.astrapi69.model.reflect.IProxyFactory
-
Create a proxy instance.
D
- DefaultClassCache - Class in io.github.astrapi69.model.property
- DefaultClassCache() - Constructor for class io.github.astrapi69.model.property.DefaultClassCache
- defaultIfNull(T, T) - Static method in class io.github.astrapi69.model.util.Objects
-
Returns the original object if this one is !
- DefaultMethodResolver - Class in io.github.astrapi69.model.reflect
-
The default resolver of
Method
s. - DefaultMethodResolver() - Constructor for class io.github.astrapi69.model.reflect.DefaultMethodResolver
- destroy(Object) - Static method in class io.github.astrapi69.model.property.PropertyResolver
-
Clean up cache for this app.
- destroy(Object) - Method in class io.github.astrapi69.model.reflect.CachingMethodResolver
- destroy(Object) - Method in class io.github.astrapi69.model.reflect.CachingProxyFactory
- detach() - Method in interface io.github.astrapi69.model.api.IDetachable
-
Detach an object.
- detach() - Method in class io.github.astrapi69.model.ChainingModel
-
Unsets this property model's instance variables and detaches the model.
- detach() - Method in class io.github.astrapi69.model.GenericModel
-
Detach an object.
- detach() - Method in class io.github.astrapi69.model.LoadableDetachableModel
-
Detach an object.
- detach() - Method in class io.github.astrapi69.model.SimpleLambdaModel
-
Detach an object.
- doubleValue(Object) - Static method in class io.github.astrapi69.model.util.Objects
-
Evaluates the given object as a double-precision floating-point number.
E
- equal(Object, Object) - Static method in class io.github.astrapi69.model.util.Objects
-
Returns true if a and b are equal.
F
- FieldGetAndSetter - Class in io.github.astrapi69.model.property
- FieldGetAndSetter(Field) - Constructor for class io.github.astrapi69.model.property.FieldGetAndSetter
-
Construct.
G
- GenericCollectionModel<T> - Class in io.github.astrapi69.model.util
-
The class
GenericCollectionModel
is the base class for wild card collections that contains object that do not appear to implement theSerializable
interface. - GenericCollectionModel(T) - Constructor for class io.github.astrapi69.model.util.GenericCollectionModel
-
Instantiates a new
GenericCollectionModel
. - GenericModel<T> - Class in io.github.astrapi69.model
-
The class
GenericModel
is the basic implementation of anIModel
. - GenericModel(T) - Constructor for class io.github.astrapi69.model.GenericModel
-
Instantiates a new
GenericModel
. - get(Class<?>) - Method in interface io.github.astrapi69.model.api.ClassCache
-
Returns the class map from the cache.
- get(Class<?>) - Method in class io.github.astrapi69.model.property.DefaultClassCache
- GET - Static variable in class io.github.astrapi69.model.property.AbstractGetAndSet
- GetAndSet - Interface in io.github.astrapi69.model.api
-
The interface
GetAndSet
provides methods to get and set values of an object in a model. - getCallback(Object) - Method in class io.github.astrapi69.model.reflect.CachingProxyFactory
- getCallback(Object) - Method in interface io.github.astrapi69.model.reflect.IProxyFactory
-
Get the callback for the given proxy.
- getChainedModel() - Method in interface io.github.astrapi69.model.api.IChainingModel
-
Gets the chained model.
- getChainedModel() - Method in class io.github.astrapi69.model.ChainingModel
-
Gets the chained model.
- getClass(Type) - Static method in class io.github.astrapi69.model.reflect.Reflection
-
Get the
Class
for a generic type. - getField() - Method in interface io.github.astrapi69.model.api.GetAndSet
- getField() - Method in class io.github.astrapi69.model.property.AbstractGetAndSet
- getField() - Method in class io.github.astrapi69.model.property.FieldGetAndSetter
- getField() - Method in class io.github.astrapi69.model.property.ObjectAndGetSetter
- getGetter() - Method in interface io.github.astrapi69.model.api.GetAndSet
- getGetter() - Method in class io.github.astrapi69.model.property.AbstractGetAndSet
- getGetter() - Method in class io.github.astrapi69.model.property.ObjectAndGetSetter
- getId(Method) - Method in class io.github.astrapi69.model.reflect.CachingMethodResolver
- getId(Method) - Method in class io.github.astrapi69.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 io.github.astrapi69.model.reflect.IMethodResolver
-
Get the identifier for the given method.
- getInnermostModelOrObject() - Method in class io.github.astrapi69.model.AbstractPropertyModel
- getMethod(Class<?>, Serializable) - Method in class io.github.astrapi69.model.reflect.CachingMethodResolver
- getMethod(Class<?>, Serializable) - Method in class io.github.astrapi69.model.reflect.DefaultMethodResolver
-
Inverse operation of
DefaultMethodResolver.getId(Method)
. - getMethod(Class<?>, Serializable) - Method in interface io.github.astrapi69.model.reflect.IMethodResolver
-
Get method by identifier.
- getNumericType(int, int, boolean) - Static method in class io.github.astrapi69.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 io.github.astrapi69.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 io.github.astrapi69.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 io.github.astrapi69.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 io.github.astrapi69.model.AbstractPropertyModel
-
Gets the model object.
- getObject() - Method in interface io.github.astrapi69.model.api.IModel
-
Gets the model object.
- getObject() - Method in class io.github.astrapi69.model.ChainingModel
-
Gets the model object.
- getObject() - Method in class io.github.astrapi69.model.LoadableDetachableModel
-
Gets the model object.
- getObject() - Method in class io.github.astrapi69.model.SimpleLambdaModel
-
Gets the model object.
- getObjectClass() - Method in class io.github.astrapi69.model.AbstractPropertyModel
- getObjectClass() - Method in interface io.github.astrapi69.model.api.IObjectClassAwareModel
-
Gets the object class.
- getObjectClass() - Method in class io.github.astrapi69.model.GenericModel
-
Gets the object class.
- getObjectType() - Method in interface io.github.astrapi69.model.api.ObjectTypeAware
-
Gets the type of the generic object type
- getPropertyClass(String, Class<?>) - Static method in class io.github.astrapi69.model.property.PropertyResolver
-
Gets the property class.
- getPropertyClass(String, Object) - Static method in class io.github.astrapi69.model.property.PropertyResolver
-
Gets the property class.
- getPropertyExpression() - Method in class io.github.astrapi69.model.AbstractPropertyModel
-
Gets the property expression for this model
- getPropertyField() - Method in class io.github.astrapi69.model.AbstractPropertyModel
- getPropertyField() - Method in interface io.github.astrapi69.model.api.IPropertyReflectionAwareModel
-
Gets the field of model property or null if the field doesn't exist.
- getPropertyField(String, Object) - Static method in class io.github.astrapi69.model.property.PropertyResolver
-
Gets the property field.
- getPropertyGetter() - Method in class io.github.astrapi69.model.AbstractPropertyModel
-
Gets the getter method of model property or null if the method doesn't exist.
- getPropertyGetter() - Method in interface io.github.astrapi69.model.api.IPropertyReflectionAwareModel
-
Gets the getter method of model property or null if the method doesn't exist.
- getPropertyGetter(String, Object) - Static method in class io.github.astrapi69.model.property.PropertyResolver
-
Gets the property getter.
- getPropertySetter() - Method in class io.github.astrapi69.model.AbstractPropertyModel
-
Gets the setter method of model property or null if the method doesn't exist.
- getPropertySetter() - Method in interface io.github.astrapi69.model.api.IPropertyReflectionAwareModel
-
Gets the setter method of model property or null if the method doesn't exist.
- getPropertySetter(String, Object) - Static method in class io.github.astrapi69.model.property.PropertyResolver
-
Gets the property setter.
- getSetter() - Method in interface io.github.astrapi69.model.api.GetAndSet
- getSetter() - Method in class io.github.astrapi69.model.property.AbstractGetAndSet
- getSetter() - Method in class io.github.astrapi69.model.property.ObjectAndGetSetter
- getSetter(Method) - Method in class io.github.astrapi69.model.reflect.CachingMethodResolver
- getSetter(Method) - Method in class io.github.astrapi69.model.reflect.DefaultMethodResolver
-
Resolves the setter by Java Beans convention.
- getSetter(Method) - Method in interface io.github.astrapi69.model.reflect.IMethodResolver
-
Get a setter for the given method.
- getTarget() - Method in class io.github.astrapi69.model.ChainingModel
- getTargetClass() - Method in interface io.github.astrapi69.model.api.GetAndSet
- getTargetClass() - Method in class io.github.astrapi69.model.property.AbstractGetAndSet
- getTargetClass() - Method in class io.github.astrapi69.model.property.ArrayGetSet
- getTargetClass() - Method in class io.github.astrapi69.model.property.ArrayLengthGetSet
- getTargetClass() - Method in class io.github.astrapi69.model.property.ArrayPropertyGetSet
- getTargetClass() - Method in class io.github.astrapi69.model.property.FieldGetAndSetter
- getTargetClass() - Method in class io.github.astrapi69.model.property.ObjectAndGetSetter
- getValue() - Method in class io.github.astrapi69.model.property.ObjectAndGetSetter
- getValue(Object) - Method in interface io.github.astrapi69.model.api.GetAndSet
- getValue(Object) - Method in class io.github.astrapi69.model.property.ArrayGetSet
- getValue(Object) - Method in class io.github.astrapi69.model.property.ArrayLengthGetSet
- getValue(Object) - Method in class io.github.astrapi69.model.property.ArrayPropertyGetSet
- getValue(Object) - Method in class io.github.astrapi69.model.property.FieldGetAndSetter
- getValue(Object) - Method in class io.github.astrapi69.model.property.ListGetSet
- getValue(Object) - Method in class io.github.astrapi69.model.property.MapGetSet
- getValue(String, Object) - Static method in class io.github.astrapi69.model.property.PropertyResolver
-
Looks up the value from the object with the given expression.
- getWrappedModel() - Method in interface io.github.astrapi69.model.api.IWrapModel
-
Gets the wrapped model.
H
- hashCode(Object...) - Static method in class io.github.astrapi69.model.util.Objects
-
returns hashcode of the objects by calling obj.hashcode(). safe to use when obj is null.
I
- IChainingModel<T> - Interface in io.github.astrapi69.model.api
-
The interface
IChainingModel
provides chaining for model objects. - IDetachable - Interface in io.github.astrapi69.model.api
-
The interface
IDetachable
provides the ability to detach an object that was previously attached to a context. - IMethodResolver - Interface in io.github.astrapi69.model.reflect
-
A resolver of
Method
s. - IModel<T> - Interface in io.github.astrapi69.model.api
-
A IModel decorates the actual model object that can be used by any other UI-Component.
- io.github.astrapi69.model - package io.github.astrapi69.model
- io.github.astrapi69.model.api - package io.github.astrapi69.model.api
- io.github.astrapi69.model.property - package io.github.astrapi69.model.property
- io.github.astrapi69.model.reflect - package io.github.astrapi69.model.reflect
- io.github.astrapi69.model.util - package io.github.astrapi69.model.util
- IObjectClassAwareModel<T> - Interface in io.github.astrapi69.model.api
-
The interface
IObjectClassAwareModel
can resolve the class of the generic type. - IPropertyReflectionAwareModel<T> - Interface in io.github.astrapi69.model.api
-
The interface
IPropertyReflectionAwareModel
provides reflection information about the model object property. - IProxyFactory - Interface in io.github.astrapi69.model.reflect
-
A factory of proxies.
- IProxyFactory.Callback - Interface in io.github.astrapi69.model.reflect
-
Callback to a method invocation on a proxy.
- IS - Static variable in class io.github.astrapi69.model.property.AbstractGetAndSet
- isAttached() - Method in class io.github.astrapi69.model.LoadableDetachableModel
-
Checks if the object is attached.
- isEqual(Object, Object) - Static method in class io.github.astrapi69.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 io.github.astrapi69.model.reflect.Reflection
-
Is the given method a JavaBeans getter.
- isListIndex(Method) - Static method in class io.github.astrapi69.model.reflect.Reflection
-
Does the given method represent a
List
index. - IWrapModel<T> - Interface in io.github.astrapi69.model.api
-
The marker interface
IWrapModel
represents a model that serves as a decorator for another.
L
- LambdaBindingModel<T> - Class in io.github.astrapi69.model
-
LambdaBindingModel
is a basic implementation of anIModel
that can bind two model object together. - LambdaModel<T> - Class in io.github.astrapi69.model
- ListGetSet - Class in io.github.astrapi69.model.property
- ListModel<T> - Class in io.github.astrapi69.model.util
-
Based on
IModel
but for lists of serializable objects. - ListModel(List<T>) - Constructor for class io.github.astrapi69.model.util.ListModel
-
Creates model that will contain
list
. - load() - Method in class io.github.astrapi69.model.LoadableDetachableModel
-
Loads and returns the (temporary) model object.
- LoadableDetachableModel<T> - Class in io.github.astrapi69.model
-
IModel that makes working with detachable models a breeze.
- LoadableDetachableModel(T) - Constructor for class io.github.astrapi69.model.LoadableDetachableModel
-
This constructor is used if you already have the object retrieved and want to wrap it with a detachable model.
- longValue(Object) - Static method in class io.github.astrapi69.model.util.Objects
-
Evaluates the given object as a long integer.
M
- MapGetSet - Class in io.github.astrapi69.model.property
- MapModel<K,
V> - Class in io.github.astrapi69.model.util -
Based on
IModel
but for maps of serializable objects. - MapModel(Map<K, V>) - Constructor for class io.github.astrapi69.model.util.MapModel
-
Creates model that will contain
map
. - model.data - module model.data
-
Copyright (C) 2015 Asterios Raptis Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
N
- newInteger(int, long) - Static method in class io.github.astrapi69.model.util.Objects
-
Returns a new Number object of an appropriate type to hold the given integer value.
- newSerializableCollectionOf(Collection<T>) - Method in class io.github.astrapi69.model.util.CollectionModel
-
Creates a serializable version of the object.
- newSerializableCollectionOf(Collection<T>) - Method in class io.github.astrapi69.model.util.WildcardCollectionModel
-
Creates a serializable version of the object.
- newSerializableCollectionOf(List<T>) - Method in class io.github.astrapi69.model.util.ListModel
-
Creates a serializable version of the object.
- newSerializableCollectionOf(List<T>) - Method in class io.github.astrapi69.model.util.WildcardListModel
-
Creates a serializable version of the object.
- newSerializableCollectionOf(Map<K, V>) - Method in class io.github.astrapi69.model.util.MapModel
-
Creates a serializable version of the object.
- newSerializableCollectionOf(Set<T>) - Method in class io.github.astrapi69.model.util.SetModel
-
Creates a serializable version of the object.
- newSerializableCollectionOf(Set<T>) - Method in class io.github.astrapi69.model.util.WildcardSetModel
-
Creates a serializable version of the object.
- newSerializableCollectionOf(T) - Method in class io.github.astrapi69.model.util.GenericCollectionModel
-
Creates a serializable version of the object.
- newValue(Object) - Method in interface io.github.astrapi69.model.api.GetAndSet
- newValue(Object) - Method in class io.github.astrapi69.model.property.ArrayGetSet
- newValue(Object) - Method in class io.github.astrapi69.model.property.ArrayLengthGetSet
- newValue(Object) - Method in class io.github.astrapi69.model.property.ArrayPropertyGetSet
- newValue(Object) - Method in class io.github.astrapi69.model.property.FieldGetAndSetter
- newValue(Object) - Method in class io.github.astrapi69.model.property.ListGetSet
- newValue(Object) - Method in class io.github.astrapi69.model.property.MapGetSet
O
- ObjectAndGetSetter - Class in io.github.astrapi69.model.property
- ObjectAndGetSetter(GetAndSet, Object) - Constructor for class io.github.astrapi69.model.property.ObjectAndGetSetter
-
Instantiates a new object and get setter.
- Objects - Class in io.github.astrapi69.model.util
-
Object utilities.
- ObjectTypeAware<T> - Interface in io.github.astrapi69.model.api
-
The interface
ObjectTypeAware
can resolve the type of the generic object type. - of() - Static method in class io.github.astrapi69.model.BaseModel
-
Factory methods for IModel which uses type inference to make code shorter.
- of() - Static method in class io.github.astrapi69.model.SerializableModel
-
Factory methods for IModel which uses type inference to make code shorter.
- of(IModel<?>) - Static method in class io.github.astrapi69.model.BaseModel
-
Supresses generics warning when converting model types.
- of(IModel<?>) - Static method in class io.github.astrapi69.model.SerializableModel
-
Supresses generics warning when converting model types.
- of(IModel<X>, IModel<X>, SerializableFunction<X, T>, SerializableBiConsumer<X, T>) - Static method in class io.github.astrapi69.model.LambdaBindingModel
- of(IModel<X>, IModel<Y>, SerializableFunction<X, T>, SerializableBiConsumer<X, T>, SerializableFunction<Y, T>, SerializableBiConsumer<Y, T>) - Static method in class io.github.astrapi69.model.LambdaBindingModel
-
Create a
LambdaBindingModel
for a given source and target model, that will be always up to date for the given property
Usage: - of(IModel<X>, SerializableFunction<X, T>) - Static method in class io.github.astrapi69.model.LambdaModel
-
Create a
LambdaModel
for a given target. - of(IModel<X>, SerializableFunction<X, T>) - Static method in class io.github.astrapi69.model.SimpleLambdaModel
-
Create a
LambdaModel
for a given target. - of(IModel<X>, SerializableFunction<X, T>, SerializableBiConsumer<X, T>) - Static method in class io.github.astrapi69.model.LambdaModel
-
Create a
LambdaModel
for a given target. - of(IModel<X>, SerializableFunction<X, T>, SerializableBiConsumer<X, T>) - Static method in class io.github.astrapi69.model.SimpleLambdaModel
-
Create a
LambdaModel
for a given target. - of(SerializableSupplier<T>, SerializableConsumer<T>) - Static method in class io.github.astrapi69.model.LambdaModel
-
Create a
LambdaModel
. - of(SerializableSupplier<T>, SerializableConsumer<T>) - Static method in class io.github.astrapi69.model.SimpleLambdaModel
-
Create a
LambdaModel
. - of(Object, String) - Static method in class io.github.astrapi69.model.PropertyModel
-
Type-infering factory method.
- of(Collection<C>) - Static method in class io.github.astrapi69.model.util.CollectionModel
-
Factory method for models that contain collections.
- of(Collection<C>) - Static method in class io.github.astrapi69.model.util.WildcardCollectionModel
-
Factory method for models that contain collections.
- of(List<C>) - Static method in class io.github.astrapi69.model.util.ListModel
-
Factory method for models that contain list.
- of(List<C>) - Static method in class io.github.astrapi69.model.util.WildcardListModel
-
Factory method for models that contain lists.
- of(T) - Static method in class io.github.astrapi69.model.BaseModel
-
Factory methods for IModel which uses type inference to make code shorter.
- of(T) - Static method in class io.github.astrapi69.model.SerializableModel
-
Factory methods for IModel which uses type inference to make code shorter.
- ofCollection(Collection<C>) - Static method in class io.github.astrapi69.model.GenericModel
-
Factory method for models that contain collections.
- ofList(List<C>) - Static method in class io.github.astrapi69.model.GenericModel
-
Factory method for models that contain lists.
- ofMap(Map<K, V>) - Static method in class io.github.astrapi69.model.GenericModel
-
Factory method for models that contain maps.
- ofMap(Map<K, V>) - Static method in class io.github.astrapi69.model.util.MapModel
-
Factory method for models that contain maps.
- ofSet(Set<C>) - Static method in class io.github.astrapi69.model.GenericModel
-
Factory method for models that contain sets.
- ofSet(Set<C>) - Static method in class io.github.astrapi69.model.util.SetModel
-
Factory method for models that contain sets.
- ofSet(Set<C>) - Static method in class io.github.astrapi69.model.util.WildcardSetModel
-
Factory method for models that contain sets.
- on(Object, Method, Object[]) - Method in interface io.github.astrapi69.model.reflect.IProxyFactory.Callback
- onAttach() - Method in class io.github.astrapi69.model.LoadableDetachableModel
-
Attaches to the current request.
- onDetach() - Method in class io.github.astrapi69.model.LoadableDetachableModel
-
Detaches from the current request.
P
- propertyExpression() - Method in class io.github.astrapi69.model.AbstractPropertyModel
- propertyExpression() - Method in class io.github.astrapi69.model.PropertyModel
- PropertyModel<T> - Class in io.github.astrapi69.model
-
A PropertyModel is used to dynamically access a model using a "property expression".
- PropertyModel(Object, String) - Constructor for class io.github.astrapi69.model.PropertyModel
-
Construct with a wrapped (IModel) or unwrapped (non-IModel) object and a property expression that works on the given model.
- PropertyResolver - Class in io.github.astrapi69.model.property
-
This class parses expressions to lookup or set a value on the object that is given.
- put(Class<?>, Map<String, GetAndSet>) - Method in interface io.github.astrapi69.model.api.ClassCache
-
Put the class into the cache, or if that class shouldn't be cached do nothing.
- put(Class<?>, Map<String, GetAndSet>) - Method in class io.github.astrapi69.model.property.DefaultClassCache
R
- Reflection - Class in io.github.astrapi69.model.reflect
-
Reflection utilities.
- replaceAll(CharSequence, CharSequence, CharSequence) - Static method in class io.github.astrapi69.model.property.PropertyResolver
-
Replace all occurrences of one string replaceWith another string.
- resultType(Type, Type) - Static method in class io.github.astrapi69.model.reflect.Reflection
-
Get the resulting type of invoking a method.
S
- SerializableBiConsumer<T,
U> - Interface in io.github.astrapi69.model.api -
The functional interface
SerializableBiConsumer
as the name implies extendsBiConsumer
andSerializable
interface - SerializableConsumer<T> - Interface in io.github.astrapi69.model.api
-
The functional interface
SerializableConsumer
as the name implies extendsConsumer
andSerializable
interface - SerializableFunction<T,
R> - Interface in io.github.astrapi69.model.api -
The functional interface
SerializableFunction
as the name implies extendsFunction
andSerializable
interface - SerializableModel<T extends Serializable> - Class in io.github.astrapi69.model
-
The class
SerializableModel
contains only model object that implements theSerializable
interface. - SerializableModel(T) - Constructor for class io.github.astrapi69.model.SerializableModel
-
Instantiates a new
SerializableModel
. - SerializableSupplier<T> - Interface in io.github.astrapi69.model.api
-
The functional interface
SerializableSupplier
as the name implies extendsSupplier
andSerializable
interface - SET - Static variable in class io.github.astrapi69.model.property.AbstractGetAndSet
- setChainedModel(IModel<?>) - Method in interface io.github.astrapi69.model.api.IChainingModel
-
Sets the chained model.
- setChainedModel(IModel<?>) - Method in class io.github.astrapi69.model.ChainingModel
-
Sets the chained model.
- setClassCache(Object, ClassCache) - Static method in class io.github.astrapi69.model.property.PropertyResolver
-
Sets the
ClassCache
for the given application. - SetModel<T> - Class in io.github.astrapi69.model.util
-
Based on
IModel
but for sets of serializable objects. - SetModel(Set<T>) - Constructor for class io.github.astrapi69.model.util.SetModel
-
Creates model that will contain
set
. - setObject(T) - Method in class io.github.astrapi69.model.AbstractPropertyModel
-
Applies the property expression on the model object using the given object argument.
- setObject(T) - Method in interface io.github.astrapi69.model.api.IModel
-
Sets the model object.
- setObject(T) - Method in class io.github.astrapi69.model.ChainingModel
-
Sets the model object.
- setObject(T) - Method in class io.github.astrapi69.model.LambdaBindingModel
- setObject(T) - Method in class io.github.astrapi69.model.LambdaModel
- setObject(T) - Method in class io.github.astrapi69.model.LoadableDetachableModel
-
Manually loads the model with the specified object.
- setObject(T) - Method in class io.github.astrapi69.model.SerializableModel
-
Set the model object; calls setObject(java.io.Serializable).
- setObject(T) - Method in class io.github.astrapi69.model.SimpleLambdaModel
-
Sets the model object.
- setObject(T) - Method in class io.github.astrapi69.model.util.GenericCollectionModel
-
Sets the model object.
- setTarget(Object) - Method in class io.github.astrapi69.model.ChainingModel
-
Sets a new target - object or model.
- setValue(Object) - Method in class io.github.astrapi69.model.property.ObjectAndGetSetter
-
Sets the value.
- setValue(Object, Object) - Method in interface io.github.astrapi69.model.api.GetAndSet
-
Sets the value.
- setValue(Object, Object) - Method in class io.github.astrapi69.model.property.ArrayGetSet
-
Sets the value.
- setValue(Object, Object) - Method in class io.github.astrapi69.model.property.ArrayLengthGetSet
-
Sets the value.
- setValue(Object, Object) - Method in class io.github.astrapi69.model.property.ArrayPropertyGetSet
-
Sets the value.
- setValue(Object, Object) - Method in class io.github.astrapi69.model.property.FieldGetAndSetter
-
Sets the value.
- setValue(Object, Object) - Method in class io.github.astrapi69.model.property.ListGetSet
-
Sets the value.
- setValue(Object, Object) - Method in class io.github.astrapi69.model.property.MapGetSet
-
Sets the value.
- setValue(String, Object, Object) - Static method in class io.github.astrapi69.model.property.PropertyResolver
-
Set the value on the object with the given expression.
- SimpleLambdaModel<T> - Class in io.github.astrapi69.model
- SimpleLambdaModel() - Constructor for class io.github.astrapi69.model.SimpleLambdaModel
- stringValue(Object) - Static method in class io.github.astrapi69.model.util.Objects
-
Evaluates the given object as a String.
- stringValue(Object, boolean) - Static method in class io.github.astrapi69.model.util.Objects
-
Evaluates the given object as a String and trims it if the trim flag is true.
T
- toString() - Method in class io.github.astrapi69.model.ChainingModel
- toString() - Method in class io.github.astrapi69.model.LoadableDetachableModel
- toString() - Method in class io.github.astrapi69.model.PropertyModel
V
- variableType(ParameterizedType, TypeVariable<?>) - Static method in class io.github.astrapi69.model.reflect.Reflection
-
Get the type for a class type variable.
W
- WildcardCollectionModel<T> - Class in io.github.astrapi69.model.util
-
Based on
IModel
but for any collections of serializable objects. - WildcardCollectionModel(Collection<T>) - Constructor for class io.github.astrapi69.model.util.WildcardCollectionModel
-
Creates model that will contain
collection
. - WildcardListModel<T> - Class in io.github.astrapi69.model.util
-
Based on
IModel
but for lists of serializable objects. - WildcardListModel(List<T>) - Constructor for class io.github.astrapi69.model.util.WildcardListModel
-
Creates model that will contain
list
. - WildcardSetModel<T> - Class in io.github.astrapi69.model.util
-
Based on
IModel
but for sets of serializable objects. - WildcardSetModel(Set<T>) - Constructor for class io.github.astrapi69.model.util.WildcardSetModel
-
Creates model that will contain
set
.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form