A B C D E F G H I J L M N O P R S T U V W 
All Classes All Packages

A

allFieldsModified() - Method in interface org.coliper.ibean.extension.ModificationAwareExt
Checks if every field has been set since creation or ModificationAware.resetModified().
allFieldsModified() - Method in class org.coliper.ibean.proxy.handler.ModificationAwareHandler
 
areClassesRelated(Class<?>, Class<?>) - Static method in class org.coliper.ibean.util.ReflectionUtil
Determines if two classes are linked in a class hierarchy.
assertComplete() - Method in interface org.coliper.ibean.extension.Completable
Checks if all (non-optional) bean fields are not null.
assertForBeanType(Class<?>, boolean, String) - Static method in class org.coliper.ibean.BeanStyle
Throws an InvalidIBeanTypeException if a given condition is not met.

B

beanFactory() - Method in class org.coliper.ibean.proxy.IBeanContext
Provides the factory that created the IBean.
BeanFrozenException - Exception in org.coliper.ibean.extension
Thrown from beans that are extended with Freezable interface when their status is frozen and a setter is called.
BeanFrozenException() - Constructor for exception org.coliper.ibean.extension.BeanFrozenException
Creates a new BeanFrozenException.
BeanIncompleteException - Exception in org.coliper.ibean.extension
Thrown from beans that are extended with the Completable interface when calling Completable.assertComplete() in case the bean still has unset fields.
BeanIncompleteException() - Constructor for exception org.coliper.ibean.extension.BeanIncompleteException
 
beanStyle() - Method in class org.coliper.ibean.IBeanTypeMetaInfo
Gives the bean style the bean type complies to.
beanStyle() - Method in class org.coliper.ibean.proxy.IBeanContext
Provides the BeanStyle of the IBean.
BeanStyle - Class in org.coliper.ibean
BeanStyle defines general rules about the signatures of getter and setter methods of a bean.
BeanStyle() - Constructor for class org.coliper.ibean.BeanStyle
 
beanStyleHandler() - Method in class org.coliper.ibean.proxy.IBeanContext
Provides the BeanStyleHandler used by the bean factory to deal with the given BeanStyle.
BeanStyleHandler - Interface in org.coliper.ibean.proxy
BeanStyleHandlers are used by the ProxyIBeanFactory to deal with BeanStyles that differ from the classic bean style in their runtime behavior.
beanType() - Method in class org.coliper.ibean.IBeanTypeMetaInfo
Gives the related bean type.
build() - Method in class org.coliper.ibean.proxy.ProxyIBeanFactory.Builder
Finally creates the specified ProxyIBeanFactory.
builder() - Static method in class org.coliper.ibean.proxy.ProxyIBeanFactory
Creates a ProxyIBeanFactory.Builder for setting up a new ProxyIBeanFactory.

C

CachedIBeanMetaInfoParser - Class in org.coliper.ibean
Extension of IBeanMetaInfoParser using an internal cache to reuse meta information once created with CachedIBeanMetaInfoParser.parse(Class, BeanStyle, List).
CachedIBeanMetaInfoParser() - Constructor for class org.coliper.ibean.CachedIBeanMetaInfoParser
 
CLASSIC - Static variable in class org.coliper.ibean.BeanStyle
Predefined bean style following the commonly known Java beans specification.
CLASSIC_WITH_OPTIONAL - Static variable in class org.coliper.ibean.BeanStyle
Predefined bean style with a different naming of the setters and getters and with Optional support in getters.
CLASSIC_WITH_OPTIONAL_SUPPORT_HANDLER - Static variable in interface org.coliper.ibean.proxy.BeanStyleHandler
ClassicBeanStyle - Class in org.coliper.ibean.beanstyle
A BeanStyle implementation that reflects beans of traditional Java bean style as defined in the Java Bean Specification.
ClassicBeanStyle() - Constructor for class org.coliper.ibean.beanstyle.ClassicBeanStyle
 
ClassicBeanStyleWithOptionalSupport - Class in org.coliper.ibean.beanstyle
A BeanStyle implementation that is identical to the ClassicBeanStyle but has also Optional support.
ClassicBeanStyleWithOptionalSupport() - Constructor for class org.coliper.ibean.beanstyle.ClassicBeanStyleWithOptionalSupport
clone() - Method in interface org.coliper.ibean.extension.CloneableBean
Creates a copy of this bean, having the same field values but having an initial state on any extension interface.
CloneableBean<T> - Interface in org.coliper.ibean.extension
Enables cloning of beans via Object.clone().
CloneableHandler - Class in org.coliper.ibean.proxy.handler
ExtensionHandler implementation for bean extension interface CloneableBean.
CloneableHandler() - Constructor for class org.coliper.ibean.proxy.handler.CloneableHandler
 
Completable<T> - Interface in org.coliper.ibean.extension
Extension interface that allows runtime checking whether all fields of a bean have been initialized, that is, are not null.
The generic type T should always be set to the bean type.
CompletableHandler - Class in org.coliper.ibean.proxy.handler
ExtensionHandler implementation for bean extension interface Completable.
CompletableHandler() - Constructor for class org.coliper.ibean.proxy.handler.CompletableHandler
 
convertGetterNameToFieldName(String) - Method in class org.coliper.ibean.beanstyle.ClassicBeanStyle
Cuts off "get" and decapitalizes the first character of the remaining.
convertGetterNameToFieldName(String) - Method in class org.coliper.ibean.BeanStyle
Derives the name of a bean field from the name of its corresponding getter method.
convertGetterNameToFieldName(String) - Method in class org.coliper.ibean.beanstyle.ModernBeanStyle
 
convertReturnValueOfGetterCall(Class<?>, Object) - Method in interface org.coliper.ibean.proxy.BeanStyleHandler
This method is called during runtime of a bean, more precisely, always when getters of a bean are called to adjust the type of the return value of the getter method.
This method is only called for bean styles that allow getter methods that do not match to the type of the field.
convertSetterNameToFieldName(String) - Method in class org.coliper.ibean.beanstyle.ClassicBeanStyle
Cuts off "set" and decapitalizes the first character of the remaining.
convertSetterNameToFieldName(String) - Method in class org.coliper.ibean.BeanStyle
Derives the name of a bean field from the name of its corresponding setter method.
convertSetterNameToFieldName(String) - Method in class org.coliper.ibean.beanstyle.ModernBeanStyle
 
create(Class<T>) - Method in interface org.coliper.ibean.IBeanFactory
Creates a new instance of a given bean type.
create(Class<T>) - Method in class org.coliper.ibean.proxy.ProxyIBeanFactory
 
createReturnValueForSetterCall(Object, Method, Object) - Method in interface org.coliper.ibean.proxy.BeanStyleHandler
This method is called during runtime of a bean, more precisely, always when setters of a bean are called to assemble the return value of the setter method.
This method is only called for bean styles that allow setter methods that do not return void.
customEqualsMethod() - Method in class org.coliper.ibean.IBeanTypeMetaInfo
Provides a method containing custom implementation of Object.equals().
customHashCodeMethod() - Method in class org.coliper.ibean.IBeanTypeMetaInfo
Provides a method containing custom implementation of Object.hashCode().

D

deepClone() - Method in interface org.coliper.ibean.extension.CloneableBean
Creates a copy of this bean with the same field values.
DEFAULT_HANDLER - Static variable in interface org.coliper.ibean.proxy.BeanStyleHandler
BeanStyleHandler for ClassicBeanStyle.
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class org.coliper.ibean.extension.GsonSerializerDeserializerForIBeans
 
determineFieldTypeFromGetterAndSetter(Class<?>, Method, Method) - Method in class org.coliper.ibean.beanstyle.ClassicBeanStyle
 
determineFieldTypeFromGetterAndSetter(Class<?>, Method, Method) - Method in class org.coliper.ibean.beanstyle.ClassicBeanStyleWithOptionalSupport
 
determineFieldTypeFromGetterAndSetter(Class<?>, Method, Method) - Method in class org.coliper.ibean.BeanStyle
Determines the type of a bean field from given corresponding getter and setter method.
determineFieldTypeFromGetterAndSetter(Class<?>, Method, Method) - Method in class org.coliper.ibean.beanstyle.ModernBeanStyle
 
doesMethodBelongToType(Method, Class<?>) - Static method in class org.coliper.ibean.util.ReflectionUtil
Checks if method belongs to a given type or super-type.

E

