|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object 'Profile'.
The following features are supported:
UML2Package.getProfile()
Field Summary | |
static String |
copyright
|
Fields inherited from interface org.eclipse.uml2.NamedElement |
SEPARATOR |
Method Summary | |
void |
define()
Defines this profile by (re)creating Ecore representations of its current contents and incrementing its version. |
EList |
getElementImports()
|
EList |
getMetaclassReferences()
Returns the value of the 'Metaclass Reference' reference list. |
EList |
getMetamodelReferences()
Returns the value of the 'Metamodel Reference' reference list. |
Stereotype |
getOwnedStereotype(String unqualifiedName)
Retrieves the Stereotype with the specified name from the 'Owned Stereotype' reference list |
EList |
getOwnedStereotypes()
Returns the value of the 'Owned Stereotype' reference list. |
EList |
getPackageImports()
|
Set |
getReferencedMetaclasses()
Retrieves the set of metaclasses referenced by this profile. |
Set |
getReferencedMetamodels()
Retrieves the set of metamodels referenced by this profile. |
String |
getVersion()
Retrieves the version of this profile. |
boolean |
isDefined()
Determines whether this profile is defined. |
void |
referenceMetaclass(Class class_)
References the specified metaclass in this profile with private visibility. |
void |
referenceMetamodel(Model model)
References the specified metamodel in this profile with private visibility. |
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, getPackageMerges, isApplied, makesVisible, mustBeOwned, unapply, validateElementsPublicOrPrivate, visibleMembers |
Methods inherited from interface org.eclipse.uml2.Namespace |
createElementImport, createOwnedRule, createPackageImport, excludeCollisions, 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.TemplateableElement |
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature |
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.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.PackageableElement |
getPackageableElement_visibility, getVisibility, setPackageableElement_visibility, setVisibility |
Methods inherited from interface org.eclipse.uml2.ParameterableElement |
getOwner, getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter |
Field Detail |
public static final String copyright
Method Detail |
public EList getOwnedStereotypes()
Stereotype
.
If the meaning of the 'Owned Stereotype' reference list isn't clear, there really should be more of a description here...
UML2Package.getProfile_OwnedStereotype()
public Stereotype getOwnedStereotype(String unqualifiedName)
Stereotype
with the specified name from the 'Owned Stereotype' reference list.
unqualifiedName
- The unqualified name of the Stereotype
to retrieve.
Stereotype
with the specified name, or null
.getOwnedStereotypes()
public EList getMetaclassReferences()
ElementImport
.
If the meaning of the 'Metaclass Reference' reference list isn't clear, there really should be more of a description here...
UML2Package.getProfile_MetaclassReference()
public EList getMetamodelReferences()
PackageImport
.
If the meaning of the 'Metamodel Reference' reference list isn't clear, there really should be more of a description here...
UML2Package.getProfile_MetamodelReference()
public EList getElementImports()
getElementImports
in interface Namespace
UML2Package.getNamespace_ElementImport()
,
ElementImport.getImportingNamespace()
public EList getPackageImports()
getPackageImports
in interface Package
public boolean isDefined()
true
if this profile is defined; false
otherwise.public String getVersion()
null
if undefined.public void define()
IllegalArgumentException
- If this profile has no name.public Set getReferencedMetaclasses()
public void referenceMetaclass(Class class_)
class_
- The metaclass to reference.
IllegalArgumentException
- If this profile already references
the metaclass.public Set getReferencedMetamodels()
public void referenceMetamodel(Model model)
model
- The metamodel to reference.
IllegalArgumentException
- If this profile already references
the metamodel.
|
Copyright 2003, 2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |