|
|||||||||
| 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
public class AbstractPropertyImpl
Represents an abstract property.
| Constructor Summary | |
|---|---|
protected |
AbstractPropertyImpl()
Constructs a new abstract property. |
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the property name. |
java.util.List<Intent> |
getRequiredIntents()
Returns a list of policy intents. |
IntentAttachPointType |
getType()
Returns the type of the attach point such as a BindingType or an ImplementationType and so on |
java.lang.Object |
getValue()
Returns the default value of the property. |
javax.xml.namespace.QName |
getXSDElement()
Returns the element defining the data type of this property. |
javax.xml.namespace.QName |
getXSDType()
Returns the data type of this property. |
boolean |
isMany()
Returns true if the property allows multiple values. |
boolean |
isMustSupply()
Returns true if a value must be supplied for the property. |
void |
setMany(boolean many)
Sets whether or not the property allows multiple values. |
void |
setMustSupply(boolean mustSupply)
Sets whether a value must be supplied for the property. |
void |
setName(java.lang.String name)
Sets the property name. |
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 |
setValue(java.lang.Object defaultValue)
Sets the default value of the property. |
void |
setXSDElement(javax.xml.namespace.QName element)
Sets the element defining the data type of this property. |
void |
setXSDType(javax.xml.namespace.QName type)
Sets the data type of this property. |
| 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 |
|---|
clone, 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 AbstractPropertyImpl()
| Method Detail |
|---|
public java.util.List<Intent> getRequiredIntents()
IntentAttachPoint
getRequiredIntents in interface IntentAttachPointpublic java.lang.Object getValue()
AbstractProperty
getValue in interface AbstractPropertypublic java.lang.String getName()
AbstractProperty
getName in interface AbstractPropertypublic javax.xml.namespace.QName getXSDElement()
AbstractProperty
getXSDElement in interface AbstractPropertypublic javax.xml.namespace.QName getXSDType()
AbstractProperty
getXSDType in interface AbstractPropertypublic boolean isMany()
AbstractProperty
isMany in interface AbstractPropertypublic boolean isMustSupply()
AbstractProperty
isMustSupply in interface AbstractPropertypublic void setValue(java.lang.Object defaultValue)
AbstractProperty
setValue in interface AbstractPropertydefaultValue - the default value of this propertypublic void setMany(boolean many)
AbstractProperty
setMany in interface AbstractPropertymany - true if the property should allow multiple valuespublic void setMustSupply(boolean mustSupply)
AbstractProperty
setMustSupply in interface AbstractPropertymustSupply - set to true to require that a value be supplied for
uses of this propertypublic void setName(java.lang.String name)
AbstractProperty
setName in interface AbstractPropertyname - the property namepublic void setXSDElement(javax.xml.namespace.QName element)
AbstractProperty
setXSDElement in interface AbstractPropertyelement - the element defining the type of this propertypublic void setXSDType(javax.xml.namespace.QName type)
AbstractProperty
setXSDType in interface AbstractPropertytype - the type of this propertypublic IntentAttachPointType getType()
IntentAttachPoint
getType in interface IntentAttachPointpublic void setType(IntentAttachPointType type)
IntentAttachPoint
setType in interface IntentAttachPointpublic void setRequiredIntents(java.util.List<Intent> intents)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||