equals(Object) - Method in class org.coliper.ibean.BeanStyle
As stateless we treat all instances of one BeanStyle sub class as equal.
equals(Object) - Method in class org.coliper.ibean.IBeanFieldMetaInfo
Compares this instance with any other object, preferably with another IBeanFieldMetaInfo.
equals(Object) - Method in class org.coliper.ibean.IBeanTypeMetaInfo
Compares this instance with any other object preferably with another IBeanTypeMetaInfo.
executeWithCycleDetection(Object, Object[], Supplier<T>) - Method in class org.coliper.ibean.util.RecursionCycleDetector
Checks a method call for a recursion cycle and if no cycle is detected executes a given lambda expression.
executeWithCycleDetection(Object, Supplier<T>) - Method in class org.coliper.ibean.util.RecursionCycleDetector
Short for executeWithCycleDetection(instance, null, functionToExecute).
ExtensionHandler - Interface in org.coliper.ibean.proxy
ExtensionHandlers contain the logic for handling calls to extension interfaces of IBeans.
ExtensionSupport - Class in org.coliper.ibean.proxy
Bundles an ExtensionHandler with its supported interfaces.
ExtensionSupport(Class<?>, Class<? extends ExtensionHandler>, boolean) - Constructor for class org.coliper.ibean.proxy.ExtensionSupport
Creates a new immutable ExtensionSupport.

F

fieldMetaInfos() - Method in class org.coliper.ibean.IBeanTypeMetaInfo
Provides IBeanFieldMetaInfo for all fields of the bean type.
fieldName() - Method in class org.coliper.ibean.IBeanFieldMetaInfo
Provides the name of the field belonging to the IBean type.
fieldType() - Method in class org.coliper.ibean.IBeanFieldMetaInfo
Provides the type of the field.
findFieldMetaWithFieldName(String) - Method in class org.coliper.ibean.IBeanTypeMetaInfo
Iterates over all contained IBeanFieldMetaInfo and returns the field meta info that belongs to a field with a given name.
findFieldMetaWithMethod(Method) - Method in class org.coliper.ibean.IBeanTypeMetaInfo
Iterates over all contained IBeanFieldMetaInfo and returns the field meta info that contains the given method either as setter or as getter.
Freezable<T> - Interface in org.coliper.ibean.extension
Extension interface that allows setting the status of a bean to immutable ("frozen") by preventing all further setter calls.
The generic type T of this interface should be set to the bean type.
FreezableHandler - Class in org.coliper.ibean.proxy.handler
ExtensionHandler implementation for bean extension interface Freezable and TempFreezable.
FreezableHandler() - Constructor for class org.coliper.ibean.proxy.handler.FreezableHandler
 
freeze() - Method in interface org.coliper.ibean.extension.Freezable
Set the bean to immutable and prevents all further setter calls.
freeze() - Method in class org.coliper.ibean.proxy.handler.FreezableHandler
 

G

getFieldValue(String) - Method in interface org.coliper.ibean.proxy.IBeanFieldAccess
Retrieves the value of a bean field.
getFieldValue(IBeanFieldMetaInfo) - Method in interface org.coliper.ibean.proxy.IBeanFieldAccess
Retrieves the value of a bean field.
getModifiedFieldNames() - Method in interface org.coliper.ibean.extension.ModificationAwareExt
Gives the names of all bean fields that have been modified since creation or respectively since the last call of ModificationAware.resetModified().
getModifiedFieldNames() - Method in class org.coliper.ibean.proxy.handler.ModificationAwareHandler
 
getModuleName() - Method in class org.coliper.ibean.extension.Jackson2ModuleForIBeans
Returns "Jackson2ModuleForIBeans" as name of the Jackson2 Module.
getSuperTypesInclRoot(Class<?>) - Static method in class org.coliper.ibean.util.ReflectionUtil
Collects all classes and interfaces a given type extends or implements.
getterMethod() - Method in class org.coliper.ibean.IBeanFieldMetaInfo
Provides the getter method in the bean type related to the field.
GsonSerializerDeserializerForIBeans - Class in org.coliper.ibean.extension
JSON serializer/deserializer used with Gson to convert IBeans with extension interface GsonSupport from and to JSON.
GsonSerializerDeserializerForIBeans() - Constructor for class org.coliper.ibean.extension.GsonSerializerDeserializerForIBeans
Creates a new GsonSerializerDeserializerForIBeans with no IBeanFactory preset.
GsonSerializerDeserializerForIBeans(IBeanFactory) - Constructor for class org.coliper.ibean.extension.GsonSerializerDeserializerForIBeans
Creates a new GsonSerializerDeserializerForIBeans with a given IBeanFactory preset.
GsonSupport - Interface in org.coliper.ibean.extension
Extension interface that makes IBeans serializable and deserializable with Gson.
GsonSupportHandler - Class in org.coliper.ibean.proxy.handler
ExtensionHandler implementation for bean extension interface GsonSupport.
GsonSupportHandler() - Constructor for class org.coliper.ibean.proxy.handler.GsonSupportHandler
 

