public class ContainedComponent extends LocatablePropertyHolder implements IContainedComponent
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map |
bindings |
| Constructor and Description |
|---|
ContainedComponent() |
| Modifier and Type | Method and Description |
|---|---|
IBindingSpecification |
getBinding(java.lang.String name)
Returns the named binding, or null if the binding does not exist.
|
java.util.Collection |
getBindingNames()
Returns an umodifiable
Collection of Strings, each the name of one binding for
the component. |
java.lang.String |
getCopyOf()
Returns the id of the component being copied from.
|
boolean |
getInheritInformalParameters()
Returns whether the contained component will inherit the informal parameters of its parent.
|
java.lang.String |
getPropertyName()
Returns the name of the property to be created for this component,
or null if no property should be created.
|
java.lang.String |
getType() |
void |
setBinding(java.lang.String name,
IBindingSpecification spec) |
void |
setCopyOf(java.lang.String id)
Sets the String Id of the component being copied from.
|
void |
setInheritInformalParameters(boolean value)
Sets whether the contained component will inherit the informal parameters of its parent.
|
void |
setPropertyName(java.lang.String propertyName) |
void |
setType(java.lang.String value) |
getLocation, setLocationgetProperty, getPropertyNames, removeProperty, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperty, getPropertyNames, removeProperty, setPropertyprotected java.util.Map bindings
public ContainedComponent()
public IBindingSpecification getBinding(java.lang.String name)
getBinding in interface IContainedComponentpublic java.util.Collection getBindingNames()
Collection of Strings, each the name of one binding for
the component.getBindingNames in interface IContainedComponentpublic java.lang.String getType()
getType in interface IContainedComponentpublic void setBinding(java.lang.String name, IBindingSpecification spec)
setBinding in interface IContainedComponentpublic void setType(java.lang.String value)
setType in interface IContainedComponentpublic void setCopyOf(java.lang.String id)
setCopyOf in interface IContainedComponentpublic java.lang.String getCopyOf()
getCopyOf in interface IContainedComponentpublic boolean getInheritInformalParameters()
getInheritInformalParameters in interface IContainedComponentpublic void setInheritInformalParameters(boolean value)
setInheritInformalParameters in interface IContainedComponentpublic java.lang.String getPropertyName()
IContainedComponentgetPropertyName in interface IContainedComponentgetPropertyName in interface PropertyInjectablepublic void setPropertyName(java.lang.String propertyName)
setPropertyName in interface IContainedComponentsetPropertyName in interface PropertyInjectable