Class DefineAdderWithPrefixBean
- All Implemented Interfaces:
 DefineAdder
- Direct Known Subclasses:
 AddEdgeFilters
Like 
DefineAdderBean but adds a prefix to the name of beans when adding.- Author:
 - Owen Feehan
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddWithName(Define define, String name, AnchorBean<?> item) Add an item todefinewith a name being added.A prefix that is placed before the name of every bean created.protected StringresolveName(String name) Prepends a prefix before the name.voidA prefix that is placed before the name of every bean created.Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.anchoranalysis.bean.define.adder.DefineAdder
addTo 
- 
Constructor Details
- 
DefineAdderWithPrefixBean
public DefineAdderWithPrefixBean() 
 - 
 - 
Method Details
- 
addWithName
protected void addWithName(Define define, String name, AnchorBean<?> item) throws DefineAddException Add an item todefinewith a name being added.- Parameters:
 define- the define.name- the name of the bean.item- the item to add.- Throws:
 DefineAddException- if a {#link GroupingRoot} cannot be found in the class-hierarchy.
 - 
resolveName
Prepends a prefix before the name.- Parameters:
 name- the name to prepend.- Returns:
 - the name with a prefix prepended.
 
 - 
getPrefix
A prefix that is placed before the name of every bean created. - 
setPrefix
A prefix that is placed before the name of every bean created. 
 -