org.apache.tuscany.sca.assembly
Interface ComponentProperty

All Superinterfaces:
AbstractProperty, Base, java.lang.Cloneable, IntentAttachPoint, PolicySetAttachPoint, Property

public interface ComponentProperty
extends Property, java.lang.Cloneable

Represents a configured property of a component.

Version:
$Rev: 537384 $ $Date: 2007-05-12 12:02:56 +0100 (Sat, 12 May 2007) $

Method Summary
 java.lang.Object clone()
          Clone the component property.
 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.
 void setFile(java.lang.String file)
          Sets a URI to a file containing the property value.
 void setProperty(Property property)
          Sets the property type that defines this property.
 void setSource(java.lang.String source)
          Sets an xpath expression referencing a property of the enclosing composite.
 
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
getExtensions, isUnresolved, setUnresolved
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents
 
Methods inherited from interface org.apache.tuscany.sca.policy.PolicySetAttachPoint
getPolicySets
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents
 

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 type that defines this property.

Parameters:
type - the property that defines this property

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

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

clone

java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone the component property.

Specified by:
clone in interface Property
Returns:
a clone of the component property
Throws:
java.lang.CloneNotSupportedException