org.andromda.metafacades.uml
Interface EnumerationFacade

All Superinterfaces:
ClassifierFacade, GeneralizableElementFacade, ModelElementFacade

public interface EnumerationFacade
extends ClassifierFacade

Represents an enumeration.

Metafacade interface to be used by AndroMDA cartridges.


Method Summary
 String getFromOperationName()
           The 'from' operation name.
 String getFromOperationSignature()
           The 'from' operation signature.
 Collection getLiterals()
           This enumeration's literals.
 ClassifierFacade getLiteralType()
           The type of the enumeration's literals.
 Collection getMemberVariables()
           The enumeration member variables.
 boolean isEnumerationFacadeMetaType()
          Indicates the metafacade type (used for metafacade mappings).
 boolean isTypeSafe()
           Indicates whether the enumeration must be generated using a Java 5 type-safe enum or a traditional enumeration-pattern class.
 
Methods inherited from interface org.andromda.metafacades.uml.ClassifierFacade
findAttribute, getAbstractions, getAllAssociatedClasses, getAllProperties, getAllRequiredConstructorParameters, getArray, getArrayName, getAssociatedClasses, getAssociationEnds, getAttributes, getAttributes, getFullyQualifiedArrayName, getImplementationOperations, getImplementedInterfaceList, getInstanceAttributes, getInstanceOperations, getInterfaceAbstractions, getJavaNullString, getNavigableConnectingEnds, getNavigableConnectingEnds, getNonArray, getOperationCallFromAttributes, getOperations, getProperties, getProperties, getRequiredConstructorParameters, getSerialVersionUID, getStaticAttributes, getStaticOperations, getSuperClass, getWrapperName, isAbstract, isArrayType, isAssociationClass, isBlobType, isBooleanType, isClassifierFacadeMetaType, isClobType, isCollectionType, isDataType, isDateType, isEnumeration, isFileType, isInterface, isLeaf, isListType, isMapType, isPrimitive, isSetType, isStringType, isTimeType
 
Methods inherited from interface org.andromda.metafacades.uml.GeneralizableElementFacade
findTaggedValue, getAllGeneralizations, getAllSpecializations, getGeneralization, getGeneralizationLinks, getGeneralizationList, getGeneralizationRoot, getGeneralizations, getSpecializations, isGeneralizableElementFacadeMetaType
 
Methods inherited from interface org.andromda.metafacades.uml.ModelElementFacade
copyTaggedValues, findTaggedValue, findTaggedValues, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isModelElementFacadeMetaType, isTemplateParametersPresent, translateConstraint, translateConstraints, translateConstraints, validateInvariants
 

Method Detail

isEnumerationFacadeMetaType

public boolean isEnumerationFacadeMetaType()
Indicates the metafacade type (used for metafacade mappings).

Returns:
always true

getFromOperationName

public String getFromOperationName()

The 'from' operation name. This is the name of the operation that takes the actual literal value and allows a new enumeration to be constructed.


getFromOperationSignature

public String getFromOperationSignature()

The 'from' operation signature. This is the signature that takes the actual literal value and allows a new enumeration to be constructed.


getLiteralType

public ClassifierFacade getLiteralType()

The type of the enumeration's literals.


getLiterals

public Collection getLiterals()

This enumeration's literals.


getMemberVariables

public Collection getMemberVariables()

The enumeration member variables.


isTypeSafe

public boolean isTypeSafe()

Indicates whether the enumeration must be generated using a Java 5 type-safe enum or a traditional enumeration-pattern class.



Copyright © 2003-2006 The AndroMDA Team. All Rights Reserved.