public abstract class FrontEndPackageLogic extends PackageFacadeLogicImpl implements FrontEndPackage
FrontEndPackage
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
FrontEndPackageLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
Modifier and Type | Method and Description |
---|---|
List<FrontEndController> |
getFrontEndControllers()
Represents a package storing "front-end" components.
|
List<FrontEndAction> |
getFrontEndUseCases()
Represents a package storing "front-end" components.
|
protected abstract List |
handleGetFrontEndControllers()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetFrontEndUseCases()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
boolean |
isFrontEndPackageMetaType() |
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::FrontEndPackage::no more than one controller per package
|
handleFindModelElement, handleGetClasses, handleGetModelElements, handleGetOwnedElements, handleGetSubPackages, handleGetTablePrefix
findModelElement, getClasses, getModelElements, getOwnedElements, getSubPackages, getTablePrefix, isPackageFacadeMetaType
getArraySuffix, getValidationName, handleCopyTaggedValues, handleFindTaggedValue, handleFindTaggedValues, handleGetBindedFullyQualifiedName, handleGetConstraints, handleGetConstraints, handleGetDocumentation, handleGetDocumentation, handleGetDocumentation, handleGetFullyQualifiedName, handleGetFullyQualifiedName, handleGetFullyQualifiedNamePath, handleGetId, handleGetKeywords, handleGetLabel, handleGetLanguageMappings, handleGetModel, handleGetName, 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, getValidationOwner, hashCode, initialize, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findModelElement, getClasses, getModelElements, getOwnedElements, getSubPackages, getTablePrefix, isPackageFacadeMetaType
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 FrontEndPackageLogic(Object metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class PackageFacadeLogic
context
- public boolean isFrontEndPackageMetaType()
isFrontEndPackageMetaType
in interface FrontEndPackage
FrontEndPackage
public final List<FrontEndAction> getFrontEndUseCases()
getFrontEndUseCases
in interface FrontEndPackage
protected abstract List handleGetFrontEndUseCases()
public final List<FrontEndController> getFrontEndControllers()
getFrontEndControllers
in interface FrontEndPackage
protected abstract List handleGetFrontEndControllers()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::FrontEndPackage::no more than one controller per package
Error: In order to avoid possible naming collisions at most one controller per package is allowed. It is recommended to refactor your model.
OCL: context FrontEndPackage inv: frontEndControllers->size() < 2
Constraint: org::andromda::metafacades::uml::FrontEndPackage::no more than one usecase per package
Error: In order to avoid possible naming collisions at most one FrontEndUseCase per package is allowed. It is recommended to refactor your model.
OCL: context FrontEndPackage inv: frontEndUseCases->size() < 2
validateInvariants
in interface ModelElementFacade
validateInvariants
in class PackageFacadeLogic
validationMessages
- CollectionPackageFacadeLogic.validateInvariants(Collection validationMessages)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.