H

handleExtendedInterfaceCall(IBeanContext<?>, IBeanFieldAccess, Object, Method, Object[]) - Method in interface org.coliper.ibean.proxy.ExtensionHandler
Handles all calls to methods of its related extension interface.
handleExtendedInterfaceCall(IBeanContext<?>, IBeanFieldAccess, Object, Method, Object[]) - Method in class org.coliper.ibean.proxy.handler.CloneableHandler
 
handleExtendedInterfaceCall(IBeanContext<?>, IBeanFieldAccess, Object, Method, Object[]) - Method in class org.coliper.ibean.proxy.handler.CompletableHandler
 
handleExtendedInterfaceCall(IBeanContext<?>, IBeanFieldAccess, Object, Method, Object[]) - Method in class org.coliper.ibean.proxy.handler.GsonSupportHandler
 
handleExtendedInterfaceCall(IBeanContext<?>, IBeanFieldAccess, Object, Method, Object[]) - Method in class org.coliper.ibean.proxy.handler.Jackson2SupportHandler
 
handleExtendedInterfaceCall(IBeanContext<?>, IBeanFieldAccess, Object, Method, Object[]) - Method in class org.coliper.ibean.proxy.handler.StatefulExtensionHandler
This default implementation re-calls the interface method onto the handler itself assuming the handler implements the extension interface as well.
handleExtendedInterfaceCall(IBeanContext<?>, IBeanFieldAccess, Object, Method, Object[]) - Method in class org.coliper.ibean.proxy.handler.StatelessExtensionHandler
This default implementation always throws a UnsupportedOperationException.
handlerStateful() - Method in class org.coliper.ibean.proxy.ExtensionSupport
Returns true if the handler is stateful and needs to have an individual instance per IBean object.
handlerType() - Method in class org.coliper.ibean.proxy.ExtensionSupport
Provides the ExtensionHandler implementation responsible for the supported interface.
hasGetterMethodSignature(Method) - Method in class org.coliper.ibean.beanstyle.ClassicBeanStyle
 
hashCode() - Method in class org.coliper.ibean.BeanStyle
 
hashCode() - Method in class org.coliper.ibean.IBeanFieldMetaInfo
 
hashCode() - Method in class org.coliper.ibean.IBeanTypeMetaInfo
 
hasSetterMethodSignature(Method) - Method in class org.coliper.ibean.beanstyle.ClassicBeanStyle
 

I

IBean - Class in org.coliper.ibean
Used for creating new IBean instances.
IBean() - Constructor for class org.coliper.ibean.IBean
 
IBeanContext<T> - Class in org.coliper.ibean.proxy
IBeanContext is provided to ExtensionHandlers to provide them information about the context of a IBean method call.
IBeanFactory - Interface in org.coliper.ibean
Creates IBean instances for given bean interfaces.
IBeanFieldAccess - Interface in org.coliper.ibean.proxy
Interface provided to ExtensionHandlers to gain access to the field values of their corresponding proxy bean.
IBeanFieldMetaInfo - Class in org.coliper.ibean
Meta description of a field belonging to an IBean, more precisely does it provide name, type, getter method and setter method of the field.
IBeanFieldMetaInfo(String, Class<?>, Method, Method, int) - Constructor for class org.coliper.ibean.IBeanFieldMetaInfo
Creates a new IBeanFieldMetaInfo by providing all required meta information.
IBeanMetaInfoParser - Class in org.coliper.ibean
Used for creating IBean relevant meta information for a given IBean interface.
IBeanMetaInfoParser() - Constructor for class org.coliper.ibean.IBeanMetaInfoParser
 
IBeanTypeMetaInfo<T> - Class in org.coliper.ibean
Class that holds all IBean relevant meta information about a specific bean type, mainly a list of all contained fields.
IBeanTypeMetaInfo(Class<T>, BeanStyle, List<IBeanFieldMetaInfo>, Method, Method) - Constructor for class org.coliper.ibean.IBeanTypeMetaInfo
Creates a new IBeanTypeMetaInfo with all contained information.
INSTANCE - Static variable in class org.coliper.ibean.beanstyle.ClassicBeanStyle
 
INSTANCE - Static variable in class org.coliper.ibean.beanstyle.ClassicBeanStyleWithOptionalSupport
 
INSTANCE - Static variable in class org.coliper.ibean.beanstyle.ModernBeanStyle
 
interceptGetterCall(IBeanContext<?>, IBeanFieldMetaInfo, Object, Object) - Method in interface org.coliper.ibean.proxy.ExtensionHandler
Called as an optional hook with every getter call on an IBean.
interceptGetterCall(IBeanContext<?>, IBeanFieldMetaInfo, Object, Object) - Method in class org.coliper.ibean.proxy.handler.LazyInitHandler
 
interceptGetterCall(IBeanContext<?>, IBeanFieldMetaInfo, Object, Object) - Method in class org.coliper.ibean.proxy.handler.NullSafeHandler
 
interceptSetterCall(IBeanContext<?>, IBeanFieldMetaInfo, Object, Object) - Method in interface org.coliper.ibean.proxy.ExtensionHandler
Called as an optional hook with every setter call on an IBean.
interceptSetterCall(IBeanContext<?>, IBeanFieldMetaInfo, Object, Object) - Method in class org.coliper.ibean.proxy.handler.FreezableHandler
 
interceptSetterCall(IBeanContext<?>, IBeanFieldMetaInfo, Object, Object) - Method in class org.coliper.ibean.proxy.handler.ModificationAwareHandler
 
InvalidIBeanTypeException - Exception in org.coliper.ibean
Thrown when a class is provided to be used as an IBean type but the class does not match the necessary criteria.
InvalidIBeanTypeException(Class<?>, String) - Constructor for exception org.coliper.ibean.InvalidIBeanTypeException
Creates a new InvalidIBeanTypeException.
invokeMethodUnchecked(Object, Method) - Static method in class org.coliper.ibean.util.ReflectionUtil
Calls Method.invoke(Object, Object...) on the given method but catches away all thrown Exceptions.
isComplete() - Method in interface org.coliper.ibean.extension.Completable
 
isFrozen() - Method in interface org.coliper.ibean.extension.Freezable
 
isFrozen() - Method in class org.coliper.ibean.proxy.handler.FreezableHandler
 
isGetterMethod(Method) - Method in class org.coliper.ibean.beanstyle.ClassicBeanStyle
Checks if the given method does not return void has no arguments and has a name that has at least four characters and starts with "get" or "is" for boolean properties
isGetterMethod(Method) - Method in class org.coliper.ibean.BeanStyle
Determines if a given method is a potential getter method for this bean type.
isGetterMethod(Method) - Method in class org.coliper.ibean.beanstyle.ModernBeanStyle
 
isModified() - Method in interface org.coliper.ibean.extension.ModificationAware
 
isModified() - Method in class org.coliper.ibean.proxy.handler.ModificationAwareHandler
 
isNoParameterInMethod(Method) - Static method in class org.coliper.ibean.BeanStyle
Helper method checking if a given method has no arguments.
isOneParameterInMethod(Method) - Static method in class org.coliper.ibean.BeanStyle
Helper method checking if a given method has exactly one argument.
isSetterMethod(Method) - Method in class org.coliper.ibean.beanstyle.ClassicBeanStyle
Checks if the given method returns void has exactly one arguments and has a name that has at least four characters and starts with "set"
isSetterMethod(Method) - Method in class org.coliper.ibean.BeanStyle
Determines if a given method is a potential setter method for this bean type.
isSetterMethod(Method) - Method in class org.coliper.ibean.beanstyle.ModernBeanStyle
 

J

Jackson2ModuleForIBeans - Class in org.coliper.ibean.extension
Jackson2 configuration Module for IBean support.
Jackson2ModuleForIBeans() - Constructor for class org.coliper.ibean.extension.Jackson2ModuleForIBeans
Creates a Jackson2ModuleForIBeans without having a IBeanFactory provided.
Jackson2ModuleForIBeans(IBeanFactory) - Constructor for class org.coliper.ibean.extension.Jackson2ModuleForIBeans
Creates a Jackson2ModuleForIBeans for a given IBeanFactory.
Jackson2Support - Interface in org.coliper.ibean.extension
Extension interface that makes IBeans serializable and deserializable with Jackson2.
Jackson2SupportHandler - Class in org.coliper.ibean.proxy.handler
ExtensionHandler implementation for bean extension interface Jackson2Support.
Jackson2SupportHandler() - Constructor for class org.coliper.ibean.proxy.handler.Jackson2SupportHandler
 

L

LazyInit - Interface in org.coliper.ibean.extension
Extension interface that supports with on-the-fly creation of nested IBeans.
LazyInitChild - Interface in org.coliper.ibean.extension
Extension interface that supports with on-the-fly creation of nested IBeans.
LazyInitHandler - Class in org.coliper.ibean.proxy.handler
ExtensionHandler implementation for bean extension interfaces LazyInit, LazyInitParent and LazyInitChild.
LazyInitHandler() - Constructor for class org.coliper.ibean.proxy.handler.LazyInitHandler
 
LazyInitParent - Interface in org.coliper.ibean.extension
Extension interface that supports with on-the-fly creation of nested IBeans.
lookupInterfaceMethod(Class<T>, Consumer<T>) - Static method in class org.coliper.ibean.util.ReflectionUtil
 

M

metaInfo() - Method in class org.coliper.ibean.proxy.IBeanContext
Provides the meta information about the IBean.
MODERN - Static variable in class org.coliper.ibean.BeanStyle
Predefined bean style mostly following the commonly known Java beans specification with the exception of an Optional support in getters.
MODERN_HANDLER - Static variable in interface org.coliper.ibean.proxy.BeanStyleHandler
BeanStyleHandler for ModernBeanStyle.
ModernBeanStyle - Class in org.coliper.ibean.beanstyle
A BeanStyle implementation that has getters and setters named equal to the property and that return "this" from setters to allow setter chaining.
ModernBeanStyle() - Constructor for class org.coliper.ibean.beanstyle.ModernBeanStyle
 
ModificationAware - Interface in org.coliper.ibean.extension
Extension interface that gives the possibility to check if a bean has been modified since creation or last reset of the modification flag (via ModificationAware.resetModified()).
A bean is considered as modified as soon as a setter has been called, regardless if the setter call actually changed the value of the field.
If you need to know in detail which fields had been modified use sub interface ModificationAwareExt.
ModificationAwareExt - Interface in org.coliper.ibean.extension
Extends ModificationAware with functionality to determine which fields have been modified.
ModificationAwareHandler - Class in org.coliper.ibean.proxy.handler
ExtensionHandler implementation for bean extension interface ModificationAware and ModificationAwareExt.
ModificationAwareHandler() - Constructor for class org.coliper.ibean.proxy.handler.ModificationAwareHandler
 

N

newOf(Class<T>) - Static method in class org.coliper.ibean.IBean
 
noOfFields() - Method in class org.coliper.ibean.IBeanTypeMetaInfo
Convenience method returning the number of fields contained in the bean type.
NullSafe - Interface in org.coliper.ibean.extension
Marker extension interface that injects getter calls in a way that if a getter is called on a field with value null it throws an NullSafetyException.
NullSafeHandler - Class in org.coliper.ibean.proxy.handler
ExtensionHandler implementation for bean extension interface NullSafe.
NullSafeHandler() - Constructor for class org.coliper.ibean.proxy.handler.NullSafeHandler
 
NullSafetyException - Exception in org.coliper.ibean.extension
Thrown from getter methods from beans that extend NullSafe in case the value of the field is null.
NullSafetyException(String) - Constructor for exception org.coliper.ibean.extension.NullSafetyException
 

O

onInitStateful(Object, IBeanTypeMetaInfo<?>, IBeanFactory) - Method in interface org.coliper.ibean.proxy.ExtensionHandler
Initialization method for stateful handlers that is called after initialization of the IBean.
onInitStateful(Object, IBeanTypeMetaInfo<?>, IBeanFactory) - Method in class org.coliper.ibean.proxy.handler.FreezableHandler
 
onInitStateful(Object, IBeanTypeMetaInfo<?>, IBeanFactory) - Method in class org.coliper.ibean.proxy.handler.LazyInitHandler
 
onInitStateful(Object, IBeanTypeMetaInfo<?>, IBeanFactory) - Method in class org.coliper.ibean.proxy.handler.ModificationAwareHandler
 
ordinal() - Method in class org.coliper.ibean.IBeanFieldMetaInfo
Provides the sorting index of the field within its IBeanTypeMetaInfo.
org.coliper.ibean - package org.coliper.ibean
Core package of the IBean framework containing the core framework classes IBean and IBeanFactory.
org.coliper.ibean.beanstyle - package org.coliper.ibean.beanstyle
Contains variations of bean styles as subclasses of BeanStyle.
org.coliper.ibean.extension - package org.coliper.ibean.extension
Contains all extension interfaces that are supported out of the box by IBean.
org.coliper.ibean.proxy - package org.coliper.ibean.proxy
Contains an IBeanFactory implementation that uses Java proxy technology (see Proxy).
org.coliper.ibean.proxy.handler - package org.coliper.ibean.proxy.handler
IBean internal package that contains all ProxyIBeanFactory related ExtensionHandlers for the predefined extension interfaces.
org.coliper.ibean.util - package org.coliper.ibean.util
Mainly contains utility classes for internal use in the IBean library.

P

parse(Class<T>, BeanStyle, List<Class<?>>) - Method in class org.coliper.ibean.CachedIBeanMetaInfoParser
 
parse(Class<T>, BeanStyle, List<Class<?>>) - Method in class org.coliper.ibean.IBeanMetaInfoParser
Validates if a given class matches all criteria for being an IBean interface and if that is the case then retrieves all relevant information about the all fields contained in the class.
primitiveTypeDefaultValue(Class<?>) - Static method in class org.coliper.ibean.util.ReflectionUtil
Returnes the default value for a given primitive type, basically all flavours of zero for the number types and false for boolean.class.
ProxyIBeanFactory - Class in org.coliper.ibean.proxy
Default implementation of IBeanFactory based on Java Proxy technology.
ProxyIBeanFactory.Builder - Class in org.coliper.ibean.proxy
Used for creating new instances of ProxyIBeanFactory.

R

readFromJsonObject(JsonObject, JsonDeserializationContext) - Method in interface org.coliper.ibean.extension.GsonSupport
Reads the field values from a JsonObject and sets the fields of this IBean to the retrieved values.
readFromJsonParser(JsonParser, DeserializationContext) - Method in interface org.coliper.ibean.extension.Jackson2Support
Reads the field values from a JsonParser and sets the fields of this IBean to the retrieved values.
RecursionCycleDetector<T> - Class in org.coliper.ibean.util
Utility class to help detecting endless loops in recusive methods.
RecursionCycleDetector(T) - Constructor for class org.coliper.ibean.util.RecursionCycleDetector
Create a new RecursionCycleDetector used with in a method with return type T.
ReflectionUtil - Class in org.coliper.ibean.util
Contains static helper methods related to classes and reflection.
resetModified() - Method in interface org.coliper.ibean.extension.ModificationAware
Sets a bean to not modified.
resetModified() - Method in class org.coliper.ibean.proxy.handler.ModificationAwareHandler
 
resetToDefaultFactory() - Static method in class org.coliper.ibean.IBean
 

S

serialize(GsonSupport, Type, JsonSerializationContext) - Method in class org.coliper.ibean.extension.GsonSerializerDeserializerForIBeans
 
setFactory(IBeanFactory) - Static method in class org.coliper.ibean.IBean
 
