|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.assembly.impl.BaseImpl org.apache.tuscany.sca.assembly.impl.ExtensibleImpl org.apache.tuscany.sca.assembly.impl.ComponentImpl
public class ComponentImpl
Represents a component.
Constructor Summary | |
---|---|
protected |
ComponentImpl()
Constructs a new component. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a clone of the component. |
java.util.List<PolicySet> |
getApplicablePolicySets()
Returns a list of policy sets defined in the domain, that are applicable to this PolicySetAttachPoint. |
java.lang.Boolean |
getAutowire()
Return the Boolean value of autowire |
java.util.List<ConfiguredOperation> |
getConfiguredOperations()
|
ConstrainingType |
getConstrainingType()
Returns a constraining type defining the shape of the component. |
Implementation |
getImplementation()
Returns the component implementation. |
java.lang.String |
getName()
Returns the name of the component. |
java.util.List<PolicySet> |
getPolicySets()
Returns a list of policy sets. |
java.util.List<ComponentProperty> |
getProperties()
Returns a list of properties for the component. |
java.util.List<ComponentReference> |
getReferences()
Returns a list of references used by the component. |
java.util.List<Intent> |
getRequiredIntents()
Returns a list of policy intents. |
java.util.List<ComponentService> |
getServices()
Returns a list of services exposed by the component. |
IntentAttachPointType |
getType()
Returns the type of the attach point such as a BindingType or an ImplementationType and so on |
java.lang.String |
getURI()
Returns the URI of the component. |
boolean |
isAutowire()
|
void |
setAutowire(java.lang.Boolean autowire)
Sets whether component references should be autowired. |
void |
setConfiguredOperations(java.util.List<ConfiguredOperation> configuredOperations)
|
void |
setConstrainingType(ConstrainingType constrainingType)
Sets a constraining type defining the shape of the component. |
void |
setImplementation(Implementation implementation)
Sets the component implementation |
void |
setName(java.lang.String name)
Sets the name of the component. |
void |
setPolicySets(java.util.List<PolicySet> policySets)
|
void |
setRequiredIntents(java.util.List<Intent> intents)
|
void |
setType(IntentAttachPointType type)
Sets the type of the attach point such as a BindingType or an ImplementationType and so on |
void |
setURI(java.lang.String uri)
Sets the URI of the component. |
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.Base |
---|
isUnresolved, setUnresolved |
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible |
---|
getExtensions |
Constructor Detail |
---|
protected ComponentImpl()
Method Detail |
---|
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
Component
clone
in interface Component
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String getURI()
Component
getURI
in interface Component
public void setURI(java.lang.String uri)
Component
setURI
in interface Component
uri
- the URI of the componentpublic ConstrainingType getConstrainingType()
Component
getConstrainingType
in interface Component
public Implementation getImplementation()
Component
getImplementation
in interface Component
public java.lang.String getName()
Component
getName
in interface Component
public java.util.List<ComponentProperty> getProperties()
Component
getProperties
in interface Component
public java.util.List<ComponentReference> getReferences()
Component
getReferences
in interface Component
public java.util.List<ComponentService> getServices()
Component
getServices
in interface Component
public void setConstrainingType(ConstrainingType constrainingType)
Component
setConstrainingType
in interface Component
constrainingType
- the constraining typepublic void setImplementation(Implementation implementation)
Component
setImplementation
in interface Component
implementation
- the component implementationpublic void setName(java.lang.String name)
Component
setName
in interface Component
name
- the name of the componentpublic java.util.List<Intent> getRequiredIntents()
IntentAttachPoint
getRequiredIntents
in interface IntentAttachPoint
public java.util.List<PolicySet> getPolicySets()
PolicySetAttachPoint
getPolicySets
in interface PolicySetAttachPoint
public boolean isAutowire()
public void setAutowire(java.lang.Boolean autowire)
Component
setAutowire
in interface Component
autowire
- whether component references should be autowiredpublic java.lang.Boolean getAutowire()
Component
getAutowire
in interface Component
public IntentAttachPointType getType()
IntentAttachPoint
getType
in interface IntentAttachPoint
public void setType(IntentAttachPointType type)
IntentAttachPoint
setType
in interface IntentAttachPoint
public void setPolicySets(java.util.List<PolicySet> policySets)
public void setRequiredIntents(java.util.List<Intent> intents)
public java.util.List<ConfiguredOperation> getConfiguredOperations()
getConfiguredOperations
in interface OperationsConfigurator
public void setConfiguredOperations(java.util.List<ConfiguredOperation> configuredOperations)
public java.util.List<PolicySet> getApplicablePolicySets()
PolicySetAttachPoint
getApplicablePolicySets
in interface PolicySetAttachPoint
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |