|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.fractal.fscript.model.AbstractNode
org.ow2.frascati.fscript.model.ScaPropertyNode
public class ScaPropertyNode
A Node which represents a SCA property.
| Field Summary |
|---|
| Fields inherited from class org.objectweb.fractal.fscript.model.AbstractNode |
|---|
kind |
| Constructor Summary | |
|---|---|
protected |
ScaPropertyNode(FraSCAtiModel model,
org.objectweb.fractal.api.Component owner,
org.ow2.frascati.tinfi.api.control.SCAPropertyController ctl,
String propName)
Creates a new ScaPropertyNode. |
| Method Summary | |
|---|---|
String |
getName()
Returns the name of this property. |
Object |
getProperty(String name)
Returns the current value of one of this node's properties. |
Object |
getValue()
Returns the current value of this property. |
void |
setProperty(String name,
Object value)
Changes the value of one of this node's properties. |
void |
setValue(Object value)
Sets the value of this property. |
String |
toString()
|
| Methods inherited from class org.objectweb.fractal.fscript.model.AbstractNode |
|---|
checkSetRequest, getKind, inspect |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ScaPropertyNode(FraSCAtiModel model,
org.objectweb.fractal.api.Component owner,
org.ow2.frascati.tinfi.api.control.SCAPropertyController ctl,
String propName)
ScaPropertyNode.
model - the FraSCAti model this node is part of.ctl - the SCA property controller holding this attribute.propName - the name of the property.| Method Detail |
|---|
public final String getName()
public final Object getValue()
public final void setValue(Object value)
value - the new value to set for this property.public final Object getProperty(String name)
name - the name of the property to access.
IllegalArgumentException - if this node does not have a property of the given name.
public final void setProperty(String name,
Object value)
name - the name of the property to change.value - the new value to set for the property.
NoSuchElementException - if this node does not have a property of the given name.public final String toString()
toString in class org.objectweb.fractal.fscript.model.AbstractNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||