|
||||||||||||
| 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 java.lang.String |
copyright
|
| Fields inherited from interface org.eclipse.uml2.NamedElement |
|---|
SEPARATOR |
| Method Summary | |
|---|---|
EObject |
create(Classifier classifier)
Creates and returns an instance of (the Ecore representation of) the specified classifier defined in this profile. |
Stereotype |
createOwnedStereotype(java.lang.String name,
boolean isAbstract)
Creates a(n) (abstract) stereotype with the specified name as an owned stereotype of this profile. |
void |
define()
Defines this profile by (re)creating Ecore representations of its current contents and incrementing its version. |
EList |
getMetaclassReferences()
Returns the value of the 'Metaclass Reference' reference list. |
EList |
getMetamodelReferences()
Returns the value of the 'Metamodel Reference' reference list. |
Stereotype |
getOwnedStereotype(java.lang.String name)
Retrieves the Stereotype with the specified 'Name' from the 'Owned Stereotype' reference list |
EList |
getOwnedStereotypes()
Returns the value of the 'Owned Stereotype' reference list. |
java.util.Set |
getReferencedMetaclasses()
Retrieves the set of metaclasses referenced by this profile. |
java.util.Set |
getReferencedMetamodels()
Retrieves the set of metamodels referenced by this profile. |
java.lang.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.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.PackageableElement |
|---|
getPackageableElement_visibility, setPackageableElement_visibility |
| Methods inherited from interface org.eclipse.uml2.ParameterableElement |
|---|
getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter |
| Field Detail |
public static final java.lang.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(java.lang.String name)
Stereotype with the specified 'Name' from the 'Owned Stereotype' reference list.
name - The '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 boolean isDefined()
true if this profile is defined;
false otherwise.public java.lang.String getVersion()
null if undefined.public void define()
java.lang.IllegalArgumentException - If this profile has no name.public java.util.Set getReferencedMetaclasses()
public void referenceMetaclass(Class class_)
class_ - The metaclass to reference.
java.lang.IllegalArgumentException - If this profile already references the metaclass.public java.util.Set getReferencedMetamodels()
public void referenceMetamodel(Model model)
model - The metamodel to reference.
java.lang.IllegalArgumentException - If this profile already references the metamodel.public EObject create(Classifier classifier)
classifier - The classifier whose Ecore representation is to be
instantiated.
java.lang.IllegalArgumentException - If the classifier is not defined in this profile or cannot
be instantiated.
public Stereotype createOwnedStereotype(java.lang.String name,
boolean isAbstract)
name - The name for the owned stereotype.isAbstract - Whether the owned stereotype should be abstract.
java.lang.IllegalArgumentException - If the name is empty.
|
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 | |||||||||||