|
|||||||||
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 IntentAttachPoint
public java.lang.Object getValue()
AbstractProperty
getValue
in interface AbstractProperty
public java.lang.String getName()
AbstractProperty
getName
in interface AbstractProperty
public javax.xml.namespace.QName getXSDElement()
AbstractProperty
getXSDElement
in interface AbstractProperty
public javax.xml.namespace.QName getXSDType()
AbstractProperty
getXSDType
in interface AbstractProperty
public boolean isMany()
AbstractProperty
isMany
in interface AbstractProperty
public boolean isMustSupply()
AbstractProperty
isMustSupply
in interface AbstractProperty
public void setValue(java.lang.Object defaultValue)
AbstractProperty
setValue
in interface AbstractProperty
defaultValue
- the default value of this propertypublic void setMany(boolean many)
AbstractProperty
setMany
in interface AbstractProperty
many
- true if the property should allow multiple valuespublic void setMustSupply(boolean mustSupply)
AbstractProperty
setMustSupply
in interface AbstractProperty
mustSupply
- 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 AbstractProperty
name
- the property namepublic void setXSDElement(javax.xml.namespace.QName element)
AbstractProperty
setXSDElement
in interface AbstractProperty
element
- the element defining the type of this propertypublic void setXSDType(javax.xml.namespace.QName type)
AbstractProperty
setXSDType
in interface AbstractProperty
type
- the type of this propertypublic IntentAttachPointType getType()
IntentAttachPoint
getType
in interface IntentAttachPoint
public void setType(IntentAttachPointType type)
IntentAttachPoint
setType
in interface IntentAttachPoint
public void setRequiredIntents(java.util.List<Intent> intents)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |