public interface IContainedComponent extends IPropertyHolder, org.apache.hivemind.LocationHolder, org.apache.hivemind.Locatable, PropertyInjectable
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) |
getProperty, getPropertyNames, removeProperty, setProperty
IBindingSpecification getBinding(java.lang.String name)
java.util.Collection getBindingNames()
Collection
of Strings, each the name of one binding
for the component.java.lang.String getType()
void setBinding(java.lang.String name, IBindingSpecification spec)
void setType(java.lang.String value)
void setCopyOf(java.lang.String id)
java.lang.String getCopyOf()
boolean getInheritInformalParameters()
void setInheritInformalParameters(boolean value)
java.lang.String getPropertyName()
getPropertyName
in interface PropertyInjectable
void setPropertyName(java.lang.String propertyName)
setPropertyName
in interface PropertyInjectable