org.andromda.cartridges.meta.metafacades
Class MetafacadeLogicImpl

java.lang.Object
  extended by org.andromda.core.metafacade.MetafacadeBase
      extended by org.andromda.cartridges.meta.metafacades.MetafacadeLogic
          extended by org.andromda.cartridges.meta.metafacades.MetafacadeLogicImpl
All Implemented Interfaces:
Metafacade, org.andromda.metafacades.uml.ClassifierFacade, org.andromda.metafacades.uml.GeneralizableElementFacade, org.andromda.metafacades.uml.ModelElementFacade

public class MetafacadeLogicImpl
extends MetafacadeLogic

Metaclass facade implementation.

See Also:
Metafacade

Field Summary
 
Fields inherited from class org.andromda.cartridges.meta.metafacades.MetafacadeLogic
metaObject
 
Fields inherited from class org.andromda.core.metafacade.MetafacadeBase
contextRoot, logger
 
Constructor Summary
MetafacadeLogicImpl(java.lang.Object metaObject, java.lang.String context)
           
 
Method Summary
 java.util.Collection getGeneralizations()
           
protected  java.util.Collection handleGetAllParents()
           
protected  java.lang.String handleGetFullyQualifiedLogicImplName()
           
protected  java.lang.String handleGetFullyQualifiedLogicName()
           
protected  int handleGetGeneralizationCount()
           
protected  java.lang.String handleGetLogicFile()
           
protected  java.lang.String handleGetLogicImplFile()
           
protected  java.lang.String handleGetLogicImplName()
           
protected  java.lang.String handleGetLogicName()
           
protected  java.lang.String handleGetLogicPackageName()
           
protected  java.lang.Object handleGetMetaclass()
          Returns the class tagged with <<metaclass>>> that is connected to the metaobject via a dependency.
protected  java.util.Collection handleGetMethodDataForPSM()
           
protected  java.util.Collection handleGetMethodDataForPSM(org.andromda.metafacades.uml.ClassifierFacade facade)
           
protected  boolean handleIsConstructorRequiresMetaclassCast()
           
protected  boolean handleIsMetaclassDirectDependency()
           
protected  boolean handleIsRequiresInheritanceDelegatation()
           
 
Methods inherited from class org.andromda.cartridges.meta.metafacades.MetafacadeLogic
copyTaggedValues, findAttribute, findTaggedValue, findTaggedValue, findTaggedValues, getAbstractions, getAllAssociatedClasses, getAllGeneralizations, getAllParents, getAllProperties, getAllRequiredConstructorParameters, getAllSpecializations, getArray, getArrayName, getAssociatedClasses, getAssociationEnds, getAttributes, getAttributes, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getFullyQualifiedArrayName, getFullyQualifiedLogicImplName, getFullyQualifiedLogicName, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getGeneralization, getGeneralizationCount, getGeneralizationLinks, getGeneralizationList, getGeneralizationRoot, getId, getImplementationOperations, getImplementedInterfaceList, getInstanceAttributes, getInstanceOperations, getInterfaceAbstractions, getJavaNullString, getLanguageMappings, getLogicFile, getLogicImplFile, getLogicImplName, getLogicName, getLogicPackageName, getMetaclass, getMethodDataForPSM, getMethodDataForPSM, getModel, getName, getNavigableConnectingEnds, getNavigableConnectingEnds, getNonArray, getOperationCallFromAttributes, getOperations, getPackage, getPackageName, getPackageName, getPackagePath, getProperties, getProperties, getRequiredConstructorParameters, getRootPackage, getSerialVersionUID, getSourceDependencies, getSpecializations, getStateMachineContext, getStaticAttributes, getStaticOperations, getStereotypeNames, getStereotypes, getSuperClass, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVisibility, getWrapperName, hasExactStereotype, hasStereotype, initialize, isAbstract, isArrayType, isAssociationClass, isBindingDependenciesPresent, isBlobType, isBooleanType, isClassifierFacadeMetaType, isClobType, isCollectionType, isConstraintsPresent, isConstructorRequiresMetaclassCast, isDataType, isDateType, isEmbeddedValue, isEnumeration, isFileType, isGeneralizableElementFacadeMetaType, isInterface, isLeaf, isListType, isMapType, isMetaclassDirectDependency, isMetafacadeMetaType, isModelElementFacadeMetaType, isPrimitive, isRequiresInheritanceDelegatation, isSetType, isStringType, isTemplateParametersPresent, isTimeType, resetMetafacadeContext, toString, translateConstraint, translateConstraints, translateConstraints, validateInvariants
 
Methods inherited from class org.andromda.core.metafacade.MetafacadeBase
equals, getConfiguredProperty, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetafacadeLogicImpl

public MetafacadeLogicImpl(java.lang.Object metaObject,
                           java.lang.String context)
