public interface ClassifierTemplateParameter extends TemplateParameter
A ClassifierTemplateParameter exposes a Classifier as a formal template parameter.
The following features are supported:
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Classifier> |
getConstrainingClassifier()
Returns the value of the 'Constraining Classifier' reference list.
|
Classifier |
getParameteredElement()
Returns the value of the 'Parametered Element' reference.
|
boolean |
hasConstrainingClassifier() |
boolean |
isAllowSubstitutable()
Returns the value of the 'Allow Substitutable' attribute.
|
void |
setAllowSubstitutable(boolean value)
Sets the value of the
'
Allow Substitutable ' attribute. |
void |
setParameteredElement(Classifier value)
Sets the value of the
'
Parametered Element ' reference. |
get_templateParameterSubstitutionOfFormal, get_templateSignatureOfParameter, getDefault, getOwnedDefault, getOwnedParameteredElement, getSignature, has_templateParameterSubstitutionOfFormal, has_templateSignatureOfParameter, setDefault, setOwnedDefault, setOwnedParameteredElement, setParameteredElement, setSignature
get_activityPartitionOfRepresents, get_commentOfAnnotatedElement, get_constraintOfConstrainedElement, get_diagramOfContext, get_directedRelationshipOfSource, get_directedRelationshipOfTarget, get_elementOfSyncElement, get_elementValueOfElement, get_relationshipOfRelatedElement, getAppliedStereotypeInstance, getOwnedComment, getOwnedElement, getOwner, getSyncElement, has_activityPartitionOfRepresents, has_commentOfAnnotatedElement, has_constraintOfConstrainedElement, has_diagramOfContext, has_directedRelationshipOfSource, has_directedRelationshipOfTarget, has_elementOfSyncElement, has_elementValueOfElement, has_relationshipOfRelatedElement, hasOwnedComment, hasOwnedElement, setAppliedStereotypeInstance, setOwner, setSyncElement
get_representationText, getLocalID, isInvalid, set_representationText, setLocalID, sGetLocalID
getID, getMDExtension, getMdExtensions, setID
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
accept, addPropertyChangeListener, canAdd, canAdd, canAddChild, canBeDeleted, firePropertyChange, getClassType, getHumanName, getHumanType, getObjectParent, isEditable, removePropertyChangeListener, sGetID
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
boolean isAllowSubstitutable()
"true"
.
Constrains the required relationship between an actual parameter and the parameteredElement for this formal parameter.
setAllowSubstitutable(boolean)
,
UMLPackage.getClassifierTemplateParameter_AllowSubstitutable()
void setAllowSubstitutable(boolean value)
Allow Substitutable
' attribute.
value
- the new value of the 'Allow Substitutable' attribute.isAllowSubstitutable()
java.util.Collection<Classifier> getConstrainingClassifier()
Classifier
.
It is bidirectional and its opposite is '.Classifier#get_classifierTemplateParameterOfConstrainingClassifier classifier Template Parameter Of Constraining Classifier
'.
The classifiers that constrain the argument that can be used for the parameter. If the allowSubstitutable attribute is true, then any Classifier that is
compatible with this constraining Classifier can be substituted; otherwise, it must be either this Classifier or one of its specializations. If this property is
empty, there are no constraints on the Classifier that can be used as an argument.
UMLPackage.getClassifierTemplateParameter_ConstrainingClassifier()
,
Classifier.get_classifierTemplateParameterOfConstrainingClassifier()
@CheckForNull Classifier getParameteredElement()
Template Parameter
'.
The Classifier exposed by this ClassifierTemplateParameter.
getParameteredElement
in interface TemplateParameter
setParameteredElement(Classifier)
,
UMLPackage.getClassifierTemplateParameter_ParameteredElement()
,
Classifier.getTemplateParameter()
void setParameteredElement(@CheckForNull Classifier value)
Parametered Element
' reference.
value
- the new value of the 'Parametered Element' reference.getParameteredElement()
boolean hasConstrainingClassifier() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException