|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.spi.model.ModelObject
org.apache.tuscany.spi.model.PropertyValue<T>
public class PropertyValue<T>
Represents a configured component property
Constructor Summary | |
---|---|
PropertyValue()
|
|
PropertyValue(String name,
Document value)
|
|
PropertyValue(String name,
ObjectFactory<T> valueFactory)
|
|
PropertyValue(String name,
String source,
String file)
Constructor specifying the name of a property and the XPath source expression. |
Method Summary | |
---|---|
String |
getFile()
|
String |
getName()
Returns the name of the property that this value is for. |
String |
getSource()
Returns an XPath expression that should be evaluated to get the actual property value. |
Document |
getValue()
|
ObjectFactory<T> |
getValueFactory()
|
void |
setFile(String file)
|
void |
setName(String name)
Sets the name of the property that this value is for. |
void |
setSource(String source)
Sets an XPath expression that should be evaluated to get the actual property value. |
void |
setValue(Document value)
|
void |
setValueFactory(ObjectFactory<T> valueFactory)
|
Methods inherited from class org.apache.tuscany.spi.model.ModelObject |
---|
getExtensions |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyValue()
public PropertyValue(String name, String source, String file)
name
- the name of the property which this value is forsource
- an XPath expression whose result will be the actual valuefile
- A URI that the property value can be loaded frompublic PropertyValue(String name, Document value)
name
- value
- public PropertyValue(String name, ObjectFactory<T> valueFactory)
Method Detail |
---|
public String getName()
public void setName(String name)
name
- the name of the property that this value is forpublic String getSource()
public void setSource(String source)
source
- an XPath expression that should be evaluated to get the actual property valuepublic ObjectFactory<T> getValueFactory()
public void setValueFactory(ObjectFactory<T> valueFactory)
public Document getValue()
public void setValue(Document value)
public String getFile()
public void setFile(String file)
file
- the file to set
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |