org.andromda.cartridges.bpm4struts.metafacades
Class StrutsBackendServiceLogic

java.lang.Object
  extended byorg.andromda.core.metafacade.MetafacadeBase
      extended byorg.andromda.cartridges.bpm4struts.metafacades.StrutsBackendServiceLogic
All Implemented Interfaces:
org.andromda.metafacades.uml.ClassifierFacade, org.andromda.metafacades.uml.GeneralizableElementFacade, org.andromda.metafacades.uml.ModelElementFacade, org.andromda.metafacades.uml.Service, StrutsBackendService
Direct Known Subclasses:
StrutsBackendServiceLogicImpl

public abstract class StrutsBackendServiceLogic
extends org.andromda.core.metafacade.MetafacadeBase
implements StrutsBackendService

MetafacadeLogic for org.andromda.cartridges.bpm4struts.metafacades.StrutsBackendService

See Also:
StrutsBackendService

Field Summary
protected  Object metaObject
           
 
Fields inherited from class org.andromda.core.metafacade.MetafacadeBase
contextRoot, logger
 
Constructor Summary
StrutsBackendServiceLogic(Object metaObject, String context)
           
 
Method Summary
 void copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
           
 org.andromda.metafacades.uml.AttributeFacade findAttribute(String name)
           
 Object findTaggedValue(String tagName)
           
 Object findTaggedValue(String tagName, boolean follow)
           
 Collection findTaggedValues(String tagName)
           
 Collection getAbstractions()
           
 String getAccessorImplementation()
           The implementation to use in a controller template in order to get an instance of this service.
 Collection getAllAssociatedClasses()
           
 Collection getAllGeneralizations()
           
 Collection getAllProperties()
           
 Collection getAllRequiredConstructorParameters()
           
 Collection getAllRoles()
           
 Collection getAllServiceReferences()
           
 Collection getAllSpecializations()
           
 org.andromda.metafacades.uml.ClassifierFacade getArray()
           
 String getArrayName()
           
 Collection getAssociatedClasses()
           
 List getAssociationEnds()
           
 Collection getAttributes()
           
 Collection getAttributes(boolean follow)
           
 Collection getConstraints()
           
 Collection getConstraints(String kind)
           
 String getDocumentation(String indent)
           
 String getDocumentation(String indent, int lineLength)
           
 String getDocumentation(String indent, int lineLength, boolean htmlStyle)
           
 Collection getEntityReferences()
           
 String getFullyQualifiedArrayName()
           
 String getFullyQualifiedName()
           
 String getFullyQualifiedName(boolean modelName)
           
 String getFullyQualifiedNamePath()
           
 org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralization()
           
 Collection getGeneralizationLinks()
           
 String getGeneralizationList()
           
 org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralizationRoot()
           
 Collection getGeneralizations()
           
 String getId()
           
 Collection getImplementationOperations()
           
 String getImplementedInterfaceList()
           
 Collection getInstanceAttributes()
           
 Collection getInstanceOperations()
           
 Collection getInterfaceAbstractions()
           
 String getJavaNullString()
           
 org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
           
 org.andromda.metafacades.uml.ModelFacade getModel()
           
 String getName()
           
 Collection getNavigableConnectingEnds()
           
 Collection getNavigableConnectingEnds(boolean follow)
           
 org.andromda.metafacades.uml.ClassifierFacade getNonArray()
           
 String getOperationCallFromAttributes()
           
 Collection getOperations()
           
 org.andromda.metafacades.uml.ModelElementFacade getPackage()
           
 String getPackageName()
           
 String getPackageName(boolean modelName)
           
 String getPackagePath()
           
 Collection getProperties()
           
 Collection getProperties(boolean follow)
           
 Collection getRequiredConstructorParameters()
           
 Collection getRoles()
           
 org.andromda.metafacades.uml.PackageFacade getRootPackage()
           
 Long getSerialVersionUID()
           
 Collection getServiceReferences()
           
 Collection getSourceDependencies()
           
 Collection getSpecializations()
           
 org.andromda.metafacades.uml.StateMachineFacade getStateMachineContext()
           
 Collection getStaticAttributes()
           
 Collection getStaticOperations()
           
 Collection getStereotypeNames()
           
 Collection getStereotypes()
           
 org.andromda.metafacades.uml.ClassifierFacade getSuperClass()
           
 Collection getTaggedValues()
           
 Collection getTargetDependencies()
           
 Object getTemplateParameter(String parameterName)
           
 Collection getTemplateParameters()
           
 String getValidationName()
           
 Object getValidationOwner()
           
 String getVisibility()
           
 String getWrapperName()
           
protected abstract  String handleGetAccessorImplementation()
           
 boolean hasExactStereotype(String stereotypeName)
           
 boolean hasStereotype(String stereotypeName)
           
 void initialize()
           
 boolean isAbstract()
           
 boolean isArrayType()
           
 boolean isAssociationClass()
           
 boolean isBindingDependenciesPresent()
           
 boolean isBlobType()
           
 boolean isBooleanType()
           
 boolean isClassifierFacadeMetaType()
           
 boolean isClobType()
           
 boolean isCollectionType()
           
 boolean isConstraintsPresent()
           
 boolean isDataType()
           
 boolean isDateType()
           
 boolean isEnumeration()
           
 boolean isFileType()
           
 boolean isGeneralizableElementFacadeMetaType()
           
 boolean isInterface()
           
 boolean isLeaf()
           
 boolean isListType()
           
 boolean isMapType()
           
 boolean isModelElementFacadeMetaType()
           
 boolean isPrimitive()
           
 boolean isServiceMetaType()
           
 boolean isSetType()
           
 boolean isStringType()
           
 boolean isStrutsBackendServiceMetaType()
          Indicates the metafacade type (used for metafacade mappings).
 boolean isTemplateParametersPresent()
           
 boolean isTimeType()
           
 void resetMetafacadeContext(String context)
           
 String toString()
           
 String translateConstraint(String name, String translation)
           
 String[] translateConstraints(String translation)
           
 String[] translateConstraints(String kind, String translation)
           
 void validateInvariants(Collection validationMessages)
           
 
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
 

Field Detail

metaObject

protected Object metaObject
Constructor Detail

StrutsBackendServiceLogic

public StrutsBackendServiceLogic(Object metaObject,
                                 String context)
Method Detail

resetMetafacadeContext

public void resetMetafacadeContext(String context)
See Also:
MetafacadeBase

isStrutsBackendServiceMetaType

public boolean isStrutsBackendServiceMetaType()
Description copied from interface: StrutsBackendService
Indicates the metafacade type (used for metafacade mappings).

Specified by:
isStrutsBackendServiceMetaType in interface StrutsBackendService
Returns:
always true
See Also:
StrutsBackendService

handleGetAccessorImplementation

protected abstract String handleGetAccessorImplementation()
See Also:
StrutsBackendService.getAccessorImplementation()

getAccessorImplementation

public final String getAccessorImplementation()
Description copied from interface: StrutsBackendService

The implementation to use in a controller template in order to get an instance of this service.

Specified by:
getAccessorImplementation in interface StrutsBackendService

isServiceMetaType

public boolean isServiceMetaType()
Specified by:
isServiceMetaType in interface org.andromda.metafacades.uml.Service
See Also:
Service

isClassifierFacadeMetaType

public boolean isClassifierFacadeMetaType()
Specified by:
isClassifierFacadeMetaType in interface org.andromda.metafacades.uml.ClassifierFacade
See Also:
ClassifierFacade

isGeneralizableElementFacadeMetaType

public boolean isGeneralizableElementFacadeMetaType()
Specified by:
isGeneralizableElementFacadeMetaType in interface org.andromda.metafacades.uml.GeneralizableElementFacade
See Also:
GeneralizableElementFacade

isModelElementFacadeMetaType

public boolean isModelElementFacadeMetaType()
Specified by:
isModelElementFacadeMetaType in interface org.andromda.metafacades.uml.ModelElementFacade
See Also:
ModelElementFacade

findAttribute

public org.andromda.metafacades.uml.AttributeFacade findAttribute(String name)
Specified by:
findAttribute in interface org.andromda.metafacades.uml.ClassifierFacade

getAbstractions

public Collection getAbstractions()
Specified by:
getAbstractions in interface org.andromda.metafacades.uml.ClassifierFacade

getAllAssociatedClasses

public Collection getAllAssociatedClasses()
Specified by:
getAllAssociatedClasses in interface org.andromda.metafacades.uml.ClassifierFacade

getAllProperties

public Collection getAllProperties()
Specified by:
getAllProperties in interface org.andromda.metafacades.uml.ClassifierFacade

getAllRequiredConstructorParameters

public Collection getAllRequiredConstructorParameters()
Specified by:
getAllRequiredConstructorParameters in interface org.andromda.metafacades.uml.ClassifierFacade

getArray

public org.andromda.metafacades.uml.ClassifierFacade getArray()
Specified by:
getArray in interface org.andromda.metafacades.uml.ClassifierFacade

getArrayName

public String getArrayName()
Specified by:
getArrayName in interface org.andromda.metafacades.uml.ClassifierFacade

getAssociatedClasses

public Collection getAssociatedClasses()
Specified by:
getAssociatedClasses in interface org.andromda.metafacades.uml.ClassifierFacade

getAssociationEnds

public List getAssociationEnds()
Specified by:
getAssociationEnds in interface org.andromda.metafacades.uml.ClassifierFacade

getAttributes

public Collection getAttributes(boolean follow)
Specified by:
getAttributes in interface org.andromda.metafacades.uml.ClassifierFacade

getAttributes

public Collection getAttributes()
Specified by:
getAttributes in interface org.andromda.metafacades.uml.ClassifierFacade

getFullyQualifiedArrayName

public String getFullyQualifiedArrayName()
Specified by:
getFullyQualifiedArrayName in interface org.andromda.metafacades.uml.ClassifierFacade

getImplementationOperations

public Collection getImplementationOperations()
Specified by:
getImplementationOperations in interface org.andromda.metafacades.uml.ClassifierFacade

getImplementedInterfaceList

public String getImplementedInterfaceList()
Specified by:
getImplementedInterfaceList in interface org.andromda.metafacades.uml.ClassifierFacade

getInstanceAttributes

public Collection getInstanceAttributes()
Specified by:
getInstanceAttributes in interface org.andromda.metafacades.uml.ClassifierFacade

getInstanceOperations

public Collection getInstanceOperations()
Specified by:
getInstanceOperations in interface org.andromda.metafacades.uml.ClassifierFacade

getInterfaceAbstractions

public Collection getInterfaceAbstractions()
Specified by:
getInterfaceAbstractions in interface org.andromda.metafacades.uml.ClassifierFacade

getJavaNullString

public String getJavaNullString()
Specified by:
getJavaNullString in interface org.andromda.metafacades.uml.ClassifierFacade

getNavigableConnectingEnds

public Collection getNavigableConnectingEnds()
Specified by:
getNavigableConnectingEnds in interface org.andromda.metafacades.uml.ClassifierFacade

getNavigableConnectingEnds

public Collection getNavigableConnectingEnds(boolean follow)
Specified by:
getNavigableConnectingEnds in interface org.andromda.metafacades.uml.ClassifierFacade

getNonArray

public org.andromda.metafacades.uml.ClassifierFacade getNonArray()
Specified by:
getNonArray in interface org.andromda.metafacades.uml.ClassifierFacade

getOperationCallFromAttributes

public String getOperationCallFromAttributes()
Specified by:
getOperationCallFromAttributes in interface org.andromda.metafacades.uml.ClassifierFacade

getOperations

public Collection getOperations()
Specified by:
getOperations in interface org.andromda.metafacades.uml.ClassifierFacade

getProperties

public Collection getProperties(boolean follow)
Specified by:
getProperties in interface org.andromda.metafacades.uml.ClassifierFacade

getProperties

public Collection getProperties()
Specified by:
getProperties in interface org.andromda.metafacades.uml.ClassifierFacade

getRequiredConstructorParameters

public Collection getRequiredConstructorParameters()
Specified by:
getRequiredConstructorParameters in interface org.andromda.metafacades.uml.ClassifierFacade

getSerialVersionUID

public Long getSerialVersionUID()
Specified by:
getSerialVersionUID in interface org.andromda.metafacades.uml.ClassifierFacade

getStaticAttributes

public Collection getStaticAttributes()
Specified by:
getStaticAttributes in interface org.andromda.metafacades.uml.ClassifierFacade

getStaticOperations

public Collection getStaticOperations()
Specified by:
getStaticOperations in interface org.andromda.metafacades.uml.ClassifierFacade

getSuperClass

public org.andromda.metafacades.uml.ClassifierFacade getSuperClass()
Specified by:
getSuperClass in interface org.andromda.metafacades.uml.ClassifierFacade

getWrapperName

public String getWrapperName()
Specified by:
getWrapperName in interface org.andromda.metafacades.uml.ClassifierFacade

isAbstract

public boolean isAbstract()
Specified by:
isAbstract in interface org.andromda.metafacades.uml.ClassifierFacade

isArrayType

public boolean isArrayType()
Specified by:
isArrayType in interface org.andromda.metafacades.uml.ClassifierFacade

isAssociationClass

public boolean isAssociationClass()
Specified by:
isAssociationClass in interface org.andromda.metafacades.uml.ClassifierFacade

isBlobType

public boolean isBlobType()
Specified by:
isBlobType in interface org.andromda.metafacades.uml.ClassifierFacade

isBooleanType

public boolean isBooleanType()
Specified by:
isBooleanType in interface org.andromda.metafacades.uml.ClassifierFacade

isClobType

public boolean isClobType()
Specified by:
isClobType in interface org.andromda.metafacades.uml.ClassifierFacade

isCollectionType

public boolean isCollectionType()
Specified by:
isCollectionType in interface org.andromda.metafacades.uml.ClassifierFacade

isDataType

public boolean isDataType()
Specified by:
isDataType in interface org.andromda.metafacades.uml.ClassifierFacade

isDateType

public boolean isDateType()
Specified by:
isDateType in interface org.andromda.metafacades.uml.ClassifierFacade

isEnumeration

public boolean isEnumeration()
Specified by:
isEnumeration in interface org.andromda.metafacades.uml.ClassifierFacade

isFileType

public boolean isFileType()
Specified by:
isFileType in interface org.andromda.metafacades.uml.ClassifierFacade

isInterface

public boolean isInterface()
Specified by:
isInterface in interface org.andromda.metafacades.uml.ClassifierFacade

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface org.andromda.metafacades.uml.ClassifierFacade

isListType

public boolean isListType()
Specified by:
isListType in interface org.andromda.metafacades.uml.ClassifierFacade

isMapType

public boolean isMapType()
Specified by:
isMapType in interface org.andromda.metafacades.uml.ClassifierFacade

isPrimitive

public boolean isPrimitive()
Specified by:
isPrimitive in interface org.andromda.metafacades.uml.ClassifierFacade

isSetType

public boolean isSetType()
Specified by:
isSetType in interface org.andromda.metafacades.uml.ClassifierFacade

isStringType

public boolean isStringType()
Specified by:
isStringType in interface org.andromda.metafacades.uml.ClassifierFacade

isTimeType

public boolean isTimeType()
Specified by:
isTimeType in interface org.andromda.metafacades.uml.ClassifierFacade

findTaggedValue

public Object findTaggedValue(String tagName,
                              boolean follow)
Specified by:
findTaggedValue in interface org.andromda.metafacades.uml.GeneralizableElementFacade

getAllGeneralizations

public Collection getAllGeneralizations()
Specified by:
getAllGeneralizations in interface org.andromda.metafacades.uml.GeneralizableElementFacade

getAllSpecializations

public Collection getAllSpecializations()
Specified by:
getAllSpecializations in interface org.andromda.metafacades.uml.GeneralizableElementFacade

getGeneralization

public org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralization()
Specified by:
getGeneralization in interface org.andromda.metafacades.uml.GeneralizableElementFacade

getGeneralizationLinks

