public interface Type extends PackageableElement
From package UML::CommonStructure.
The following features are supported:
UMLPackage.getType()
SEPARATOR
Modifier and Type | Method and Description |
---|---|
boolean |
conformsTo(Type other)
The query conformsTo() gives true for a Type that conforms to another.
|
Association |
createAssociation(boolean end1IsNavigable,
AggregationKind end1Aggregation,
java.lang.String end1Name,
int end1Lower,
int end1Upper,
Type end1Type,
boolean end2IsNavigable,
AggregationKind end2Aggregation,
java.lang.String end2Name,
int end2Lower,
int end2Upper)
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.
|
org.eclipse.emf.common.util.EList<Association> |
getAssociations()
Retrieves the associations in which this type is involved
|
Package |
getPackage()
Returns the value of the 'Package' reference.
|
void |
setPackage(Package value)
Sets the value of the '
Package ' reference |
validateNamespaceNeedsVisibility
allNamespaces, allOwningPackages, createDependency, createNameExpression, createUsage, getClientDependencies, getClientDependency, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, isSetName, isSetVisibility, separator, setName, setNameExpression, setVisibility, unsetName, unsetVisibility, validateHasNoQualifiedName, validateHasQualifiedName, validateVisibilityNeedsOwnership
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter
addKeyword, allOwnedElements, applyStereotype, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedSubstereotype, getAppliedSubstereotypes, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getRelationships, getRelationships, getRequiredStereotype, getRequiredStereotypes, getSourceDirectedRelationships, getSourceDirectedRelationships, getStereotypeApplication, getStereotypeApplications, getTargetDirectedRelationships, getTargetDirectedRelationships, getValue, hasKeyword, hasValue, isStereotypeApplicable, isStereotypeApplied, isStereotypeRequired, mustBeOwned, removeKeyword, setValue, unapplyStereotype, validateHasOwner, validateNotOwnSelf
getEAnnotation, getEAnnotations
Package getPackage()
Owned Type
'.
This feature subsets the following features:
Specifies the owning Package of this Type, if any.From package UML::CommonStructure.
setPackage(org.eclipse.uml2.uml.Package)
,
UMLPackage.getType_Package()
,
Package.getOwnedTypes()
void setPackage(Package value)
Package
' reference.
value
- the new value of the 'Package' reference.getPackage()
Association createAssociation(boolean end1IsNavigable, AggregationKind end1Aggregation, java.lang.String end1Name, int end1Lower, int end1Upper, Type end1Type, boolean end2IsNavigable, AggregationKind end2Aggregation, java.lang.String end2Name, int end2Lower, int end2Upper)
end1IsNavigable
- The navigability for the first end of the new association.end1Aggregation
- The aggregation for the first end of the new association.end1Name
- The name for the first end of the new association.end1Lower
- The lower bound for the first end of the new association.end1Upper
- The upper bound for the first end of the new association.end1Type
- The type for the first end of the new association.end2IsNavigable
- The navigability for the second end of the new association.end2Aggregation
- The aggregation for the second end of the new association.end2Name
- The name for the second end of the new association.end2Lower
- The lower bound for the second end of the new association.end2Upper
- The upper bound for the second end of the new association.
org.eclipse.emf.common.util.EList<Association> getAssociations()
boolean conformsTo(Type other)
From package UML::CommonStructure.