org.eclipse.uml2
Interface Model
- All Superinterfaces:
- Element, EModelElement, EObject, NamedElement, Namespace, Notifier, Package, PackageableElement, ParameterableElement, TemplateableElement
- public interface Model
- extends Package
A representation of the model object 'Model'.
The Model construct is defined as a Package. It contains a (hierarchical) set of elements that together describe the physical system being modeled. A Model may also contain a set of elements that represents the environment of the system, typically Actors, together with their interrelationships, such as Associations and Dependencies
The following features are supported:
- See Also:
UML2Package.getModel()
Methods inherited from interface org.eclipse.uml2.Package |
apply, createOwnedMember, createPackageExtension, createPackageMerge, getAllAppliedProfiles, getAppliedProfiles, getAppliedVersion, getNamespace, getNestedPackage, getNestedPackages, getNestingPackage, getOwnedElements, getOwnedMember, getOwnedMembers, getOwnedType, getOwnedTypes, getPackageExtensions, getPackageImports, getPackageMerges, isApplied, makesVisible, mustBeOwned, unapply, validateElementsPublicOrPrivate, visibleMembers |
Methods inherited from interface org.eclipse.uml2.Namespace |
createElementImport, createOwnedRule, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMembers, getNamesOfMember, getOwnedRule, getOwnedRules, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable |
Methods inherited from interface org.eclipse.uml2.NamedElement |
allNamespaces, createNameExpression, getClientDependencies, getClientDependency, getName, getNameExpression, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership |
Methods inherited from interface org.eclipse.uml2.Element |
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
copyright
public static final String copyright
-
- See Also:
- Constant Field Values
getViewpoint
public String getViewpoint()
- Returns the value of the 'Viewpoint' attribute.
The default value is
""
.
If the meaning of the 'Viewpoint' attribute isn't clear,
there really should be more of a description here...
The name of the viewpoint that is expressed by a model (This name may refer to a profile definition).
- Returns:
- the value of the 'Viewpoint' attribute.
- See Also:
setViewpoint(String)
,
UML2Package.getModel_Viewpoint()
setViewpoint
public void setViewpoint(String value)
- Sets the value of the '
Viewpoint
' attribute.
- Parameters:
value
- the new value of the 'Viewpoint' attribute.- See Also:
getViewpoint()
isLibrary
public boolean isLibrary()
- Determines whether this model is a library.
- Returns:
true
if this model is stereotyped as a model
library; false
otherwise.
isMetamodel
public boolean isMetamodel()
- Determines whether this model is a metamodel.
- Returns:
true
if this model is stereotyped as a metamodel;
false
otherwise.