setFieldValue(String, Object) - Method in interface org.coliper.ibean.proxy.IBeanFieldAccess
Changes the value of a field to the specified value.
setFieldValue(IBeanFieldMetaInfo, Object) - Method in interface org.coliper.ibean.proxy.IBeanFieldAccess
Changes the value of a field to the specified value.
setterMethod() - Method in class org.coliper.ibean.IBeanFieldMetaInfo
Provides the setter method in the bean type related to the field.
setupModule(Module.SetupContext) - Method in class org.coliper.ibean.extension.Jackson2ModuleForIBeans
Registers a deserializer factory (Deserializers) that supports any Jackson2Support sub-interface.
StatefulExtensionHandler - Class in org.coliper.ibean.proxy.handler
/** Abstract base class for ExtensionHandler implementations that need to maintain their own state.
StatefulExtensionHandler() - Constructor for class org.coliper.ibean.proxy.handler.StatefulExtensionHandler
 
StatelessExtensionHandler - Class in org.coliper.ibean.proxy.handler
Abstract base class for ExtensionHandler implementations that do not have to maintain their own state.
StatelessExtensionHandler() - Constructor for class org.coliper.ibean.proxy.handler.StatelessExtensionHandler
 
SUPPORT - Static variable in class org.coliper.ibean.proxy.handler.CloneableHandler
ExtensionSupport related to this handler supposed to be used when configuring extension handlers in IBeanFactorys, for example in ProxyIBeanFactory.Builder.withInterfaceSupport(ExtensionSupport).
SUPPORT - Static variable in class org.coliper.ibean.proxy.handler.CompletableHandler
ExtensionSupport related to this handler supposed to be used when configuring extension handlers in IBeanFactorys, for example in ProxyIBeanFactory.Builder.withInterfaceSupport(ExtensionSupport).
SUPPORT - Static variable in class org.coliper.ibean.proxy.handler.FreezableHandler
ExtensionSupport related to this handler supposed to be used when configuring extension handlers in IBeanFactorys, for example in ProxyIBeanFactory.Builder.withInterfaceSupport(ExtensionSupport).
SUPPORT - Static variable in class org.coliper.ibean.proxy.handler.GsonSupportHandler
ExtensionSupport related to this handler supposed to be used when configuring extension handlers in IBeanFactorys, for example in ProxyIBeanFactory.Builder.withInterfaceSupport(ExtensionSupport).
SUPPORT - Static variable in class org.coliper.ibean.proxy.handler.Jackson2SupportHandler
ExtensionSupport related to this handler supposed to be used when configuring extension handlers in IBeanFactorys, for example in ProxyIBeanFactory.Builder.withInterfaceSupport(ExtensionSupport).
SUPPORT - Static variable in class org.coliper.ibean.proxy.handler.LazyInitHandler
ExtensionSupport related to this handler supposed to be used when configuring extension handlers in IBeanFactorys, for example in ProxyIBeanFactory.Builder.withInterfaceSupport(ExtensionSupport).
SUPPORT - Static variable in class org.coliper.ibean.proxy.handler.ModificationAwareHandler
ExtensionSupport related to this handler supposed to be used when configuring extension handlers in IBeanFactorys, for example in ProxyIBeanFactory.Builder.withInterfaceSupport(ExtensionSupport).
SUPPORT - Static variable in class org.coliper.ibean.proxy.handler.NullSafeHandler
ExtensionSupport related to this handler supposed to be used when configuring extension handlers in IBeanFactorys, for example in ProxyIBeanFactory.Builder.withInterfaceSupport(ExtensionSupport).
supportedInterface() - Method in class org.coliper.ibean.proxy.ExtensionSupport
Provides the interface that is covered by the corresponding handler.
supportedInterfaceAndSuperInterfaces() - Method in class org.coliper.ibean.proxy.ExtensionSupport
Returns the ExtensionSupport.supportedInterface() together with all sub-interfaces of that interface.

T

TempFreezable<T> - Interface in org.coliper.ibean.extension
Extension of the Freezable interface that gives the possibility to change a bean from an immutable (frozen) state back to a mutable state.
Could for example used to freeze beans only for usage in certain portions of the code where they are not supposed to be modified.
toString() - Method in class org.coliper.ibean.IBeanFieldMetaInfo
 
toString() - Method in class org.coliper.ibean.IBeanTypeMetaInfo
 
toStringStyle() - Method in class org.coliper.ibean.proxy.IBeanContext
Provides the style used in IBean's Object.toString() method.

U

unfreeze() - Method in interface org.coliper.ibean.extension.TempFreezable
 
unfreeze() - Method in class org.coliper.ibean.proxy.handler.FreezableHandler
 

V

version() - Method in class org.coliper.ibean.extension.Jackson2ModuleForIBeans
Returns Version.unknownVersion().

W

withBeanStyle(BeanStyle) - Method in class org.coliper.ibean.proxy.ProxyIBeanFactory.Builder
Determines the BeanStyle to be used in the created factory.
withBeanStyle(BeanStyle, BeanStyleHandler) - Method in class org.coliper.ibean.proxy.ProxyIBeanFactory.Builder
Determines the BeanStyle and its corresponding BeanStyleHandler to be used in the created factory.
withDefaultInterfaceSupport() - Method in class org.coliper.ibean.proxy.ProxyIBeanFactory.Builder
Convenience method that registers all default extension interfaces with their default handlers.
withInterfaceSupport(ExtensionSupport) - Method in class org.coliper.ibean.proxy.ProxyIBeanFactory.Builder
Registers a handler for an extension interface that is supposed to be used in the factory.
withMetaInfoParser(IBeanMetaInfoParser) - Method in class org.coliper.ibean.proxy.ProxyIBeanFactory.Builder
Sets the IBeanMetaInfoParser to be used by the factory.
withToStringStyle(ToStringStyle) - Method in class org.coliper.ibean.proxy.ProxyIBeanFactory.Builder
Determines the ToStringStyle to be used in the built factory.
writeToJsonObject(JsonObject, JsonSerializationContext) - Method in interface org.coliper.ibean.extension.GsonSupport
Writes the field values of this IBean out into a JsonObject.
A B C D E F G H I J L M N O P R S T U V W 
All Classes All Packages