org.apache.tuscany.sca.assembly
Interface ComponentProperty

All Superinterfaces:
AbstractProperty, Base, java.lang.Cloneable, Extensible, IntentAttachPoint, PolicySetAttachPoint, Property
All Known Implementing Classes:
ComponentPropertyImpl

public interface ComponentProperty
extends Property

Represents a configured property of a component.


Method Summary
 java.lang.String getFile()
          Returns a URI to a file containing the property value.
 Property getProperty()
          Returns the property defined by the component implementation.
 java.lang.String getSource()
          Returns an XPath expression referencing a property of the enclosing composite.
 javax.xml.xpath.XPathExpression getSourceXPathExpression()
          Get the XPath expression for the source attribute
 void setFile(java.lang.String file)
          Sets a URI to a file containing the property value.
 void setProperty(Property property)
          Sets the property defined by this component implementation.
 void setSource(java.lang.String source)
          Sets an XPath expression referencing a property of the enclosing composite.
 void setSourceXPathExpression(javax.xml.xpath.XPathExpression sourceXPathExpression)
          Set the XPath expression for the source attribute
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Property
clone
 
Methods inherited from interface org.apache.tuscany.sca.assembly.AbstractProperty
getName, getValue, getXSDElement, getXSDType, isMany, isMustSupply, setMany, setMustSupply, setName, setValue, setXSDElement, setXSDType
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible
getExtensions
 
Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint
getApplicablePolicySets, getPolicySets
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents, getType, setType
 

Method Detail

getProperty

Property getProperty()
Returns the property defined by the component implementation.

Returns:
the property defined by the component implementation

setProperty

void setProperty(Property property)
Sets the property defined by this component implementation.

Parameters:
property - the property defined by this component implementation

getSource

java.lang.String getSource()
Returns an XPath expression referencing a property of the enclosing composite.

Returns:
an XPath expression referencing a property of the enclosing composite

setSource

void setSource(java.lang.String source)
Sets an XPath expression referencing a property of the enclosing composite.

Parameters:
source - an XPath expression referencing a property of the enclosing composite

getSourceXPathExpression

javax.xml.xpath.XPathExpression getSourceXPathExpression()
Get the XPath expression for the source attribute

Returns:
the XPath expression for the source attribute

setSourceXPathExpression

void setSourceXPathExpression(javax.xml.xpath.XPathExpression sourceXPathExpression)
Set the XPath expression for the source attribute

Parameters:
sourceXPathExpression - the XPath expression for the source attribute

getFile

java.lang.String getFile()
Returns a URI to a file containing the property value.

Returns:
a URI to a file containing the property value

setFile

void setFile(java.lang.String file)
Sets a URI to a file containing the property value.

Parameters:
file - a URI to a file containing the property value