IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.ras.profile.defauld.defaultprofile
Interface RelatedProfile

All Superinterfaces:
EObject, Notifier

public interface RelatedProfile
extends EObject

A representation of the model object ' Related Profile'. xmi:ordered=true property order is (these are role names) 1. description This is one of the Profile elements child elements which provides human readable information about each of the profiles in the Profile::idHistory attribute. This node captures the history of the profile by describing the profile's genealogy. This element includes many of the same attributes found in the Profile element.

The following features are supported:

See Also:
DefaultprofilePackage.getRelatedProfile()

Method Summary
 Description getDescription()
          Returns the value of the 'Description' containment reference.
 String getId()
          Returns the value of the 'Id' attribute.
 String getName()
          Returns the value of the 'Name' attribute.
 String getParentId()
          Returns the value of the 'Parent Id' attribute.
 Artifact getReference()
          Returns the value of the 'Reference' reference.
 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 setId(String value)
          Sets the value of the ' Id' attribute.
 void setName(String value)
          Sets the value of the ' Name' attribute.
 void setParentId(String value)
          Sets the value of the ' Parent Id' 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

getName

public String getName()
Returns the value of the 'Name' attribute. This should be the name of the profile that is referenced by the profile id in the ::id-history attribute.

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), DefaultprofilePackage.getRelatedProfile_Name()

setName

public void setName(String value)
Sets the value of the ' Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getId

public String getId()
Returns the value of the 'Id' attribute. This id is the profile id for a profile which is an ancestor to the current profile and which is not the id from this document.

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), DefaultprofilePackage.getRelatedProfile_Id()

setId

public void setId(String value)
Sets the value of the ' Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()

getVersionMajor

public int getVersionMajor()
Returns the value of the 'Version Major' attribute. The version-major, and version-minor attributes contain the ancestor profile's version information.

Returns:
the value of the 'Version Major' attribute.
See Also:
setVersionMajor(int), DefaultprofilePackage.getRelatedProfile_VersionMajor()

setVersionMajor

public void setVersionMajor(int value)
Sets the value of the ' Version Major' attribute.

Parameters:
value - the new value of the 'Version Major' attribute.
See Also:
getVersionMajor()

getVersionMinor

public int getVersionMinor()
Returns the value of the 'Version Minor' attribute. The version-major, and version-minor attributes contain the ancestor profile's version information.

Returns:
the value of the 'Version Minor' attribute.
See Also:
setVersionMinor(int), DefaultprofilePackage.getRelatedProfile_VersionMinor()

setVersionMinor

public void setVersionMinor(int value)
Sets the value of the ' Version Minor' attribute.

Parameters:
value - the new value of the 'Version Minor' attribute.
See Also:
getVersionMinor()

getReference

public Artifact getReference()
Returns the value of the 'Reference' reference. The reference contains a pointer to a document, which describe the profile in more detail.

Returns:
the value of the 'Reference' reference.
See Also:
setReference(Artifact), DefaultprofilePackage.getRelatedProfile_Reference()

setReference

public void setReference(Artifact value)
Sets the value of the ' Reference' reference.

Parameters:
value - the new value of the 'Reference' reference.
See Also:
getReference()

getParentId

public String getParentId()
Returns the value of the 'Parent Id' attribute. The parent-id describes the profile's ancestor from which it was derived.

Returns:
the value of the 'Parent Id' attribute.
See Also:
setParentId(String), DefaultprofilePackage.getRelatedProfile_ParentId()

setParentId

public void setParentId(String value)
Sets the value of the ' Parent Id' attribute.

Parameters:
value - the new value of the 'Parent Id' attribute.
See Also:
getParentId()

getDescription

public Description getDescription()
Returns the value of the 'Description' containment reference.

Returns:
the value of the 'Description' containment reference.
See Also:
setDescription(Description), DefaultprofilePackage.getRelatedProfile_Description()

setDescription

public void setDescription(Description value)
Sets the value of the ' Description' containment reference.

Parameters:
value - the new value of the 'Description' containment reference.
See Also:
getDescription()

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.