IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.patterns.core
Interface IEnumerationLiteral


public interface IEnumerationLiteral

Represents a value of an enumeration type defined by a pattern library and used in a pattern.

An enumeration literal has a name (getName), a unique identifier (getId), and description properties (getDescription).


Method Summary
 String getDescription()
          Returns the localized description of the enumeration literal.
 String getId()
          Returns the unique ID of the enumeration literal.
 String getName()
          Returns the localized name of the enumeration literal.
 

Method Detail

getId

public String getId()
Returns the unique ID of the enumeration literal.

Returns:
Returns a string representing a unique ID for the enumeration literal.

getName

public String getName()
Returns the localized name of the enumeration literal.

Returns:
Returns a string representing the name for the enumeration literal.

getDescription

public String getDescription()
Returns the localized description of the enumeration literal.

Returns:
Returns a string representing the description for the enumeration literal.

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

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