public abstract class FrontEndUseCaseLogic extends UseCaseFacadeLogicImpl implements FrontEndUseCase
FrontEndUseCase
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
FrontEndUseCaseLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
Modifier and Type | Method and Description |
---|---|
List<FrontEndAction> |
getActions()
Represents a use case used in the "front end" of an application.
|
FrontEndActivityGraph |
getActivityGraph()
The use case to which this activity graph belongs.
|
List<Role> |
getAllRoles()
Represents a use case used in the "front end" of an application.
|
List<FrontEndUseCase> |
getAllUseCases()
Represents a use case used in the "front end" of an application.
|
FrontEndController |
getController()
Returns the use-case "controlled" by this controller.
|
FrontEndView |
getInitialView()
Represents a use case used in the "front end" of an application.
|
List<FrontEndFinalState> |
getReferencingFinalStates()
The use case the final state is "targetting".
|
List<Role> |
getRoles()
Represents a use case used in the "front end" of an application.
|
List<FrontEndView> |
getViews()
The use-case of which this view is a member.
|
List<FrontEndParameter> |
getViewVariables()
Represents a use case used in the "front end" of an application.
|
protected abstract List |
handleGetActions()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetActivityGraph()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetAllRoles()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetAllUseCases()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetController()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetInitialView()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetReferencingFinalStates()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetRoles()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetViews()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetViewVariables()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract boolean |
handleIsEntryUseCase() |
protected abstract boolean |
handleIsSecured() |
boolean |
isEntryUseCase()
True if this use-case is the entry point to the front end.
|
boolean |
isFrontEndUseCaseMetaType() |
boolean |
isSecured()
Indicates if this use case is "secured".
|
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::FrontEndUseCase::each usecase needs one and only one graph
|
getValidationOwner, handleGetExtends, handleGetExtensionPoints, handleGetFirstActivityGraph, handleGetIncludes, handleGetName
getExtends, getExtensionPoints, getFirstActivityGraph, getIncludes, isUseCaseFacadeMetaType
handleGetOwnedElements
getOwnedElements, isNamespaceFacadeMetaType
getOwner, getWrapperMappings, handleFindAttribute, handleGetAbstractions, handleGetAllAssociatedClasses, handleGetAllProperties, handleGetAllRequiredConstructorParameters, handleGetArray, handleGetArrayName, handleGetAssociatedClasses, handleGetAssociationEnds, handleGetAttributes, handleGetAttributes, handleGetFullyQualifiedArrayName, handleGetImplementationOperations, handleGetImplementedInterfaceList, handleGetInstanceAttributes, handleGetInstanceOperations, handleGetInterfaceAbstractions, handleGetJavaNewString, handleGetJavaNullString, handleGetNavigableConnectingEnds, handleGetNavigableConnectingEnds, handleGetNonArray, handleGetOperationCallFromAttributes, handleGetOperations, handleGetProperties, handleGetProperties, handleGetRequiredConstructorParameters, handleGetSerialVersionUID, handleGetStaticAttributes, handleGetStaticOperations, handleGetSuperClass, handleGetWrapperName, handleIsAbstract, handleIsArrayType, handleIsAssociationClass, handleIsBlobType, handleIsBooleanType, handleIsCharacterType, handleIsClobType, handleIsCollectionType, handleIsDataType, handleIsDateType, handleIsDoubleType, handleIsEmbeddedValue, handleIsEnumeration, handleIsFileType, handleIsFloatType, handleIsIntegerType, handleIsInterface, handleIsLeaf, handleIsListType, handleIsLongType, handleIsMapType, handleIsPrimitive, handleIsSetType, handleIsStringType, handleIsTimeType, handleIsWrappedPrimitive
findAttribute, getAbstractions, getAllAssociatedClasses, getAllProperties, getAllRequiredConstructorParameters, getArray, getArrayName, getAssociatedClasses, getAssociationEnds, getAttributes, getAttributes, getFullyQualifiedArrayName, getImplementationOperations, getImplementedInterfaceList, getInstanceAttributes, getInstanceOperations, getInterfaceAbstractions, getJavaNewString, getJavaNullString, getNavigableConnectingEnds, getNavigableConnectingEnds, getNonArray, getOperationCallFromAttributes, getOperations, getProperties, getProperties, getRequiredConstructorParameters, getSerialVersionUID, getStaticAttributes, getStaticOperations, getSuperClass, getWrapperName, isAbstract, isArrayType, isAssociationClass, isBlobType, isBooleanType, isCharacterType, isClassifierFacadeMetaType, isClobType, isCollectionType, isDataType, isDateType, isDoubleType, isEmbeddedValue, isEnumeration, isFileType, isFloatType, isIntegerType, isInterface, isLeaf, isListType, isLongType, isMapType, isPrimitive, isSetType, isStringType, isTimeType, isWrappedPrimitive
handleFindTaggedValue, handleGetAllGeneralizations, handleGetAllSpecializations, handleGetGeneralization, handleGetGeneralizationLinks, handleGetGeneralizationList, handleGetGeneralizationRoot, handleGetGeneralizations, handleGetSpecializations
findTaggedValue, getAllGeneralizations, getAllSpecializations, getGeneralization, getGeneralizationLinks, getGeneralizationList, getGeneralizationRoot, getGeneralizations, getSpecializations, isGeneralizableElementFacadeMetaType
getArraySuffix, getValidationName, handleCopyTaggedValues, handleFindTaggedValue, handleFindTaggedValues, handleGetBindedFullyQualifiedName, handleGetConstraints, handleGetConstraints, handleGetDocumentation, handleGetDocumentation, handleGetDocumentation, handleGetFullyQualifiedName, handleGetFullyQualifiedName, handleGetFullyQualifiedNamePath, handleGetId, handleGetKeywords, handleGetLabel, handleGetLanguageMappings, handleGetModel, handleGetOwner, handleGetPackage, handleGetPackageName, handleGetPackageName, handleGetPackagePath, handleGetQualifiedName, handleGetRootPackage, handleGetSourceDependencies, handleGetStateMachineContext, handleGetStereotypeNames, handleGetStereotypes, handleGetTaggedValues, handleGetTargetDependencies, handleGetTemplateParameter, handleGetTemplateParameters, handleGetVisibility, handleHasExactStereotype, handleHasKeyword, handleHasStereotype, handleIsBindingDependenciesPresent, handleIsConstraintsPresent, handleIsDocumentationPresent, handleIsReservedWord, handleIsTemplateParametersPresent, handleIsValidIdentifierName, handleTranslateConstraint, handleTranslateConstraints, handleTranslateConstraints
copyTaggedValues, findTaggedValue, findTaggedValues, getBindedFullyQualifiedName, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getKeywords, getLabel, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getQualifiedName, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getVisibility, hasExactStereotype, hasKeyword, hasStereotype, isBindingDependenciesPresent, isConstraintsPresent, isDocumentationPresent, isModelElementFacadeMetaType, isReservedWord, isTemplateParametersPresent, isValidIdentifierName, toString, translateConstraint, translateConstraints, translateConstraints
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, initialize, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExtends, getExtensionPoints, getFirstActivityGraph, getIncludes, isUseCaseFacadeMetaType
getOwnedElements, isNamespaceFacadeMetaType
findAttribute, getAbstractions, getAllAssociatedClasses, getAllProperties, getAllRequiredConstructorParameters, getArray, getArrayName, getAssociatedClasses, getAssociationEnds, getAttributes, getAttributes, getFullyQualifiedArrayName, getImplementationOperations, getImplementedInterfaceList, getInstanceAttributes, getInstanceOperations, getInterfaceAbstractions, getJavaNewString, getJavaNullString, getNavigableConnectingEnds, getNavigableConnectingEnds, getNonArray, getOperationCallFromAttributes, getOperations, getProperties, getProperties, getRequiredConstructorParameters, getSerialVersionUID, getStaticAttributes, getStaticOperations, getSuperClass, getWrapperName, isAbstract, isArrayType, isAssociationClass, isBlobType, isBooleanType, isCharacterType, isClassifierFacadeMetaType, isClobType, isCollectionType, isDataType, isDateType, isDoubleType, isEmbeddedValue, isEnumeration, isFileType, isFloatType, isIntegerType, isInterface, isLeaf, isListType, isLongType, isMapType, isPrimitive, isSetType, isStringType, isTimeType, isWrappedPrimitive
findTaggedValue, getAllGeneralizations, getAllSpecializations, getGeneralization, getGeneralizationLinks, getGeneralizationList, getGeneralizationRoot, getGeneralizations, getSpecializations, isGeneralizableElementFacadeMetaType
copyTaggedValues, findTaggedValue, findTaggedValues, getBindedFullyQualifiedName, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getId, getKeywords, getLabel, getLanguageMappings, getModel, getName, getPackage, getPackageName, getPackageName, getPackagePath, getQualifiedName, getRootPackage, getSourceDependencies, getStateMachineContext, getStereotypeNames, getStereotypes, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, hasExactStereotype, hasKeyword, hasStereotype, initialize, isBindingDependenciesPresent, isConstraintsPresent, isDocumentationPresent, isModelElementFacadeMetaType, isReservedWord, isTemplateParametersPresent, isValidIdentifierName, translateConstraint, translateConstraints, translateConstraints
protected Object metaObject
Object
protected FrontEndUseCaseLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class UseCaseFacadeLogic
context
- public boolean isFrontEndUseCaseMetaType()
isFrontEndUseCaseMetaType
in interface FrontEndUseCase
FrontEndUseCase
protected abstract boolean handleIsEntryUseCase()
FrontEndUseCase.isEntryUseCase()
public final boolean isEntryUseCase()
isEntryUseCase
in interface FrontEndUseCase
protected abstract boolean handleIsSecured()
FrontEndUseCase.isSecured()
public final boolean isSecured()
isSecured
in interface FrontEndUseCase
public final List<FrontEndFinalState> getReferencingFinalStates()
getReferencingFinalStates
in interface FrontEndUseCase
protected abstract List handleGetReferencingFinalStates()
public final List<Role> getAllRoles()
getAllRoles
in interface FrontEndUseCase
protected abstract List handleGetAllRoles()
public final List<Role> getRoles()
getRoles
in interface FrontEndUseCase
protected abstract List handleGetRoles()
public final FrontEndController getController()
getController
in interface FrontEndUseCase
protected abstract Object handleGetController()
public final List<FrontEndView> getViews()
getViews
in interface FrontEndUseCase
protected abstract List handleGetViews()
public final List<FrontEndAction> getActions()
getActions
in interface FrontEndUseCase
protected abstract List handleGetActions()
public final List<FrontEndUseCase> getAllUseCases()
getAllUseCases
in interface FrontEndUseCase
protected abstract List handleGetAllUseCases()
public final FrontEndView getInitialView()
getInitialView
in interface FrontEndUseCase
protected abstract Object handleGetInitialView()
public final FrontEndActivityGraph getActivityGraph()
getActivityGraph
in interface FrontEndUseCase
protected abstract Object handleGetActivityGraph()
public final List<FrontEndParameter> getViewVariables()
getViewVariables
in interface FrontEndUseCase
protected abstract List handleGetViewVariables()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::FrontEndUseCase::each usecase needs one and only one graph
Error: Each use-case needs one and only one activity graph.
OCL: context FrontEndUseCase inv: activityGraph->notEmpty()
Constraint: org::andromda::metafacades::uml::FrontEndUseCase::one and only one usecase must be a FrontEndApplication
Error: One and only one use-case must be marked as the application entry use-case. Currently this is done by adding the FrontEndApplication stereotype to it.
OCL: context FrontEndUseCase inv: allUseCases->one(entryUseCase = true)
Constraint: org::andromda::metafacades::uml::FrontEndUseCase::non-empty unique usecase name
Error: Each use-case must have a non-empty name that is unique among all use-cases.
OCL: context FrontEndUseCase inv: name->notEmpty() and model.allUseCases->isUnique(name)
Constraint: org::andromda::metafacades::uml::FrontEndUseCase::each front-end use-case needs to be in a package
Error: Each front-end use-case is required to be modeled in a package, doing otherwise will result in uncompileable code due to filename collisions.
OCL: context FrontEndUseCase inv: packageName->notEmpty()
validateInvariants
in interface ModelElementFacade
validateInvariants
in class UseCaseFacadeLogic
validationMessages
- CollectionUseCaseFacadeLogic.validateInvariants(Collection validationMessages)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.