|
|||||||||
| 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.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 Componentclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.String getURI()
Component
getURI in interface Componentpublic void setURI(java.lang.String uri)
Component
setURI in interface Componenturi - the URI of the componentpublic ConstrainingType getConstrainingType()
Component
getConstrainingType in interface Componentpublic Implementation getImplementation()
Component
getImplementation in interface Componentpublic java.lang.String getName()
Component
getName in interface Componentpublic java.util.List<ComponentProperty> getProperties()
Component
getProperties in interface Componentpublic java.util.List<ComponentReference> getReferences()
Component
getReferences in interface Componentpublic java.util.List<ComponentService> getServices()
Component
getServices in interface Componentpublic void setConstrainingType(ConstrainingType constrainingType)
Component
setConstrainingType in interface ComponentconstrainingType - the constraining typepublic void setImplementation(Implementation implementation)
Component
setImplementation in interface Componentimplementation - the component implementationpublic void setName(java.lang.String name)
Component
setName in interface Componentname - the name of the componentpublic java.util.List<Intent> getRequiredIntents()
IntentAttachPoint
getRequiredIntents in interface IntentAttachPointpublic java.util.List<PolicySet> getPolicySets()
PolicySetAttachPoint
getPolicySets in interface PolicySetAttachPointpublic boolean isAutowire()
public void setAutowire(java.lang.Boolean autowire)
Component
setAutowire in interface Componentautowire - whether component references should be autowiredpublic java.lang.Boolean getAutowire()
Component
getAutowire in interface Componentpublic IntentAttachPointType getType()
IntentAttachPoint
getType in interface IntentAttachPointpublic void setType(IntentAttachPointType type)
IntentAttachPoint
setType in interface IntentAttachPointpublic void setPolicySets(java.util.List<PolicySet> policySets)
public void setRequiredIntents(java.util.List<Intent> intents)
public java.util.List<ConfiguredOperation> getConfiguredOperations()
getConfiguredOperations in interface OperationsConfiguratorpublic 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 | ||||||||