|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.assembly.impl.BaseImpl
org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
org.apache.tuscany.sca.assembly.impl.AbstractPropertyImpl
org.apache.tuscany.sca.assembly.impl.PropertyImpl
org.apache.tuscany.sca.assembly.impl.ComponentPropertyImpl
public class ComponentPropertyImpl
Represents a component property.
Constructor Summary | |
---|---|
protected |
ComponentPropertyImpl()
Constructs a new component property. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a clone of the 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. |
javax.xml.xpath.XPathExpression |
getSourceXPathExpression()
Get the XPath expression for the source attribute |
java.lang.Object |
getValue()
Returns the default value of the property. |
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 class org.apache.tuscany.sca.assembly.impl.PropertyImpl |
---|
getApplicablePolicySets, getPolicySets, setPolicySets |
Methods inherited from class org.apache.tuscany.sca.assembly.impl.AbstractPropertyImpl |
---|
getName, getRequiredIntents, getType, getXSDElement, getXSDType, isMany, isMustSupply, setMany, setMustSupply, setName, setRequiredIntents, setType, setValue, setXSDElement, setXSDType |
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ExtensibleImpl |
---|
getExtensions |
Methods inherited from class org.apache.tuscany.sca.assembly.impl.BaseImpl |
---|
isUnresolved, setUnresolved |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tuscany.sca.assembly.AbstractProperty |
---|
getName, 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 |
Constructor Detail |
---|
protected ComponentPropertyImpl()
Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
Property
clone
in interface Property
clone
in class PropertyImpl
java.lang.CloneNotSupportedException
public java.lang.Object getValue()
AbstractProperty
getValue
in interface AbstractProperty
getValue
in class AbstractPropertyImpl
public java.lang.String getFile()
ComponentProperty
getFile
in interface ComponentProperty
public Property getProperty()
ComponentProperty
getProperty
in interface ComponentProperty
public java.lang.String getSource()
ComponentProperty
getSource
in interface ComponentProperty
public void setFile(java.lang.String file)
ComponentProperty
setFile
in interface ComponentProperty
file
- a URI to a file containing the property valuepublic void setProperty(Property property)
ComponentProperty
setProperty
in interface ComponentProperty
property
- the property defined by this component implementationpublic void setSource(java.lang.String source)
ComponentProperty
setSource
in interface ComponentProperty
source
- an XPath expression referencing a property of the enclosing
compositepublic javax.xml.xpath.XPathExpression getSourceXPathExpression()
ComponentProperty
getSourceXPathExpression
in interface ComponentProperty
public void setSourceXPathExpression(javax.xml.xpath.XPathExpression sourceXPathExpression)
ComponentProperty
setSourceXPathExpression
in interface ComponentProperty
sourceXPathExpression
- the XPath expression for the source attribute
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |