UML Modeling Layer

com.ibm.xtools.uml.msl.lang
Interface IUMLLanguageDescriptor

All Known Subinterfaces:
IUMLDerivedLanguageDescriptor
All Known Implementing Classes:
AbstractLanguageDescriptor, AnalysisLanguageDescriptor, CustomLanguageDescriptor, DerivedLanguageDescriptor, FirstLanguageDescriptor, ModelLanguageDescriptor, OCLLanguageDescriptor

public interface IUMLLanguageDescriptor

This is a descriptor interface that describes a static language and certain model dependencies for a particular language type (if applicable). Note: A language descriptor has two language name components: Language ID, and Language Display Name. A language ID is the actual language that will be stored in the model. The Language Display Name is a user visible representation of the language (in most cases it will be the same).


Method Summary
 String getDisplayName()
           
 Collection<String> getLanguageActivityIDs()
           
 String getLanguageExtension()
           
 String getLanguageID()
           
 Collection<URI> getLanguageLibraryURIs()
           
 Collection<PrimitiveType> getPrimitiveTypes(ResourceSet set)
          Gets the primitive types associated with this language.
 Collection<URI> getProfileURIs()
           
 

Method Detail

getDisplayName

String getDisplayName()
Returns:
The user readable display name

getLanguageID

String getLanguageID()
Returns:
the language identifier for this particular language to be used within the model

getLanguageExtension

String getLanguageExtension()
Returns:
a language extension (e.g. txt) that would be commonly associated with the language

getLanguageLibraryURIs

Collection<URI> getLanguageLibraryURIs()
Returns:
the Collection of URI's that point to library models that are required for this particular language.

getLanguageActivityIDs

Collection<String> getLanguageActivityIDs()
Returns:
the Collection of activity ID's that enable language specified actions / UI in the workbench.

getPrimitiveTypes

Collection<PrimitiveType> getPrimitiveTypes(ResourceSet set)
Gets the primitive types associated with this language.

Parameters:
set - the resource set to use as context
Returns:

getProfileURIs

Collection<URI> getProfileURIs()
Returns:
the Collection of URI's that point to profiles that are required for this particular language.

UML Modeling Layer

© Copyright IBM Corp. 2009. All rights reserved.