|
||||||||||
| 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.control.property.SCAPropertyController ctl,
java.lang.String propName)
Creates a new ScaPropertyNode. |
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the name of this property. |
java.lang.Object |
getProperty(java.lang.String name)
Returns the current value of one of this node's properties. |
java.lang.Object |
getValue()
Returns the current value of this property. |
void |
setProperty(java.lang.String name,
java.lang.Object value)
Changes the value of one of this node's properties. |
void |
setValue(java.lang.Object value)
Sets the value of this property. |
java.lang.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.control.property.SCAPropertyController ctl,
java.lang.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 java.lang.String getName()
public final java.lang.Object getValue()
public final void setValue(java.lang.Object value)
value - the new value to set for this property.public final java.lang.Object getProperty(java.lang.String name)
name - the name of the property to access.
java.lang.IllegalArgumentException - if this node does not have a property of the given name.
public final void setProperty(java.lang.String name,
java.lang.Object value)
name - the name of the property to change.value - the new value to set for the property.
java.util.NoSuchElementException - if this node does not have a property of the given name.public final java.lang.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 | |||||||||