|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Type'. A type serves as a constraint on the range of values represented by a typed element. Type is an abstract metaclass.
The following features are supported:
UML2Package.getType()
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
---|
SEPARATOR |
Method Summary | |
---|---|
boolean |
conformsTo(Type other)
A query based on the following OCL expression:
false
|
Association |
createAssociation(boolean thisEndIsNavigable,
AggregationKind thisEndAggregation,
java.lang.String thisEndName,
int thisEndLowerBound,
int thisEndUpperBound,
Type otherType,
boolean otherEndIsNavigable,
AggregationKind otherEndAggregation,
java.lang.String otherEndName,
int otherEndLowerBound,
int otherEndUpperBound)
Creates a(n) (binary) association between this type and the specified other type, with the specified navigabilities, aggregations, names, lower bounds, and upper bounds, and owned by this type's nearest package. |
Package |
getPackage()
Returns the value of the 'Package' reference. |
Methods inherited from interface org.eclipse.uml2.PackageableElement |
---|
getPackageableElement_visibility, setPackageableElement_visibility |
Methods inherited from interface org.eclipse.uml2.NamedElement |
---|
allNamespaces, createDependency, createNameExpression, createNameExpression, getClientDependencies, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.TemplateableElement |
---|
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature |
Methods inherited from interface org.eclipse.uml2.Element |
---|
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
---|
getEAnnotation, getEAnnotations |
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.uml2.ParameterableElement |
---|
getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter |
Field Detail |
public static final java.lang.String copyright
Method Detail |
public Package getPackage()
Owned Type
'.
If the meaning of the 'Package' reference isn't clear, there really should be more of a description here...
References the owning package of a package. Subsets NamedElement::namespace.
UML2Package.getType_Package()
,
Package.getOwnedTypes()
public boolean conformsTo(Type other)
false
public Association createAssociation(boolean thisEndIsNavigable, AggregationKind thisEndAggregation, java.lang.String thisEndName, int thisEndLowerBound, int thisEndUpperBound, Type otherType, boolean otherEndIsNavigable, AggregationKind otherEndAggregation, java.lang.String otherEndName, int otherEndLowerBound, int otherEndUpperBound)
thisEndIsNavigable
- The navigability of this end.thisEndAggregation
- The aggregation of this end.thisEndName
- The name of this end.thisEndLowerBound
- The lower bound of this end.thisEndUpperBound
- The upper bound of this end.otherType
- The type at the other end.otherEndIsNavigable
- The navigability of the other end.otherEndAggregation
- The aggregation of the other end.otherEndName
- The name of the other end.otherEndLowerBound
- The lower bound of the other end.otherEndUpperBound
- The upper bound of the other end.
java.lang.IllegalArgumentException
- If any of the navigabilities, lower
bounds, or upper bounds are invalid.
|
Copyright 2003, 2005 IBM Corporation and others. All Rights Reserved. |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |