|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.model.assembly.impl.AssemblyObjectImpl
org.apache.tuscany.model.assembly.impl.ConfiguredPropertyImpl
public class ConfiguredPropertyImpl
Implementation of ConfiguredProperty
Constructor Summary | |
---|---|
protected |
ConfiguredPropertyImpl()
|
Method Summary | |
---|---|
boolean |
accept(AssemblyVisitor visitor)
Accept a visitor |
void |
freeze()
Freeze this model object preventing any additional changes. |
String |
getName()
Returns the name of the property being configured. |
OverrideOption |
getOverrideOption()
Returns the override option that determines if any configuration for this property that is contained in this composite can be overridden by configuration supplied from outside. |
Property |
getProperty()
Returns the Property whose value is being set. |
Object |
getValue()
Returns the value being set for this usage of the Property . |
void |
initialize(AssemblyContext modelContext)
Initialize this model object. |
void |
setName(String name)
Set the name of the property being configured. |
void |
setOverrideOption(OverrideOption value)
Set the override option that determines if any configuration for this property that is contained in this composite can be overridden by configuration supplied from outside. |
void |
setProperty(Property property)
Sets the Property whose value is being set. |
void |
setValue(Object value)
Sets the value being set for this usage of the Property . |
Methods inherited from class org.apache.tuscany.model.assembly.impl.AssemblyObjectImpl |
---|
accept, checkInitialized, checkNotFrozen, freeze, initialize, isFrozen, isInitialized |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ConfiguredPropertyImpl()
Method Detail |
---|
public String getName()
ConfiguredProperty
getName
in interface ConfiguredProperty
public void setName(String name)
ConfiguredProperty
setName
in interface ConfiguredProperty
name
- the name of the property being configuredpublic Property getProperty()
ConfiguredProperty
Property
whose value is being set.
getProperty
in interface ConfiguredProperty
Property
whose value is being setpublic void setProperty(Property property)
ConfiguredProperty
Property
whose value is being set.
setProperty
in interface ConfiguredProperty
property
- the Property
whose value is being setpublic Object getValue()
ConfiguredProperty
Property
.
getValue
in interface ConfiguredProperty
Property
public void setValue(Object value)
ConfiguredProperty
Property
.
setValue
in interface ConfiguredProperty
value
- the value being set for this usage of the Property
public OverrideOption getOverrideOption()
ConfiguredProperty
getOverrideOption
in interface ConfiguredProperty
public void setOverrideOption(OverrideOption value)
ConfiguredProperty
setOverrideOption
in interface ConfiguredProperty
value
- the option that determines how property configuration can be overridenpublic void initialize(AssemblyContext modelContext)
AssemblyObject
initialize
in interface AssemblyObject
initialize
in class AssemblyObjectImpl
modelContext
- context providing access to the environment in which this model is being usedpublic void freeze()
AssemblyObject
freeze
in interface AssemblyObject
freeze
in class AssemblyObjectImpl
public boolean accept(AssemblyVisitor visitor)
AssemblyObject
accept
in interface AssemblyObject
accept
in class AssemblyObjectImpl
visitor
- a visitor that is visiting the model
|
Tuscany Assembly Model | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |