public abstract class DefineAdderWithPrefixBean extends DefineAdderBean
DefineAdderBean
but adds a prefix to the name of beans when adding.Constructor and Description |
---|
DefineAdderWithPrefixBean() |
Modifier and Type | Method and Description |
---|---|
protected void |
addWithName(Define define,
String name,
AnchorBean<?> item)
Add an item to
define with a name being added. |
String |
getPrefix()
A prefix that is placed before the name of every bean created.
|
protected String |
resolveName(String name)
Prepends a prefix before the name.
|
void |
setPrefix(String prefix)
A prefix that is placed before the name of every bean created.
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addTo
protected void addWithName(Define define, String name, AnchorBean<?> item) throws DefineAddException
define
with a name being added.define
- the define.name
- the name of the bean.item
- the item to add.DefineAddException
- if a {#link GroupingRoot} cannot be found in the class-hierarchy.protected String resolveName(String name)
name
- the name to prepend.public String getPrefix()
public void setPrefix(String prefix)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.