Method Detail

handleGetMetaclass

protected java.lang.Object handleGetMetaclass()
Returns the class tagged with <<metaclass>>> that is connected to the metaobject via a dependency. If no metaclass is directly connected, the method walks up the supertype hierarchy.

Specified by:
handleGetMetaclass in class MetafacadeLogic
Returns:
the metaclass object

handleIsMetaclassDirectDependency

protected boolean handleIsMetaclassDirectDependency()
Specified by:
handleIsMetaclassDirectDependency in class MetafacadeLogic
See Also:
org.andromda.cartridges.meta.metafacades.MetafacadeFacade#isMetaclassDirectDependency()

handleGetLogicName

protected java.lang.String handleGetLogicName()
Specified by:
handleGetLogicName in class MetafacadeLogic
See Also:
org.andromda.cartridges.meta.metafacades.MetafacadeFacade#getLogicName()

handleGetLogicImplName

protected java.lang.String handleGetLogicImplName()
Specified by:
handleGetLogicImplName in class MetafacadeLogic
See Also:
org.andromda.cartridges.meta.metafacades.MetafacadeFacade#getLogicImplName()

handleGetFullyQualifiedLogicImplName

protected java.lang.String handleGetFullyQualifiedLogicImplName()
Specified by:
handleGetFullyQualifiedLogicImplName in class MetafacadeLogic
See Also:
org.andromda.cartridges.meta.metafacades.MetafacadeFacade#getFullyQualifiedLogicImplName()

handleGetFullyQualifiedLogicName

protected java.lang.String handleGetFullyQualifiedLogicName()
Specified by:
handleGetFullyQualifiedLogicName in class MetafacadeLogic
See Also:
org.andromda.cartridges.meta.metafacades.MetafacadeFacade#getFullyQualifiedLogicName()

handleGetLogicFile

protected java.lang.String handleGetLogicFile()
Specified by:
handleGetLogicFile in class MetafacadeLogic
See Also:
org.andromda.cartridges.meta.metafacades.MetafacadeFacade#getLogicFile(java.lang.String)

handleGetLogicPackageName

protected java.lang.String handleGetLogicPackageName()
Specified by:
handleGetLogicPackageName in class MetafacadeLogic
See Also:
org.andromda.cartridges.meta.metafacades.MetafacadeFacade#getLogicPackageName(java.lang.String)

handleGetLogicImplFile

protected java.lang.String handleGetLogicImplFile()
Specified by:
handleGetLogicImplFile in class MetafacadeLogic
See Also:
org.andromda.cartridges.meta.metafacades.MetafacadeFacade#getLogicImplFile(java.lang.String)

handleGetMethodDataForPSM

protected java.util.Collection handleGetMethodDataForPSM(org.andromda.metafacades.uml.ClassifierFacade facade)
Specified by:
handleGetMethodDataForPSM in class MetafacadeLogic
See Also:
org.andromda.cartridges.meta.metafacades.MetafacadeFacadeLogic#handleGetMethodDataForPSM(org.andromda.metafacades.uml.ClassifierFacade)

handleGetMethodDataForPSM

protected java.util.Collection handleGetMethodDataForPSM()
Specified by:
handleGetMethodDataForPSM in class MetafacadeLogic
See Also:
org.andromda.cartridges.meta.metafacades.MetafacadeFacade#getMethodDataForPSM()

handleIsRequiresInheritanceDelegatation

protected boolean handleIsRequiresInheritanceDelegatation()
Specified by:
handleIsRequiresInheritanceDelegatation in class MetafacadeLogic
See Also:
org.andromda.cartridges.meta.metafacades.MetafacadeFacade#isRequiresInheritanceDelegatation()

handleIsConstructorRequiresMetaclassCast

protected boolean handleIsConstructorRequiresMetaclassCast()
Specified by:
handleIsConstructorRequiresMetaclassCast in class MetafacadeLogic
See Also:
org.andromda.cartridges.meta.metafacades.MetafacadeFacade#isConstructorRequiresMetaclassCast()

getGeneralizations

public java.util.Collection getGeneralizations()
Specified by:
getGeneralizations in interface org.andromda.metafacades.uml.GeneralizableElementFacade
Overrides:
getGeneralizations in class MetafacadeLogic
See Also:
GeneralizableElementFacade.getGeneralizations()

handleGetGeneralizationCount

protected int handleGetGeneralizationCount()
Specified by:
handleGetGeneralizationCount in class MetafacadeLogic
See Also:
org.andromda.cartridges.meta.metafacades.MetafacadeFacade#getGeneralizationCount()

handleGetAllParents

protected java.util.Collection handleGetAllParents()
Specified by:
handleGetAllParents in class MetafacadeLogic
See Also:
MetafacadeLogic.getAllParents()


Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.