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()
Field Summary |
static java.lang.String |
copyright
|
Method Summary |
java.lang.String |
getViewpoint()
Returns the value of the 'Viewpoint' attribute.
|
boolean |
isLibrary()
Determines whether this model is a library. |
boolean |
isMetamodel()
Determines whether this model is a metamodel. |
void |
setViewpoint(java.lang.String value)
Sets the value of the 'Viewpoint ' attribute |
Methods inherited from interface org.eclipse.uml2.Package |
apply, createNestedPackage, createOwnedClass, createOwnedEnumeraton, createOwnedMember, createOwnedPrimitiveType, createPackageExtension, createPackageExtension, createPackageMerge, createPackageMerge, getAllAppliedProfiles, getAppliedProfiles, getAppliedVersion, getNestedPackage, getNestedPackages, getNestingPackage, getOwnedMember, getOwnedMembers, getOwnedType, getOwnedTypes, getPackageExtensions, getPackageMerges, isApplied, makesVisible, unapply, validateElementsPublicOrPrivate, visibleMembers |
Methods inherited from interface org.eclipse.uml2.Namespace |
createElementImport, createElementImport, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMembers, getNamesOfMember, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable |
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.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.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
copyright
public static final java.lang.String copyright
-
- See Also:
- Constant Field Values
getViewpoint
public java.lang.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(java.lang.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.