|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object ' Profile'. xmi:ordered=true property order is (these are role names) 1. description 2. relatedProfile An asset is defined by one profile; a profile describes the asset's type. The profile can have different versions and should declare its lineage or ancestry from other profiles. The related-profile captures information on the profile's lineage. The Profile element in the XML schema includes information about the format of the manifest itself. It identifies exactly which version of this specification and which RAS profile should be used to validate the manifest document for compliance. A profile defines the structure and semantics of an asset's manifest document. Every RAS manifest document must identify the profile that can be used to validate it. Every profile is derived from another profile with the one exception being the original Core profile, which was defined by the first version of the RAS and for which there is no XML Schema produced. Profiles can extend directly from Core RAS or from any other profile such as the Default Profile for version 2.1. These derived profiles can only add elements and attributes to the manifest's XML Schema, and/or associate new semantics to existing elements. They cannot remove elements or attributes from the XML Schema. In general derived profiles are more restrictive. This attempts to make it easier for tools to gracefully handle assets created with profiles defined after the tooling was created.
The following features are supported:
DefaultprofilePackage.getProfile()
Method Summary | |
Description |
getDescription()
Returns the value of the 'Description' containment reference. |
String |
getIdHistory()
Returns the value of the 'Id History' attribute |
String |
getName()
Returns the value of the 'Name' attribute. |
Artifact |
getReference()
Returns the value of the 'Reference' reference. |
org.eclipse.emf.common.util.EList |
getRelatedProfile()
Returns the value of the 'Related Profile' containment reference list. |
int |
getVersionMajor()
Returns the value of the 'Version Major' attribute |
int |
getVersionMinor()
Returns the value of the 'Version Minor' attribute |
void |
setDescription(Description value)
Sets the value of the ' Description '
containment reference.
|
void |
setIdHistory(String value)
Sets the value of the ' Id History '
attribute.
|
void |
setName(String value)
Sets the value of the ' Name '
attribute.
|
void |
setReference(Artifact value)
Sets the value of the ' Reference '
reference.
|
void |
setVersionMajor(int value)
Sets the value of the ' Version Major '
attribute.
|
void |
setVersionMinor(int value)
Sets the value of the ' Version Minor '
attribute.
|
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 |
Method Detail |
public String getName()
setName(String)
,
DefaultprofilePackage.getProfile_Name()
public void setName(String value)
Name
'
attribute.
value
- the new value of the 'Name' attribute.getName()
public String getIdHistory()
setIdHistory(String)
,
DefaultprofilePackage.getProfile_IdHistory()
public void setIdHistory(String value)
Id History
'
attribute.
value
- the new value of the 'Id History' attribute.getIdHistory()
public int getVersionMajor()
setVersionMajor(int)
,
DefaultprofilePackage.getProfile_VersionMajor()
public void setVersionMajor(int value)
Version Major
'
attribute.
value
- the new value of the 'Version Major' attribute.getVersionMajor()
public int getVersionMinor()
setVersionMinor(int)
,
DefaultprofilePackage.getProfile_VersionMinor()
public void setVersionMinor(int value)
Version Minor
'
attribute.
value
- the new value of the 'Version Minor' attribute.getVersionMinor()
public Artifact getReference()
setReference(Artifact)
,
DefaultprofilePackage.getProfile_Reference()
public void setReference(Artifact value)
Reference
'
reference.
value
- the new value of the 'Reference' reference.getReference()
public Description getDescription()
setDescription(Description)
,
DefaultprofilePackage.getProfile_Description()
public void setDescription(Description value)
Description
'
containment reference.
value
- the new value of the 'Description' containment
reference.getDescription()
public org.eclipse.emf.common.util.EList getRelatedProfile()
RelatedProfile
.
DefaultprofilePackage.getProfile_RelatedProfile()
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.