|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyType
A representation of the model object 'Type'.
PropertyPackage.getPropertyType()
Field Summary | |
---|---|
static java.lang.String |
copyright
|
static java.lang.String |
VALUE_OKAY
Constant for containsValue(boolean, PropertyValue) indicating
that the given value is legal. |
Method Summary | |
---|---|
java.lang.String |
acceptsValuesOfType(PropertyType pt)
Test whether this type accepts values of the given type. |
java.lang.String |
containsValue(boolean isList,
PropertyValue pv)
Test whether the given value (property expression) is a legal value of this type. |
PropertySet |
getPropertySet()
gets the containing property set for a named property type or an unnamed property type in a property definition |
java.lang.String |
getQualifiedName()
get the qualified name including the property set |
Methods inherited from interface edu.cmu.sei.aadl.model.core.NamedElement |
---|
getName, setName |
Methods inherited from interface edu.cmu.sei.aadl.model.core.AObject |
---|
addComment, getAadlSpec, getAObjectRoot, getChildren, getComment, getContainingClassifier, getContainingClassifierNameSpace, getContainingComponentImpl, getContainingComponentType, getContainingPropertyAssociationDefinitionConstant, getContainingSubcomponent, getLocationReference, getReferencedObject, getSecondReferencedObject, getSystemInstance, setLocationReference, setLocationReference |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Field Detail |
---|
static final java.lang.String VALUE_OKAY
containsValue(boolean, PropertyValue)
indicating
that the given value is legal.
static final java.lang.String copyright
Method Detail |
---|
java.lang.String getQualifiedName()
PropertySet getPropertySet()
java.lang.String containsValue(boolean isList, PropertyValue pv)
isList
is
true
, the test is really whether the given value can be
an element of a list of the given type.)
isList
- If true
we should consider the type as a list,
if false
we should consider the type as a
scaler.pv
- The property value to test
VALUE_OKAY
when pv
is a legal value,
otherwise it returns a string containing an error message.java.lang.String acceptsValuesOfType(PropertyType pt)
pt
- The property type to test
VALUE_OKAY
when pt
is acceptable,
otherwise it returns a string containing an error message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |