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, setLocation
getProperty, getPropertyNames, removeProperty, setProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperty, getPropertyNames, removeProperty, setProperty
protected java.util.Map bindings
public ContainedComponent()
public IBindingSpecification getBinding(java.lang.String name)
getBinding
in interface IContainedComponent
public java.util.Collection getBindingNames()
Collection
of Strings, each the name of one binding for
the component.getBindingNames
in interface IContainedComponent
public java.lang.String getType()
getType
in interface IContainedComponent
public void setBinding(java.lang.String name, IBindingSpecification spec)
setBinding
in interface IContainedComponent
public void setType(java.lang.String value)
setType
in interface IContainedComponent
public void setCopyOf(java.lang.String id)
setCopyOf
in interface IContainedComponent
public java.lang.String getCopyOf()
getCopyOf
in interface IContainedComponent
public boolean getInheritInformalParameters()
getInheritInformalParameters
in interface IContainedComponent
public void setInheritInformalParameters(boolean value)
setInheritInformalParameters
in interface IContainedComponent
public java.lang.String getPropertyName()
IContainedComponent
getPropertyName
in interface IContainedComponent
getPropertyName
in interface PropertyInjectable
public void setPropertyName(java.lang.String propertyName)
setPropertyName
in interface IContainedComponent
setPropertyName
in interface PropertyInjectable