Index
A B C D E F G H I L M N O P R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accepts(Class<?>) - Method in class org.anchoranalysis.bean.initializable.property.AssignerMatchClass
- accepts(Class<?>) - Method in interface org.anchoranalysis.bean.initializable.property.InitializationParameterAssigner
-
Whether a particular type of initialization parameters is accepted?
- add(Double) - Method in class org.anchoranalysis.bean.primitive.DoubleList
- add(Double) - Method in class org.anchoranalysis.bean.primitive.DoubleSet
- add(Integer) - Method in class org.anchoranalysis.bean.primitive.IntegerList
- add(Integer) - Method in class org.anchoranalysis.bean.primitive.IntegerSet
- add(String) - Method in class org.anchoranalysis.bean.primitive.StringList
- add(String) - Method in class org.anchoranalysis.bean.primitive.StringSet
- add(NamedBean<?>) - Method in class org.anchoranalysis.bean.define.Define
-
Adds a named-bean to our definitions, using the {#link GroupingRoot} annotation to determine a group where definitions are stored.
- add(T) - Method in interface org.anchoranalysis.bean.primitive.PrimitiveBeanCollection
-
Add an element to the collection.
- addAll(List<NamedBean<T>>) - Method in class org.anchoranalysis.bean.define.Define
-
Adds all the named-beans from source to the current map.
- addAll(Define) - Method in class org.anchoranalysis.bean.define.Define
-
Adds all the named-beans from source to the current map.
- addFrom(List<NamedBean<?>>) - Method in class org.anchoranalysis.bean.BeanInstanceMap
-
Populates from a list of
NamedBean. - addFrom(BeanInstanceMap) - Method in class org.anchoranalysis.bean.BeanInstanceMap
-
Populates the entries from another BeanInstanceMap
- addTo(Define) - Method in class org.anchoranalysis.bean.define.adder.Concatenate
- addTo(Define) - Method in interface org.anchoranalysis.bean.define.adder.DefineAdder
-
Adds items to
define. - addTo(Define) - Method in class org.anchoranalysis.bean.define.adder.FromXMLList
- addWithName(Define, String, AnchorBean<?>) - Method in class org.anchoranalysis.bean.define.adder.DefineAdderWithPrefixBean
-
Add an item to
definewith a name being added. - AllowEmpty - Annotation Type in org.anchoranalysis.bean.annotation
-
Indicates that a String is allowed be empty, otherwise by default it must be non-empty.
- AnchorBean<F> - Class in org.anchoranalysis.bean
-
The base class of all beans used in Anchor.
- AnchorBean() - Constructor for class org.anchoranalysis.bean.AnchorBean
- AnchorBeanFactory - Class in org.anchoranalysis.bean.xml.factory
-
Base class for all Anchor-specific bean factories.
- AnchorBeanFactory() - Constructor for class org.anchoranalysis.bean.xml.factory.AnchorBeanFactory
- AnchorDefaultBeanFactory - Class in org.anchoranalysis.bean.xml.factory
-
The default bean factory used for initializing
AnchorBeans. - AnchorDefaultBeanFactory(BeanInstanceMap) - Constructor for class org.anchoranalysis.bean.xml.factory.AnchorDefaultBeanFactory
- applyInitializationIfPossibleTo(Object, Object, Logger) - Method in class org.anchoranalysis.bean.initializable.property.BeanInitializer
-
Applies the initialization to a bean if possible.
- asList() - Method in class org.anchoranalysis.bean.primitive.StringList
-
Exposes the underlying list of values.
- AssignerMatchClass<P extends BeanInitialization> - Class in org.anchoranalysis.bean.initializable.property
-
Allows assignment of parameters if they are are of type
paramTypeMatchor subclass of it. - AssignerMatchClass(Class<?>) - Constructor for class org.anchoranalysis.bean.initializable.property.AssignerMatchClass
- assignInitializationToProperties(Object, Object, Object, Logger) - Method in class org.anchoranalysis.bean.initializable.property.AssignerMatchClass
- assignInitializationToProperties(Object, Object, Object, Logger) - Method in interface org.anchoranalysis.bean.initializable.property.InitializationParameterAssigner
-
Assigns the parameter to the bean.
- AssignPermutationException - Exception in org.anchoranalysis.bean.permute.assign
-
When the assignment of a permuted value to a property cannot succeed.
- AssignPermutationException(String) - Constructor for exception org.anchoranalysis.bean.permute.assign.AssignPermutationException
-
Create with an error message.
- assignValue(AnchorBean<?>, Object) - Method in interface org.anchoranalysis.bean.permute.assign.PermutationAssigner
-
Assigns
valueto one or more properties inbean. - associateXML(XMLConfiguration) - Method in interface org.anchoranalysis.bean.xml.AssociateXMLUponLoad
-
Associated an XML configuration with an object.
- AssociateXMLUponLoad - Interface in org.anchoranalysis.bean.xml
-
For classes that wish to have a XmlConfiguration associated with them.
- atLeastOne(String, String, boolean, boolean) - Static method in class org.anchoranalysis.bean.initializable.CheckMisconfigured
-
Checks that one of two properties is defined, or both.
B
- BeanCreator - Class in org.anchoranalysis.bean.xml.creator
-
Creates a single
AnchorBeanfrom XML. - BeanDuplicateException - Exception in org.anchoranalysis.bean.exception
-
An exception occurs when the duplication of a bean fails.
- BeanDuplicateException(String) - Constructor for exception org.anchoranalysis.bean.exception.BeanDuplicateException
-
Creates with a message only.
- BeanDuplicateException(String, Throwable) - Constructor for exception org.anchoranalysis.bean.exception.BeanDuplicateException
-
Creates with a message and cause.
- BeanDuplicateException(Throwable) - Constructor for exception org.anchoranalysis.bean.exception.BeanDuplicateException
-
Creates with a cause only.
- BeanField - Annotation Type in org.anchoranalysis.bean.annotation
-
Indicates that a field in an Anchor Bean class is to be treated as a bean-field.
- BeanInitialization - Interface in org.anchoranalysis.bean.initializable.parameters
-
Parent class for all state used to initialise beans in
InitializableBean. - BeanInitializer<P> - Class in org.anchoranalysis.bean.initializable.property
-
Tries to initialize a bean and it's children with particular parameters, if possible.
- BeanInitializer(Class<?>) - Constructor for class org.anchoranalysis.bean.initializable.property.BeanInitializer
-
Simpler case where only the current-parameters can be initialized, but for no further property-types.
- BeanInitializer(Class<?>, List<ExtractDerivedParameter<P, ?>>) - Constructor for class org.anchoranalysis.bean.initializable.property.BeanInitializer
-
More complex-case where both current-parameters and other extracted property-types can be initialized.
- BeanInstanceMap - Class in org.anchoranalysis.bean
-
Maps a
AnchorBeanfamily-type to a bean that belongs to the family. - BeanInstanceMap() - Constructor for class org.anchoranalysis.bean.BeanInstanceMap
- BeanListCreator - Class in org.anchoranalysis.bean.xml.creator
-
Like
BeanCreatorbut creates a list of beans. - BeanMisconfiguredException - Exception in org.anchoranalysis.bean.exception
-
If a Bean is misconfigured.
- BeanMisconfiguredException(String) - Constructor for exception org.anchoranalysis.bean.exception.BeanMisconfiguredException
-
Creates with a message only.
- BeanMisconfiguredException(String, Throwable) - Constructor for exception org.anchoranalysis.bean.exception.BeanMisconfiguredException
-
Creates with a message and a cause.
- BeanMisconfiguredXMLException - Exception in org.anchoranalysis.bean.xml.exception
-
A bean's XML is thrown when a bean has misconfigured XML.
- BeanMisconfiguredXMLException(String, Throwable) - Constructor for exception org.anchoranalysis.bean.xml.exception.BeanMisconfiguredXMLException
-
Constructor
- BeanMisconfiguredXMLException(Throwable) - Constructor for exception org.anchoranalysis.bean.xml.exception.BeanMisconfiguredXMLException
-
Constructor
- BeanPathCalculator - Class in org.anchoranalysis.bean.xml.factory
-
Calculates file-system paths involving an
AnchorBean. - BeanStrangeException - Exception in org.anchoranalysis.bean.exception
-
When something quite strange happens that we don't usually want to catch.
- BeanStrangeException(String) - Constructor for exception org.anchoranalysis.bean.exception.BeanStrangeException
-
Creates with a message only.
- BeanStrangeException(String, Throwable) - Constructor for exception org.anchoranalysis.bean.exception.BeanStrangeException
-
Creates with a message and cause.
- BeanXMLException - Exception in org.anchoranalysis.bean.xml.exception
-
An exception that occurs when one cannot process BeanXML for some reason.
- BeanXMLException(String) - Constructor for exception org.anchoranalysis.bean.xml.exception.BeanXMLException
-
Creates with a message only.
- BeanXMLException(String, Throwable) - Constructor for exception org.anchoranalysis.bean.xml.exception.BeanXMLException
-
Creates with a message and cause.
- BeanXMLException(Throwable) - Constructor for exception org.anchoranalysis.bean.xml.exception.BeanXMLException
-
Creates with a cause only.
- BeanXMLLoader - Class in org.anchoranalysis.bean.xml
-
Creates beans based on XML specifying their properties (including nested children).
C
- canEqual(Object) - Method in class org.anchoranalysis.bean.primitive.DoubleList
- canEqual(Object) - Method in class org.anchoranalysis.bean.primitive.DoubleSet
- canEqual(Object) - Method in class org.anchoranalysis.bean.primitive.IntegerList
- canEqual(Object) - Method in class org.anchoranalysis.bean.primitive.IntegerSet
- canEqual(Object) - Method in class org.anchoranalysis.bean.primitive.StringList
- canEqual(Object) - Method in class org.anchoranalysis.bean.primitive.StringSet
- canExceptionBeCombined(Throwable) - Method in exception org.anchoranalysis.bean.xml.exception.BeanMisconfiguredXMLException
- canExceptionBeCombined(Throwable) - Method in exception org.anchoranalysis.bean.xml.exception.LocalisedBeanException
- canExceptionBeSkipped(Throwable) - Method in exception org.anchoranalysis.bean.xml.exception.BeanMisconfiguredXMLException
- canExceptionBeSkipped(Throwable) - Method in exception org.anchoranalysis.bean.xml.exception.LocalisedBeanException
- checkMisconfigured(BeanInstanceMap) - Method in class org.anchoranalysis.bean.AnchorBean
-
Checks that a bean's properties conform to expectations.
- checkMisconfigured(BeanInstanceMap) - Method in class org.anchoranalysis.bean.permute.property.SequenceInteger
- CheckMisconfigured - Class in org.anchoranalysis.bean.initializable
-
Routines for checking that particular patterns exist with bean-properties.
- combine(List<PermutationAssigner>) - Static method in class org.anchoranalysis.bean.permute.assign.PermutationAssignerFactory
-
Combines multiple existing assigners into a single
PermutationAssigners. - Concatenate - Class in org.anchoranalysis.bean.define.adder
-
Concatenates a list of adders.
- Concatenate() - Constructor for class org.anchoranalysis.bean.define.adder.Concatenate
- contains(Double) - Method in class org.anchoranalysis.bean.primitive.DoubleList
- contains(Double) - Method in class org.anchoranalysis.bean.primitive.DoubleSet
- contains(Integer) - Method in class org.anchoranalysis.bean.primitive.IntegerList
- contains(Integer) - Method in class org.anchoranalysis.bean.primitive.IntegerSet
- contains(String) - Method in class org.anchoranalysis.bean.primitive.StringList
- contains(String) - Method in class org.anchoranalysis.bean.primitive.StringSet
- contains(T) - Method in interface org.anchoranalysis.bean.primitive.PrimitiveBeanCollection
-
Whether the collection contains a particular element?
- containsFamily(Class<?>) - Method in class org.anchoranalysis.bean.BeanInstanceMap
-
Is a particular family-type contained in the map?
- create(Provider<T>) - Static method in class org.anchoranalysis.bean.OptionalProviderFactory
-
Creates from a provider if non-null.
- createAndConsumeListBeans(String, HierarchicalConfiguration, Object, Collection<T>) - Static method in class org.anchoranalysis.bean.xml.creator.BeanListCreator
-
Extracts a list of instantiated bean objects from an XML configuration, and adds them to
addTo. - createBean(Class<?>, BeanDeclaration, Object) - Method in class org.anchoranalysis.bean.xml.factory.AnchorDefaultBeanFactory
- createBean(Class, BeanDeclaration, Object) - Method in class org.anchoranalysis.bean.define.DefineFactory
- createBean(Class, BeanDeclaration, Object) - Method in class org.anchoranalysis.bean.xml.factory.IncludeBeanFactory
- createBean(Class, BeanDeclaration, Object) - Method in class org.anchoranalysis.bean.xml.factory.IncludeListBeanFactory
- createBean(Class, BeanDeclaration, Object) - Method in class org.anchoranalysis.bean.xml.factory.ListBeanFactory
- createBean(Class, BeanDeclaration, Object) - Method in class org.anchoranalysis.bean.xml.factory.primitive.DoubleListFactory
- createBean(Class, BeanDeclaration, Object) - Method in class org.anchoranalysis.bean.xml.factory.primitive.DoubleSetFactory
- createBean(Class, BeanDeclaration, Object) - Method in class org.anchoranalysis.bean.xml.factory.primitive.IntegerListFactory
- createBean(Class, BeanDeclaration, Object) - Method in class org.anchoranalysis.bean.xml.factory.primitive.IntegerSetFactory
- createBean(Class, BeanDeclaration, Object) - Method in class org.anchoranalysis.bean.xml.factory.primitive.StringListFactory
- createBean(Class, BeanDeclaration, Object) - Method in class org.anchoranalysis.bean.xml.factory.primitive.StringSetFactory
- createBean(Class, BeanDeclaration, Object) - Method in class org.anchoranalysis.bean.xml.factory.ReplacePropertyBeanFactory
- createBeanFromConfig(HierarchicalConfiguration, Object) - Static method in class org.anchoranalysis.bean.xml.creator.BeanCreator
-
Creates a bean from a
HierarchicalConfiguration. - createBeanFromXML(XMLBeanDeclaration, String, Object) - Static method in class org.anchoranalysis.bean.xml.creator.BeanCreator
-
Creates a bean from XML.
- createForSingle(AnchorBean<?>, String) - Static method in class org.anchoranalysis.bean.permute.assign.PermutationAssignerFactory
-
Creates an assigner for one or more properties, as identified by
propertyPath. - createListBeans(String, HierarchicalConfiguration, Object) - Static method in class org.anchoranalysis.bean.xml.creator.BeanListCreator
-
A list of instantiated bean objects from an XML configuration.
- createMessageForDescription(String) - Method in exception org.anchoranalysis.bean.xml.exception.BeanMisconfiguredXMLException
- createMessageForDescription(String) - Method in exception org.anchoranalysis.bean.xml.exception.LocalisedBeanException
- createPermutedCopies(List<T>, PermuteProperty<S>, PermutationAssigner) - Method in class org.anchoranalysis.bean.permute.PermutedCopyCreator
-
Applies a permutation to a copy of each element in a list of beans, updating the custom name of each bean to reflect the permutation.
- createSetter(AnchorBean<?>) - Method in class org.anchoranalysis.bean.permute.property.PermuteProperty
-
Creates a
PermutationAssignerwhich allows the particular property to be changed.
D
- DefaultInstance - Annotation Type in org.anchoranalysis.bean.annotation
-
Indicates a default bean-instance is available.
- Define - Class in org.anchoranalysis.bean.define
-
A bean where the definitions of many different
NamedBeans can be specified. - Define() - Constructor for class org.anchoranalysis.bean.define.Define
- DefineAdder - Interface in org.anchoranalysis.bean.define.adder
-
Indicates that an object can add one or more items to a
Define. - DefineAdderBean - Class in org.anchoranalysis.bean.define.adder
-
Base class for
AnchorBeans that can add items to aDefine. - DefineAdderBean() - Constructor for class org.anchoranalysis.bean.define.adder.DefineAdderBean
- DefineAdderWithPrefixBean - Class in org.anchoranalysis.bean.define.adder
-
Like
DefineAdderBeanbut adds a prefix to the name of beans when adding. - DefineAdderWithPrefixBean() - Constructor for class org.anchoranalysis.bean.define.adder.DefineAdderWithPrefixBean
- DefineAddException - Exception in org.anchoranalysis.bean.define
-
Called when a bean fails to be added to a
Define. - DefineAddException(String) - Constructor for exception org.anchoranalysis.bean.define.DefineAddException
-
Creates with a message only.
- DefineAddException(String, Throwable) - Constructor for exception org.anchoranalysis.bean.define.DefineAddException
-
Creates with a message and cause.
- DefineAddException(Throwable) - Constructor for exception org.anchoranalysis.bean.define.DefineAddException
-
Creates with a cause only.
- DefineFactory - Class in org.anchoranalysis.bean.define
-
Creates a new
Define. - DefineFactory() - Constructor for class org.anchoranalysis.bean.define.DefineFactory
- describeAcceptedClasses() - Method in class org.anchoranalysis.bean.initializable.property.AssignerMatchClass
- describeAcceptedClasses() - Method in interface org.anchoranalysis.bean.initializable.property.InitializationParameterAssigner
-
A string describing which classes of initialization-parameters are accepted or not.
- describeBean() - Method in class org.anchoranalysis.bean.AnchorBean
-
A (maybe longer) description identifying the bean and perhaps its key parameters.
- describeChildren() - Method in class org.anchoranalysis.bean.AnchorBean
-
Generates a string describing the children of the current bean.
- describePropertyValue(Double) - Method in class org.anchoranalysis.bean.permute.property.PermutePropertyDoubleSet
- describePropertyValue(Double) - Method in class org.anchoranalysis.bean.permute.property.PermutePropertySequenceDouble
- describePropertyValue(Integer) - Method in class org.anchoranalysis.bean.permute.property.PermutePropertySequenceInteger
- describePropertyValue(String) - Method in class org.anchoranalysis.bean.permute.property.PermutePropertyStringSet
- describePropertyValue(T) - Method in class org.anchoranalysis.bean.permute.property.PermuteProperty
-
Describes a particular property-value in a unique but human-readable way.
- DoubleList - Class in org.anchoranalysis.bean.primitive
-
A bean defining a list of
Doubles. - DoubleList(Double...) - Constructor for class org.anchoranalysis.bean.primitive.DoubleList
-
Constructs with one or more values added to the list.
- DoubleListFactory - Class in org.anchoranalysis.bean.xml.factory.primitive
-
Creates a
DoubleListfrom a XML element. - DoubleListFactory() - Constructor for class org.anchoranalysis.bean.xml.factory.primitive.DoubleListFactory
- DoubleSet - Class in org.anchoranalysis.bean.primitive
-
A bean defining a set of
Doubles. - DoubleSet() - Constructor for class org.anchoranalysis.bean.primitive.DoubleSet
- DoubleSet(Double...) - Constructor for class org.anchoranalysis.bean.primitive.DoubleSet
-
Constructs with one or more values added to the set.
- DoubleSetFactory - Class in org.anchoranalysis.bean.xml.factory.primitive
-
Creates a
DoubleSetfrom a XML element. - DoubleSetFactory() - Constructor for class org.anchoranalysis.bean.xml.factory.primitive.DoubleSetFactory
- duplicateBean() - Method in class org.anchoranalysis.bean.AnchorBean
-
Creates a new bean that deep-copies every property value.
- duplicateBean() - Method in class org.anchoranalysis.bean.define.Define
- duplicateBean() - Method in class org.anchoranalysis.bean.primitive.DoubleList
-
Duplicate the bean.
- duplicateBean() - Method in class org.anchoranalysis.bean.primitive.DoubleSet
-
Duplicate the bean.
- duplicateBean() - Method in class org.anchoranalysis.bean.primitive.IntegerList
-
Duplicate the bean.
- duplicateBean() - Method in class org.anchoranalysis.bean.primitive.IntegerSet
-
Duplicate the bean.
- duplicateBean() - Method in class org.anchoranalysis.bean.primitive.StringList
-
Duplicate the bean.
- duplicateBean() - Method in class org.anchoranalysis.bean.primitive.StringSet
-
Duplicate the bean.
E
- equals(Object) - Method in interface org.anchoranalysis.bean.GenerateUniqueParameterization
- equals(Object) - Method in class org.anchoranalysis.bean.primitive.DoubleList
- equals(Object) - Method in class org.anchoranalysis.bean.primitive.DoubleSet
- equals(Object) - Method in class org.anchoranalysis.bean.primitive.IntegerList
- equals(Object) - Method in class org.anchoranalysis.bean.primitive.IntegerSet
- equals(Object) - Method in class org.anchoranalysis.bean.primitive.StringList
- equals(Object) - Method in class org.anchoranalysis.bean.primitive.StringSet
- ExtractDerivedParameter<S,T> - Class in org.anchoranalysis.bean.initializable.property
-
Extracts one type of parameter from another, if possible.
- ExtractDerivedParameter(Class<?>, Function<S, T>) - Constructor for class org.anchoranalysis.bean.initializable.property.ExtractDerivedParameter
-
Creates with only a
targetClass. - ExtractDerivedParameter(Class<?>, Function<S, T>, Class<?>) - Constructor for class org.anchoranalysis.bean.initializable.property.ExtractDerivedParameter
-
Creates with a
classOfTargetand abaseClassOfSource. - extractIfPossible(S) - Method in class org.anchoranalysis.bean.initializable.property.ExtractDerivedParameter
-
Extracts a derived parameter if possible from
parameter.
F
- FieldAccessor - Class in org.anchoranalysis.bean
-
Utilities to access a
Fieldof anAnchorBean. - fieldFromBean(AnchorBean<?>, Field) - Static method in class org.anchoranalysis.bean.FieldAccessor
-
Retrieves the value of a
Fieldfrom aAnchorBean. - fields() - Method in class org.anchoranalysis.bean.AnchorBean
-
A list of all bean-fields that are associated with this bean directly (fields of children are not checked).
- findFieldsOfClass(Class<?>) - Method in class org.anchoranalysis.bean.AnchorBean
-
Finds all bean-fields that are instances of a certain class.
- FriendlyExceptionCreator - Class in org.anchoranalysis.bean.xml.exception
-
Converts certain exceptions that occur from XML-Parsing into a friendly form to display to the user.
- FromXMLList - Class in org.anchoranalysis.bean.define.adder
-
Adds a list of Named-Items define in a XML file in the current directory.
- FromXMLList() - Constructor for class org.anchoranalysis.bean.define.adder.FromXMLList
G
- GenerateUniqueParameterization - Interface in org.anchoranalysis.bean
-
Objects that must implement well-defined
equals()andhashCode()methods and also generate a name uniquely identifying the class and all parameterization. - get() - Method in interface org.anchoranalysis.bean.Provider
-
Gets or creates an object of type
T. - getAdditionalPropertyPaths() - Method in class org.anchoranalysis.bean.permute.property.PermuteProperty
-
Additional property paths that are also changed, together with
propertyPath. - getBeanName() - Method in class org.anchoranalysis.bean.AnchorBean
-
A short-name identifying a bean (by default the name of the class associated with the bean).
- getDefaultBeanClass() - Method in class org.anchoranalysis.bean.xml.factory.AnchorDefaultBeanFactory
-
Returns null as
Optionalis not supported byBeanFactoryinterface. - getDefaultInstances() - Method in class org.anchoranalysis.bean.xml.factory.AnchorDefaultBeanFactory
-
Default bean-classes to use for particular family types of beans.
- getDefaultInstances() - Static method in class org.anchoranalysis.bean.xml.RegisterBeanFactories
-
Default instances of different family-types of beans.
- getDivisor() - Method in class org.anchoranalysis.bean.permute.property.PermutePropertySequenceDouble
-
What to divide the integer-sequence by.
- getEnd() - Method in class org.anchoranalysis.bean.permute.property.SequenceInteger
-
An index beyond which we cannot iterate (inclusive).
- getIncrement() - Method in class org.anchoranalysis.bean.permute.property.SequenceInteger
-
Size of step to use when incrementing.
- getInitialization() - Method in class org.anchoranalysis.bean.initializable.InitializableBean
-
The parameters used for initialization.
- getInitializationType() - Method in class org.anchoranalysis.bean.initializable.property.BeanInitializer
-
Type of parameters to be propagated, corresponding to
P. - getInstanceFor(Class<? extends T>) - Method in class org.anchoranalysis.bean.BeanInstanceMap
-
Gets an instance from the map for a particular family-type.
- getItem() - Method in class org.anchoranalysis.bean.NamedBean
-
The item that is to be named, the underlying bean.
- getList() - Method in class org.anchoranalysis.bean.define.adder.Concatenate
- getLocalPath() - Method in class org.anchoranalysis.bean.AnchorBean
-
A local path on the file-system, optionally associated with this bean.
- getLogger() - Method in class org.anchoranalysis.bean.initializable.InitializableBean
-
The logger.
- getName() - Method in class org.anchoranalysis.bean.define.adder.FromXMLList
-
The name of the file in the current working directory WITHOUT THE .xml EXTENSION
- getName() - Method in class org.anchoranalysis.bean.NamedBean
-
The name associated with
item. - getPrefix() - Method in class org.anchoranalysis.bean.define.adder.DefineAdderWithPrefixBean
-
A prefix that is placed before the name of every bean created.
- getPropertyInitializer() - Method in class org.anchoranalysis.bean.initializable.InitializableBean
-
Assigns a parameter, if possible, to a bean - as used by
bean initializer. - getPropertyPath() - Method in class org.anchoranalysis.bean.permute.property.PermuteProperty
-
Either a direct property of a bean or a nested-property with the children separated by full-stops.
- getSequence() - Method in class org.anchoranalysis.bean.permute.property.PermutePropertySequence
-
A sequence of integers, with each element assigned assigned directly during the permutation, or after further manipulation.
- getStart() - Method in class org.anchoranalysis.bean.permute.property.SequenceInteger
-
The index to begin iteration from.
- getTargetClass() - Method in class org.anchoranalysis.bean.initializable.property.ExtractDerivedParameter
-
The class of the target type
T. - getValue() - Method in class org.anchoranalysis.bean.NamedBean
- getValues() - Method in class org.anchoranalysis.bean.permute.property.PermutePropertyDoubleSet
-
The respect double values to assign during the permutation.
- getValues() - Method in class org.anchoranalysis.bean.permute.property.PermutePropertyStringSet
-
The respect string values to assign during the permutation.
- GroupingRoot - Annotation Type in org.anchoranalysis.bean.annotation
-
Indicates that a set of definitions of classes can be collectively grouped using this class.
H
- hashCode() - Method in interface org.anchoranalysis.bean.GenerateUniqueParameterization
- hashCode() - Method in class org.anchoranalysis.bean.primitive.DoubleList
- hashCode() - Method in class org.anchoranalysis.bean.primitive.DoubleSet
- hashCode() - Method in class org.anchoranalysis.bean.primitive.IntegerList
- hashCode() - Method in class org.anchoranalysis.bean.primitive.IntegerSet
- hashCode() - Method in class org.anchoranalysis.bean.primitive.StringList
- hashCode() - Method in class org.anchoranalysis.bean.primitive.StringSet
I
- IncludeBeanFactory - Class in org.anchoranalysis.bean.xml.factory
-
Defines an
AnchorBeanin a separate file on the file-system. - IncludeBeanFactory() - Constructor for class org.anchoranalysis.bean.xml.factory.IncludeBeanFactory
- IncludeListBeanFactory<T> - Class in org.anchoranalysis.bean.xml.factory
-
Like
ListBeanFactorybut also includes elements in other lists defined in theincludetag. - IncludeListBeanFactory() - Constructor for class org.anchoranalysis.bean.xml.factory.IncludeListBeanFactory
-
Default constructor.
- InitializableBean<B,P extends BeanInitialization> - Class in org.anchoranalysis.bean.initializable
-
A bean that must be initialized with some parameters before being used.
- InitializableBean(BeanInitializer<P>, InitializationParameterAssigner) - Constructor for class org.anchoranalysis.bean.initializable.InitializableBean
- InitializationParameterAssigner - Interface in org.anchoranalysis.bean.initializable.property
-
Assigns a parameter to a bean, if the bean accepts it.
- initialize(P, Logger) - Method in class org.anchoranalysis.bean.initializable.InitializableBean
-
Initializes the bean with the necessary parameters.
- initializeRecursive(Logger) - Method in class org.anchoranalysis.bean.NullParametersBean
-
Initialize this bean and any suitable child beans.
- initializeRecursive(P, Logger) - Method in class org.anchoranalysis.bean.initializable.InitializableBean
-
Initializes this object, and all children objects, so long as they have
Ponce a Bean doesn't haveP, the children are not evaluated. - initRecursiveWithInitializer(BeanInitializer<?>, Logger) - Method in class org.anchoranalysis.bean.initializable.InitializableBean
-
Initializes the bean and recursively all contained beans (who have compatible initialization requirements)
- instance() - Static method in class org.anchoranalysis.bean.initializable.parameters.NullInitialization
-
Singleton instance of
NullInitialization. - IntegerList - Class in org.anchoranalysis.bean.primitive
-
A bean defining a list of
Integers. - IntegerList(Integer...) - Constructor for class org.anchoranalysis.bean.primitive.IntegerList
-
Constructs with one or more values added to the list.
- IntegerListFactory - Class in org.anchoranalysis.bean.xml.factory.primitive
-
Creates a
IntegerListfrom a XML element. - IntegerListFactory() - Constructor for class org.anchoranalysis.bean.xml.factory.primitive.IntegerListFactory
- IntegerSet - Class in org.anchoranalysis.bean.primitive
-
A bean defining a set of
Integers. - IntegerSet() - Constructor for class org.anchoranalysis.bean.primitive.IntegerSet
- IntegerSet(Integer...) - Constructor for class org.anchoranalysis.bean.primitive.IntegerSet
-
Constructs with one or more values added to the list.
- IntegerSetFactory - Class in org.anchoranalysis.bean.xml.factory.primitive
-
Creates a
IntegerSetfrom a XML element. - IntegerSetFactory() - Constructor for class org.anchoranalysis.bean.xml.factory.primitive.IntegerSetFactory
- isCalledRegisterAllPackage() - Static method in class org.anchoranalysis.bean.xml.RegisterBeanFactories
-
Has the method
registerAllPackageBeanFactories()already been called? - isEmpty() - Method in class org.anchoranalysis.bean.primitive.DoubleList
- isEmpty() - Method in class org.anchoranalysis.bean.primitive.DoubleSet
- isEmpty() - Method in class org.anchoranalysis.bean.primitive.IntegerList
- isEmpty() - Method in class org.anchoranalysis.bean.primitive.IntegerSet
- isEmpty() - Method in interface org.anchoranalysis.bean.primitive.PrimitiveBeanCollection
-
Whether the collection is empty or not.
- isEmpty() - Method in class org.anchoranalysis.bean.primitive.StringList
- isEmpty() - Method in class org.anchoranalysis.bean.primitive.StringSet
- isFieldAnnotatedAsOptional(Field) - Static method in class org.anchoranalysis.bean.FieldAccessor
-
Is a particular
Fieldon aAnchorBeanmarked as optional? - isInitialized() - Method in class org.anchoranalysis.bean.initializable.InitializableBean
-
Has the been already been initialized via a call to
InitializableBean.initialize(BeanInitialization, Logger)or similar. - isPrefix() - Method in class org.anchoranalysis.bean.define.adder.FromXMLList
-
If true, a prefix is prepended to the name of each added bean.
- iterator() - Method in class org.anchoranalysis.bean.permute.property.SequenceInteger
-
An iterator for each element in the sequence.
- iterator() - Method in class org.anchoranalysis.bean.primitive.DoubleList
- iterator() - Method in class org.anchoranalysis.bean.primitive.DoubleSet
- iterator() - Method in class org.anchoranalysis.bean.primitive.IntegerList
- iterator() - Method in class org.anchoranalysis.bean.primitive.IntegerSet
- iterator() - Method in class org.anchoranalysis.bean.primitive.StringList
- iterator() - Method in class org.anchoranalysis.bean.primitive.StringSet
L
- ListBeanFactory<T> - Class in org.anchoranalysis.bean.xml.factory
-
Factory for creating a
Listof beans. - ListBeanFactory() - Constructor for class org.anchoranalysis.bean.xml.factory.ListBeanFactory
- ListBeanFactory(Function<List<T>, Object>) - Constructor for class org.anchoranalysis.bean.xml.factory.ListBeanFactory
- listFor(Class<?>) - Method in class org.anchoranalysis.bean.define.Define
-
Retrieves the list of elements associated with a grouping-root.
- loadBean(Path) - Static method in class org.anchoranalysis.bean.xml.BeanXMLLoader
-
Creates a bean by loading an XML description from the filesystem
- loadBean(Path, String) - Static method in class org.anchoranalysis.bean.xml.BeanXMLLoader
-
Creates a bean by loading an XML description from the filesystem.
- loadBeanAssociatedXml(Path, String) - Static method in class org.anchoranalysis.bean.xml.BeanXMLLoader
-
Creates a bean by loading an XML description from the filesystem.
- loadBeanLocalized(Path, String) - Static method in class org.anchoranalysis.bean.xml.BeanXMLLoader
-
Creates a bean by loading an XML description from the filesystem.
- localise(Path) - Method in class org.anchoranalysis.bean.AnchorBean
-
Called once after the bean is created, localising the bean to a path on the filesystem.
- LocalisedBeanException - Exception in org.anchoranalysis.bean.xml.exception
-
Combines a chain of many exceptions into a single exception, searching for an ultimate cause and incorporating the messages from the chain into a single unified message.
- LocalisedBeanException(String, Throwable) - Constructor for exception org.anchoranalysis.bean.xml.exception.LocalisedBeanException
-
Create with a message and a cause.
M
- maybeCreateUserFriendlyException(Throwable) - Static method in class org.anchoranalysis.bean.xml.exception.FriendlyExceptionCreator
-
Possibly replaces an exception with a more user-friendly description
N
- NamedBean<T extends AnchorBean<?>> - Class in org.anchoranalysis.bean
-
A bean with an associated textual name.
- NamedBean() - Constructor for class org.anchoranalysis.bean.NamedBean
- NamedBean(String, T) - Constructor for class org.anchoranalysis.bean.NamedBean
- NonEmpty - Annotation Type in org.anchoranalysis.bean.annotation
-
Indicates that a collection must have at least one item.
- NonNegative - Annotation Type in org.anchoranalysis.bean.annotation
-
The bean-field should have a value
>= 0. - NullInitialization - Class in org.anchoranalysis.bean.initializable.parameters
-
When initialization should occur of a bean, but no parameters (containing data) are required.
- NullParametersBean<T> - Class in org.anchoranalysis.bean
-
A base class for beans that require initialization but the initializations needs no parameters.
- NullParametersBean() - Constructor for class org.anchoranalysis.bean.NullParametersBean
-
Default constructor.
O
- oneOnly(String, String, boolean, boolean) - Static method in class org.anchoranalysis.bean.initializable.CheckMisconfigured
-
Checks that one of two properties is defined, but not both simultaneously.
- onInitialization() - Method in class org.anchoranalysis.bean.NullParametersBean
-
As there's no parameters we expose a different method.
- onInitialization(NullInitialization) - Method in class org.anchoranalysis.bean.NullParametersBean
- onInitialization(P) - Method in class org.anchoranalysis.bean.initializable.InitializableBean
-
Called after initialization.
- OptionalBean - Annotation Type in org.anchoranalysis.bean.annotation
-
Indicates that a field of a class can be set to null (omitted), otherwise by default a bean must always have a non-null value.
- OptionalProviderFactory - Class in org.anchoranalysis.bean
- org.anchoranalysis.bean - package org.anchoranalysis.bean
-
Defining, loading, initializing Anchor Beans.
- org.anchoranalysis.bean.annotation - package org.anchoranalysis.bean.annotation
-
Annotations that decorate fields in an Anchor Bean.
- org.anchoranalysis.bean.define - package org.anchoranalysis.bean.define
-
Defineand related-classes. - org.anchoranalysis.bean.define.adder - package org.anchoranalysis.bean.define.adder
-
DefineAdderand related-classes. - org.anchoranalysis.bean.exception - package org.anchoranalysis.bean.exception
-
Exceptions that can occur executing generic operations on Anchor Beans.
- org.anchoranalysis.bean.initializable - package org.anchoranalysis.bean.initializable
-
Initializing beans with particular parameters, including recursively.
- org.anchoranalysis.bean.initializable.parameters - package org.anchoranalysis.bean.initializable.parameters
-
Some parameterization used when initializing beans.
- org.anchoranalysis.bean.initializable.property - package org.anchoranalysis.bean.initializable.property
-
Initializating a bean with parameters.
- org.anchoranalysis.bean.permute - package org.anchoranalysis.bean.permute
-
Applying permutations to a bean's fields.
- org.anchoranalysis.bean.permute.assign - package org.anchoranalysis.bean.permute.assign
-
Imposes a permutation value on one or more properties of a bean.
- org.anchoranalysis.bean.permute.property - package org.anchoranalysis.bean.permute.property
-
Applying permutations to the properties of a bean.
- org.anchoranalysis.bean.primitive - package org.anchoranalysis.bean.primitive
-
Beans that implement collections of primitive element types, as well as
String. - org.anchoranalysis.bean.xml - package org.anchoranalysis.bean.xml
-
Reading Beans from XML files.
- org.anchoranalysis.bean.xml.creator - package org.anchoranalysis.bean.xml.creator
-
Creates beans from XML.
- org.anchoranalysis.bean.xml.exception - package org.anchoranalysis.bean.xml.exception
-
Exceptions that can thrown when loading beans from XML.
- org.anchoranalysis.bean.xml.factory - package org.anchoranalysis.bean.xml.factory
-
Custom factories for loading beans in custom ways from XML.
- org.anchoranalysis.bean.xml.factory.primitive - package org.anchoranalysis.bean.xml.factory.primitive
-
Factories to create beans in
org.anchoranalysis.bean.primitive.
P
- pathFromBean(AnchorBean<?>, String) - Static method in class org.anchoranalysis.bean.xml.factory.BeanPathCalculator
-
Calculates a path from the current bean.
- PermutationAssigner - Interface in org.anchoranalysis.bean.permute.assign
-
Imposes a permutation on some property of a bean.
- PermutationAssignerFactory - Class in org.anchoranalysis.bean.permute.assign
-
Creates instances of
PermutationAssigner. - PermutedCopyCreator<T extends AnchorBean<T>> - Class in org.anchoranalysis.bean.permute
-
Applies a
PermutePropertyto a bean to create new duplicated beans each with different permuted values. - PermutedCopyCreator(Function<T, String>, BiConsumer<T, String>) - Constructor for class org.anchoranalysis.bean.permute.PermutedCopyCreator
- PermuteProperty<T> - Class in org.anchoranalysis.bean.permute.property
-
Changes properties of an
AnchorBeanto one of a range of possible values. - PermuteProperty() - Constructor for class org.anchoranalysis.bean.permute.property.PermuteProperty
- PermutePropertyDoubleSet - Class in org.anchoranalysis.bean.permute.property
-
Assigns each element from a set of doubles to a particular property of a bean.
- PermutePropertyDoubleSet() - Constructor for class org.anchoranalysis.bean.permute.property.PermutePropertyDoubleSet
- PermutePropertySequence<T> - Class in org.anchoranalysis.bean.permute.property
-
Base class for assigning a sequence of numbers to a particular property of a bean.
- PermutePropertySequence() - Constructor for class org.anchoranalysis.bean.permute.property.PermutePropertySequence
- PermutePropertySequenceDouble - Class in org.anchoranalysis.bean.permute.property
-
Assigns an arithmetic sequence of doubles, derived by diving an integer sequence by a divider.
- PermutePropertySequenceDouble() - Constructor for class org.anchoranalysis.bean.permute.property.PermutePropertySequenceDouble
- PermutePropertySequenceInteger - Class in org.anchoranalysis.bean.permute.property
-
An arithmetic sequence of integers, each directly assigned to a property during permutation.
- PermutePropertySequenceInteger() - Constructor for class org.anchoranalysis.bean.permute.property.PermutePropertySequenceInteger
- PermutePropertyStringSet - Class in org.anchoranalysis.bean.permute.property
-
Assigns each element from a set of strings to a particular property of a bean.
- PermutePropertyStringSet() - Constructor for class org.anchoranalysis.bean.permute.property.PermutePropertyStringSet
- Positive - Annotation Type in org.anchoranalysis.bean.annotation
-
The bean-field should have a value
> 0. - PrimitiveBeanCollection<T> - Interface in org.anchoranalysis.bean.primitive
-
A bean that provides a collection of primitive-types or
Strings. - propertyValues() - Method in class org.anchoranalysis.bean.permute.property.PermuteProperty
-
An iterator with possible alternative values for the property.
- propertyValues() - Method in class org.anchoranalysis.bean.permute.property.PermutePropertyDoubleSet
- propertyValues() - Method in class org.anchoranalysis.bean.permute.property.PermutePropertySequenceDouble
- propertyValues() - Method in class org.anchoranalysis.bean.permute.property.PermutePropertySequenceInteger
- propertyValues() - Method in class org.anchoranalysis.bean.permute.property.PermutePropertyStringSet
- Provider<T> - Interface in org.anchoranalysis.bean
-
A class (usually an
AnchorBean) that creates or otherwise supplies another object. - ProvisionFailedException - Exception in org.anchoranalysis.bean.xml.exception
-
If provisioning an object fails.
- ProvisionFailedException(String) - Constructor for exception org.anchoranalysis.bean.xml.exception.ProvisionFailedException
-
Creates with only a message.
- ProvisionFailedException(String, Throwable) - Constructor for exception org.anchoranalysis.bean.xml.exception.ProvisionFailedException
-
Creates with both a message and cause.
- ProvisionFailedException(Throwable) - Constructor for exception org.anchoranalysis.bean.xml.exception.ProvisionFailedException
-
Creates with only a cause.
- putInstanceFor(Class<? extends T>, T) - Method in class org.anchoranalysis.bean.BeanInstanceMap
-
Assigns an instance to a particular family-type.
R
- register(String, Function<List<T>, Object>) - Static method in class org.anchoranalysis.bean.xml.RegisterBeanFactories
-
Registers a bean that creates a {link java.util.List}.
- register(String, AnchorBeanFactory) - Static method in class org.anchoranalysis.bean.xml.RegisterBeanFactories
-
Registers a specific factory.
- registerAllPackageBeanFactories() - Static method in class org.anchoranalysis.bean.xml.RegisterBeanFactories
-
Registers the factories for the beans that exist in this package
- RegisterBeanFactories - Class in org.anchoranalysis.bean.xml
-
Utility class for registering the Bean-factories that are found in anchor-bean (or any other).
- removeInstanceFor(Class<? extends T>) - Method in class org.anchoranalysis.bean.BeanInstanceMap
-
Removes any instance in the map of a particular family-type.
- ReplacePropertyBeanFactory<T extends AnchorBean<T>> - Class in org.anchoranalysis.bean.xml.factory
-
Replaces a property (an XML element of attribute) on a bean before loading it.
- ReplacePropertyBeanFactory(BeanInstanceMap) - Constructor for class org.anchoranalysis.bean.xml.factory.ReplacePropertyBeanFactory
- resolveName(String) - Method in class org.anchoranalysis.bean.define.adder.DefineAdderWithPrefixBean
-
Prepends a prefix before the name.
S
- SequenceInteger - Class in org.anchoranalysis.bean.permute.property
-
A sequence of integers.
- SequenceInteger() - Constructor for class org.anchoranalysis.bean.permute.property.SequenceInteger
- sequenceIterator() - Method in class org.anchoranalysis.bean.permute.property.PermutePropertySequence
-
Iterates each element in
sequence. - set() - Method in class org.anchoranalysis.bean.primitive.DoubleSet
-
The underlying set of values.
- set() - Method in class org.anchoranalysis.bean.primitive.IntegerSet
-
The underlying set of values.
- set() - Method in class org.anchoranalysis.bean.primitive.StringSet
-
The underlying set of values.
- setAdditionalPropertyPaths(StringSet) - Method in class org.anchoranalysis.bean.permute.property.PermuteProperty
-
Additional property paths that are also changed, together with
propertyPath. - setDivisor(double) - Method in class org.anchoranalysis.bean.permute.property.PermutePropertySequenceDouble
-
What to divide the integer-sequence by.
- setEnd(int) - Method in class org.anchoranalysis.bean.permute.property.SequenceInteger
-
An index beyond which we cannot iterate (inclusive).
- setIncrement(int) - Method in class org.anchoranalysis.bean.permute.property.SequenceInteger
-
Size of step to use when incrementing.
- setItem(T) - Method in class org.anchoranalysis.bean.NamedBean
-
The item that is to be named, the underlying bean.
- setList(List<DefineAdderBean>) - Method in class org.anchoranalysis.bean.define.adder.Concatenate
- setName(String) - Method in class org.anchoranalysis.bean.define.adder.FromXMLList
-
The name of the file in the current working directory WITHOUT THE .xml EXTENSION
- setName(String) - Method in class org.anchoranalysis.bean.NamedBean
-
The name associated with
item. - setParam(P) - Method in class org.anchoranalysis.bean.initializable.property.BeanInitializer
-
Sets the current parameters used for propagation.
- setPrefix(boolean) - Method in class org.anchoranalysis.bean.define.adder.FromXMLList
-
If true, a prefix is prepended to the name of each added bean.
- setPrefix(String) - Method in class org.anchoranalysis.bean.define.adder.DefineAdderWithPrefixBean
-
A prefix that is placed before the name of every bean created.
- setPropertyPath(String) - Method in class org.anchoranalysis.bean.permute.property.PermuteProperty
-
Either a direct property of a bean or a nested-property with the children separated by full-stops.
- setSequence(SequenceInteger) - Method in class org.anchoranalysis.bean.permute.property.PermutePropertySequence
-
A sequence of integers, with each element assigned assigned directly during the permutation, or after further manipulation.
- setStart(int) - Method in class org.anchoranalysis.bean.permute.property.SequenceInteger
-
The index to begin iteration from.
- setValue(T) - Method in class org.anchoranalysis.bean.NamedBean
- setValues(DoubleSet) - Method in class org.anchoranalysis.bean.permute.property.PermutePropertyDoubleSet
-
The respect double values to assign during the permutation.
- setValues(StringSet) - Method in class org.anchoranalysis.bean.permute.property.PermutePropertyStringSet
-
The respect string values to assign during the permutation.
- SkipInit - Annotation Type in org.anchoranalysis.bean.annotation
-
Indicates that this particular bean-field should be ignored during (recursive) initialization.
- stream() - Method in class org.anchoranalysis.bean.primitive.DoubleSet
-
Creates a stream of elements in the set.
- stream() - Method in class org.anchoranalysis.bean.primitive.IntegerSet
-
Creates a stream of elements in the set.
- stream() - Method in class org.anchoranalysis.bean.primitive.StringSet
-
Creates a stream of elements in the set.
- StringList - Class in org.anchoranalysis.bean.primitive
-
A bean defining a list of
Strings. - StringList() - Constructor for class org.anchoranalysis.bean.primitive.StringList
-
Constructs with an empty list.
- StringList(String...) - Constructor for class org.anchoranalysis.bean.primitive.StringList
-
Constructs, populated with one or more values.
- StringList(List<String>) - Constructor for class org.anchoranalysis.bean.primitive.StringList
-
Constructs, populated with a list of strings.
- StringListFactory - Class in org.anchoranalysis.bean.xml.factory.primitive
-
Creates a
StringListfrom a XML element. - StringListFactory() - Constructor for class org.anchoranalysis.bean.xml.factory.primitive.StringListFactory
- StringSet - Class in org.anchoranalysis.bean.primitive
-
A bean defining a set of
Strings. - StringSet() - Constructor for class org.anchoranalysis.bean.primitive.StringSet
- StringSet(String...) - Constructor for class org.anchoranalysis.bean.primitive.StringSet
-
Constructs with one or more values added to the list.
- StringSet(Set<String>) - Constructor for class org.anchoranalysis.bean.primitive.StringSet
- StringSetFactory - Class in org.anchoranalysis.bean.xml.factory.primitive
-
Creates a
StringSetfrom a XML element. - StringSetFactory() - Constructor for class org.anchoranalysis.bean.xml.factory.primitive.StringSetFactory
- summarize() - Method in exception org.anchoranalysis.bean.xml.exception.BeanMisconfiguredXMLException
-
This summarize() option just looks for the most deep exception that can be 'combined' and takes its message
- summarize() - Method in exception org.anchoranalysis.bean.xml.exception.LocalisedBeanException
- summarizeIgnoreIdenticalFilePath(Path) - Method in exception org.anchoranalysis.bean.xml.exception.LocalisedBeanException
-
If there is no nested-set of combinable exceptions, and the
messagerelated to this current exception is identical as the passed parameter, then we simply ignore the current exception and promote itsThrowable.getCause().
T
- toString() - Method in class org.anchoranalysis.bean.AnchorBean
-
By default, we use
AnchorBean.describeBean()as the string representation of the bean. - toString() - Method in class org.anchoranalysis.bean.initializable.property.AssignerMatchClass
- toString() - Method in class org.anchoranalysis.bean.NamedBean
U
- uniqueName() - Method in interface org.anchoranalysis.bean.GenerateUniqueParameterization
-
A string describing this class and all its parameterization.
All Classes All Packages