public Collection getGeneralizationLinks()
Specified by:
getGeneralizationLinks in interface org.andromda.metafacades.uml.GeneralizableElementFacade

getGeneralizationList

public String getGeneralizationList()
Specified by:
getGeneralizationList in interface org.andromda.metafacades.uml.GeneralizableElementFacade

getGeneralizationRoot

public org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralizationRoot()
Specified by:
getGeneralizationRoot in interface org.andromda.metafacades.uml.GeneralizableElementFacade

getGeneralizations

public Collection getGeneralizations()
Specified by:
getGeneralizations in interface org.andromda.metafacades.uml.GeneralizableElementFacade

getSpecializations

public Collection getSpecializations()
Specified by:
getSpecializations in interface org.andromda.metafacades.uml.GeneralizableElementFacade

copyTaggedValues

public void copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
Specified by:
copyTaggedValues in interface org.andromda.metafacades.uml.ModelElementFacade

findTaggedValue

public Object findTaggedValue(String tagName)
Specified by:
findTaggedValue in interface org.andromda.metafacades.uml.ModelElementFacade

findTaggedValues

public Collection findTaggedValues(String tagName)
Specified by:
findTaggedValues in interface org.andromda.metafacades.uml.ModelElementFacade

getConstraints

public Collection getConstraints(String kind)
Specified by:
getConstraints in interface org.andromda.metafacades.uml.ModelElementFacade

getConstraints

public Collection getConstraints()
Specified by:
getConstraints in interface org.andromda.metafacades.uml.ModelElementFacade

getDocumentation

public String getDocumentation(String indent,
                               int lineLength)
Specified by:
getDocumentation in interface org.andromda.metafacades.uml.ModelElementFacade

getDocumentation

public String getDocumentation(String indent,
                               int lineLength,
                               boolean htmlStyle)
Specified by:
getDocumentation in interface org.andromda.metafacades.uml.ModelElementFacade

getDocumentation

public String getDocumentation(String indent)
Specified by:
getDocumentation in interface org.andromda.metafacades.uml.ModelElementFacade

getFullyQualifiedName

public String getFullyQualifiedName(boolean modelName)
Specified by:
getFullyQualifiedName in interface org.andromda.metafacades.uml.ModelElementFacade

getFullyQualifiedName

public String getFullyQualifiedName()
Specified by:
getFullyQualifiedName in interface org.andromda.metafacades.uml.ModelElementFacade

getFullyQualifiedNamePath

public String getFullyQualifiedNamePath()
Specified by:
getFullyQualifiedNamePath in interface org.andromda.metafacades.uml.ModelElementFacade

getId

public String getId()
Specified by:
getId in interface org.andromda.metafacades.uml.ModelElementFacade

getLanguageMappings

public org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
Specified by:
getLanguageMappings in interface org.andromda.metafacades.uml.ModelElementFacade

getModel

public org.andromda.metafacades.uml.ModelFacade getModel()
Specified by:
getModel in interface org.andromda.metafacades.uml.ModelElementFacade

getName

public String getName()
Specified by:
getName in interface org.andromda.metafacades.uml.ModelElementFacade

getPackage

public org.andromda.metafacades.uml.ModelElementFacade getPackage()
Specified by:
getPackage in interface org.andromda.metafacades.uml.ModelElementFacade

getPackageName

public String getPackageName()
Specified by:
getPackageName in interface org.andromda.metafacades.uml.ModelElementFacade

getPackageName

public String getPackageName(boolean modelName)
Specified by:
getPackageName in interface org.andromda.metafacades.uml.ModelElementFacade

getPackagePath

public String getPackagePath()
Specified by:
getPackagePath in interface org.andromda.metafacades.uml.ModelElementFacade

getRootPackage

public org.andromda.metafacades.uml.PackageFacade getRootPackage()
Specified by:
getRootPackage in interface org.andromda.metafacades.uml.ModelElementFacade

getSourceDependencies

public Collection getSourceDependencies()
Specified by:
getSourceDependencies in interface org.andromda.metafacades.uml.ModelElementFacade

getStateMachineContext

public org.andromda.metafacades.uml.StateMachineFacade getStateMachineContext()
Specified by:
getStateMachineContext in interface org.andromda.metafacades.uml.ModelElementFacade

getStereotypeNames

public Collection getStereotypeNames()
Specified by:
getStereotypeNames in interface org.andromda.metafacades.uml.ModelElementFacade

getStereotypes

public Collection getStereotypes()
Specified by:
getStereotypes in interface org.andromda.metafacades.uml.ModelElementFacade

getTaggedValues

public Collection getTaggedValues()
Specified by:
getTaggedValues in interface org.andromda.metafacades.uml.ModelElementFacade

getTargetDependencies

public Collection getTargetDependencies()
Specified by:
getTargetDependencies in interface org.andromda.metafacades.uml.ModelElementFacade

getTemplateParameter

public Object getTemplateParameter(String parameterName)
Specified by:
getTemplateParameter in interface org.andromda.metafacades.uml.ModelElementFacade

getTemplateParameters

public Collection getTemplateParameters()
Specified by:
getTemplateParameters in interface org.andromda.metafacades.uml.ModelElementFacade

getVisibility

public String getVisibility()
Specified by:
getVisibility in interface org.andromda.metafacades.uml.ModelElementFacade

hasExactStereotype

public boolean hasExactStereotype(String stereotypeName)
Specified by:
hasExactStereotype in interface org.andromda.metafacades.uml.ModelElementFacade

hasStereotype

public boolean hasStereotype(String stereotypeName)
Specified by:
hasStereotype in interface org.andromda.metafacades.uml.ModelElementFacade

isBindingDependenciesPresent

public boolean isBindingDependenciesPresent()
Specified by:
isBindingDependenciesPresent in interface org.andromda.metafacades.uml.ModelElementFacade

isConstraintsPresent

public boolean isConstraintsPresent()
Specified by:
isConstraintsPresent in interface org.andromda.metafacades.uml.ModelElementFacade

isTemplateParametersPresent

public boolean isTemplateParametersPresent()
Specified by:
isTemplateParametersPresent in interface org.andromda.metafacades.uml.ModelElementFacade

translateConstraint

public String translateConstraint(String name,
                                  String translation)
Specified by:
translateConstraint in interface org.andromda.metafacades.uml.ModelElementFacade

translateConstraints

public String[] translateConstraints(String translation)
Specified by:
translateConstraints in interface org.andromda.metafacades.uml.ModelElementFacade

translateConstraints

public String[] translateConstraints(String kind,
                                     String translation)
Specified by:
translateConstraints in interface org.andromda.metafacades.uml.ModelElementFacade

getAllRoles

public Collection getAllRoles()
Specified by:
getAllRoles in interface org.andromda.metafacades.uml.Service

getAllServiceReferences

public Collection getAllServiceReferences()
Specified by:
getAllServiceReferences in interface org.andromda.metafacades.uml.Service

getEntityReferences

public Collection getEntityReferences()
Specified by:
getEntityReferences in interface org.andromda.metafacades.uml.Service

getRoles

public Collection getRoles()
Specified by:
getRoles in interface org.andromda.metafacades.uml.Service

getServiceReferences

public Collection getServiceReferences()
Specified by:
getServiceReferences in interface org.andromda.metafacades.uml.Service

initialize

public void initialize()
Specified by:
initialize in interface org.andromda.metafacades.uml.ModelElementFacade
See Also:
MetafacadeBase.initialize()

getValidationOwner

public Object getValidationOwner()
Specified by:
getValidationOwner in interface org.andromda.metafacades.uml.ModelElementFacade
See Also:
MetafacadeBase.getValidationOwner()

getValidationName

public String getValidationName()
Specified by:
getValidationName in interface org.andromda.metafacades.uml.ModelElementFacade
See Also:
MetafacadeBase.getValidationName()

validateInvariants

public void validateInvariants(Collection validationMessages)
Specified by:
validateInvariants in interface org.andromda.metafacades.uml.ModelElementFacade
See Also:
MetafacadeBase.validateInvariants(java.util.Collection)

toString

public String toString()
See Also:
Object.toString()


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