public abstract class PackageFacadeLogic extends ModelElementFacadeLogicImpl implements PackageFacade
PackageFacade
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected org.omg.uml.modelmanagement.UmlPackage |
metaObject
The underlying UML object
|
contextRoot
Modifier | Constructor and Description |
---|---|
protected |
PackageFacadeLogic(org.omg.uml.modelmanagement.UmlPackage metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
Modifier and Type | Method and Description |
---|---|
ModelElementFacade |
findModelElement(String fullyQualifiedName)
Finds the model element with the given 'fullyQualifiedName', or returns null if one can't be
found with that name.
|
Collection<ClassifierFacade> |
getClasses()
Used to group elements, and provides a namespace for the grouped elements.
|
Collection<ModelElementFacade> |
getModelElements()
Gets the root package for the model element.
|
Collection<ModelElementFacade> |
getOwnedElements()
Used to group elements, and provides a namespace for the grouped elements.
|
Collection<PackageFacade> |
getSubPackages()
Used to group elements, and provides a namespace for the grouped elements.
|
String |
getTablePrefix()
The Entity table prefix to be used for this package.
|
protected abstract ModelElementFacade |
handleFindModelElement(String fullyQualifiedName)
Method to be implemented in descendants
Finds the model element with the given 'fullyQualifiedName', or returns null if one can't be
found with that name.
|
protected abstract Collection |
handleGetClasses()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Collection |
handleGetModelElements()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Collection |
handleGetOwnedElements()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Collection |
handleGetSubPackages()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract String |
handleGetTablePrefix() |
boolean |
isPackageFacadeMetaType() |
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages) |
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
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 org.omg.uml.modelmanagement.UmlPackage metaObject
UmlPackage
protected PackageFacadeLogic(org.omg.uml.modelmanagement.UmlPackage metaObjectIn, String context)
metaObjectIn
- context
- public void resetMetafacadeContext(String context)
resetMetafacadeContext
in class ModelElementFacadeLogic
context
- public boolean isPackageFacadeMetaType()
isPackageFacadeMetaType
in interface PackageFacade
PackageFacade
protected abstract String handleGetTablePrefix()
PackageFacade.getTablePrefix()
public final String getTablePrefix()
getTablePrefix
in interface PackageFacade
protected abstract ModelElementFacade handleFindModelElement(String fullyQualifiedName)
fullyQualifiedName
- public ModelElementFacade findModelElement(String fullyQualifiedName)
findModelElement
in interface PackageFacade
fullyQualifiedName
- String
The fully qualified name of the model element to find.public final Collection<ClassifierFacade> getClasses()
getClasses
in interface PackageFacade
protected abstract Collection handleGetClasses()
public final Collection<ModelElementFacade> getModelElements()
getModelElements
in interface PackageFacade
protected abstract Collection handleGetModelElements()
public final Collection<PackageFacade> getSubPackages()
getSubPackages
in interface PackageFacade
protected abstract Collection handleGetSubPackages()
public final Collection<ModelElementFacade> getOwnedElements()
getOwnedElements
in interface PackageFacade
protected abstract Collection handleGetOwnedElements()
handleGetOwnedElements
in class ModelElementFacadeLogicImpl
ModelElementFacade.getPackage()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
validateInvariants
in interface ModelElementFacade
validateInvariants
in class ModelElementFacadeLogic
validationMessages
- CollectionModelElementFacadeLogic.validateInvariants(Collection validationMessages)
Copyright © 2003–2014 AndroMDA.org. All rights reserved.