org.eclipse.tigerstripe.workbench.profile.stereotype
Interface IStereotypeScopeDetails


public interface IStereotypeScopeDetails

The details of applicability scope for an Stereotype definition. A Stereotype can apply to any (and/or) of the following scope levels :

Since:
1.2
Author:
Eric Dillon

Method Summary
 java.lang.String[] getArtifactLevelTypes()
          Returns an array of artifact types for which this stereotype can be applied at the artifact level.
 boolean isArgumentLevel()
          Return true if the stereotype can be applied at argument level.
 boolean isAssociationEndLevel()
          Return true if the stereotype can be applied at association End level.
 boolean isAttributeLevel()
          Return true if the stereotype can be applied at attribute (field) level.
 boolean isLiteralLevel()
          Return true if the stereotype can be applied at label level.
 boolean isMethodLevel()
          Return true if the stereotype can be applied at method level.
 void setArgumentLevel(boolean isArgumentLevel)
           
 void setArtifactLevelTypes(java.lang.String[] types)
           
 void setAssociationEndLevel(boolean isAssociationEndLevel)
           
 void setAttributeLevel(boolean isAttributeLevel)
           
 void setLiteralLevel(boolean isLiteralLevel)
           
 void setMethodLevel(boolean isMethodLevel)
           
 

Method Detail

setAttributeLevel

void setAttributeLevel(boolean isAttributeLevel)

setMethodLevel

void setMethodLevel(boolean isMethodLevel)

setLiteralLevel

void setLiteralLevel(boolean isLiteralLevel)

setArgumentLevel

void setArgumentLevel(boolean isArgumentLevel)

setAssociationEndLevel

void setAssociationEndLevel(boolean isAssociationEndLevel)

setArtifactLevelTypes

void setArtifactLevelTypes(java.lang.String[] types)

getArtifactLevelTypes

java.lang.String[] getArtifactLevelTypes()
Returns an array of artifact types for which this stereotype can be applied at the artifact level. The elements of the array are class names of artifacttypes. An empty array is returned if this sterteotype is not applicable for any artifacts.

Returns:

isArgumentLevel

boolean isArgumentLevel()
Return true if the stereotype can be applied at argument level.

Returns:
true if applicable at argument level

isAttributeLevel

boolean isAttributeLevel()
Return true if the stereotype can be applied at attribute (field) level.

Returns:
true if applicable at attribute level

isLiteralLevel

boolean isLiteralLevel()
Return true if the stereotype can be applied at label level.

Returns:
true if applicable at lebel level

isMethodLevel

boolean isMethodLevel()
Return true if the stereotype can be applied at method level.

Returns:
true if applicable at method level

isAssociationEndLevel

boolean isAssociationEndLevel()
Return true if the stereotype can be applied at association End level.

Returns:
true if applicable at association End level