org.andromda.cartridges.jsf.metafacades
Class JSFBackendServiceLogic
java.lang.Object
org.andromda.core.metafacade.MetafacadeBase
org.andromda.cartridges.jsf.metafacades.JSFBackendServiceLogic
- All Implemented Interfaces:
- JSFBackendService, org.andromda.metafacades.uml.ClassifierFacade, org.andromda.metafacades.uml.GeneralizableElementFacade, org.andromda.metafacades.uml.ModelElementFacade, org.andromda.metafacades.uml.Service
- Direct Known Subclasses:
- JSFBackendServiceLogicImpl
public abstract class JSFBackendServiceLogic
- extends org.andromda.core.metafacade.MetafacadeBase
- implements JSFBackendService
MetafacadeLogic for org.andromda.cartridges.jsf.metafacades.JSFBackendService
- See Also:
JSFBackendService
Field Summary |
protected java.lang.Object |
metaObject
|
Fields inherited from class org.andromda.core.metafacade.MetafacadeBase |
contextRoot, logger |
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 |
metaObject
protected java.lang.Object metaObject
JSFBackendServiceLogic
public JSFBackendServiceLogic(java.lang.Object metaObject,
java.lang.String context)
resetMetafacadeContext
public void resetMetafacadeContext(java.lang.String context)
- Overrides:
resetMetafacadeContext
in class org.andromda.core.metafacade.MetafacadeBase
- See Also:
MetafacadeBase
isJSFBackendServiceMetaType
public boolean isJSFBackendServiceMetaType()
- Description copied from interface:
JSFBackendService
- Indicates the metafacade type (used for metafacade mappings).
- Specified by:
isJSFBackendServiceMetaType
in interface JSFBackendService
- Returns:
- always
true
- See Also:
JSFBackendService
handleGetAccessorImplementation
protected abstract java.lang.String handleGetAccessorImplementation()
- See Also:
JSFBackendService.getAccessorImplementation()
getAccessorImplementation
public final java.lang.String getAccessorImplementation()
- Description copied from interface:
JSFBackendService
The implementation to use in a controller in order to get an
instance of a back end service.
- Specified by:
getAccessorImplementation
in interface JSFBackendService
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(java.lang.String name)
- Specified by:
findAttribute
in interface org.andromda.metafacades.uml.ClassifierFacade
getAbstractions
public java.util.Collection getAbstractions()
- Specified by:
getAbstractions
in interface org.andromda.metafacades.uml.ClassifierFacade
getAllAssociatedClasses
public java.util.Collection getAllAssociatedClasses()
- Specified by:
getAllAssociatedClasses
in interface org.andromda.metafacades.uml.ClassifierFacade
getAllProperties
public java.util.Collection getAllProperties()
- Specified by:
getAllProperties
in interface org.andromda.metafacades.uml.ClassifierFacade
getAllRequiredConstructorParameters
public java.util.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 java.lang.String getArrayName()
- Specified by:
getArrayName
in interface org.andromda.metafacades.uml.ClassifierFacade
getAssociatedClasses
public java.util.Collection getAssociatedClasses()
- Specified by:
getAssociatedClasses
in interface org.andromda.metafacades.uml.ClassifierFacade
getAssociationEnds
public java.util.List getAssociationEnds()
- Specified by:
getAssociationEnds
in interface org.andromda.metafacades.uml.ClassifierFacade
getAttributes
public java.util.Collection getAttributes(boolean follow)
- Specified by:
getAttributes
in interface org.andromda.metafacades.uml.ClassifierFacade
getAttributes
public java.util.Collection getAttributes()
- Specified by:
getAttributes
in interface org.andromda.metafacades.uml.ClassifierFacade
getFullyQualifiedArrayName
public java.lang.String getFullyQualifiedArrayName()
- Specified by:
getFullyQualifiedArrayName
in interface org.andromda.metafacades.uml.ClassifierFacade
getImplementationOperations
public java.util.Collection getImplementationOperations()
- Specified by:
getImplementationOperations
in interface org.andromda.metafacades.uml.ClassifierFacade
getImplementedInterfaceList
public java.lang.String getImplementedInterfaceList()
- Specified by:
getImplementedInterfaceList
in interface org.andromda.metafacades.uml.ClassifierFacade
getInstanceAttributes
public java.util.Collection getInstanceAttributes()
- Specified by:
getInstanceAttributes
in interface org.andromda.metafacades.uml.ClassifierFacade
getInstanceOperations
public java.util.Collection getInstanceOperations()
- Specified by:
getInstanceOperations
in interface org.andromda.metafacades.uml.ClassifierFacade
getInterfaceAbstractions
public java.util.Collection getInterfaceAbstractions()
- Specified by:
getInterfaceAbstractions
in interface org.andromda.metafacades.uml.ClassifierFacade
getJavaNullString
public java.lang.String getJavaNullString()
- Specified by:
getJavaNullString
in interface org.andromda.metafacades.uml.ClassifierFacade
getNavigableConnectingEnds
public java.util.Collection getNavigableConnectingEnds()
- Specified by:
getNavigableConnectingEnds
in interface org.andromda.metafacades.uml.ClassifierFacade
getNavigableConnectingEnds
public java.util.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 java.lang.String getOperationCallFromAttributes()
- Specified by:
getOperationCallFromAttributes
in interface org.andromda.metafacades.uml.ClassifierFacade
getOperations
public java.util.Collection getOperations()
- Specified by:
getOperations
in interface org.andromda.metafacades.uml.ClassifierFacade
getProperties
public java.util.Collection getProperties(boolean follow)
- Specified by:
getProperties
in interface org.andromda.metafacades.uml.ClassifierFacade
getProperties
public java.util.Collection getProperties()
- Specified by:
getProperties
in interface org.andromda.metafacades.uml.ClassifierFacade
getRequiredConstructorParameters
public java.util.Collection getRequiredConstructorParameters()
- Specified by:
getRequiredConstructorParameters
in interface org.andromda.metafacades.uml.ClassifierFacade
getSerialVersionUID
public java.lang.Long getSerialVersionUID()
- Specified by:
getSerialVersionUID
in interface org.andromda.metafacades.uml.ClassifierFacade
getStaticAttributes
public java.util.Collection getStaticAttributes()
- Specified by:
getStaticAttributes
in interface org.andromda.metafacades.uml.ClassifierFacade
getStaticOperations
public java.util.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 java.lang.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
isEmbeddedValue
public boolean isEmbeddedValue()
- Specified by:
isEmbeddedValue
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 java.lang.Object findTaggedValue(java.lang.String tagName,
boolean follow)
- Specified by:
findTaggedValue
in interface org.andromda.metafacades.uml.GeneralizableElementFacade
getAllGeneralizations
public java.util.Collection getAllGeneralizations()
- Specified by:
getAllGeneralizations
in interface org.andromda.metafacades.uml.GeneralizableElementFacade
getAllSpecializations
public java.util.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 java.util.Collection getGeneralizationLinks()
- Specified by:
getGeneralizationLinks
in interface org.andromda.metafacades.uml.GeneralizableElementFacade
getGeneralizationList
public java.lang.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 java.util.Collection getGeneralizations()
- Specified by:
getGeneralizations
in interface org.andromda.metafacades.uml.GeneralizableElementFacade
getSpecializations
public java.util.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 java.lang.Object findTaggedValue(java.lang.String tagName)
- Specified by:
findTaggedValue
in interface org.andromda.metafacades.uml.ModelElementFacade
findTaggedValues
public java.util.Collection findTaggedValues(java.lang.String tagName)
- Specified by:
findTaggedValues
in interface org.andromda.metafacades.uml.ModelElementFacade
getConstraints
public java.util.Collection getConstraints(java.lang.String kind)
- Specified by:
getConstraints
in interface org.andromda.metafacades.uml.ModelElementFacade
getConstraints
public java.util.Collection getConstraints()
- Specified by:
getConstraints
in interface org.andromda.metafacades.uml.ModelElementFacade
getDocumentation
public java.lang.String getDocumentation(java.lang.String indent,
int lineLength)
- Specified by:
getDocumentation
in interface org.andromda.metafacades.uml.ModelElementFacade
getDocumentation
public java.lang.String getDocumentation(java.lang.String indent,
int lineLength,
boolean htmlStyle)
- Specified by:
getDocumentation
in interface org.andromda.metafacades.uml.ModelElementFacade
getDocumentation
public java.lang.String getDocumentation(java.lang.String indent)
- Specified by:
getDocumentation
in interface org.andromda.metafacades.uml.ModelElementFacade
getFullyQualifiedName
public java.lang.String getFullyQualifiedName(boolean modelName)
- Specified by:
getFullyQualifiedName
in interface org.andromda.metafacades.uml.ModelElementFacade
getFullyQualifiedName
public java.lang.String getFullyQualifiedName()
- Specified by:
getFullyQualifiedName
in interface org.andromda.metafacades.uml.ModelElementFacade
getFullyQualifiedNamePath
public java.lang.String getFullyQualifiedNamePath()
- Specified by:
getFullyQualifiedNamePath
in interface org.andromda.metafacades.uml.ModelElementFacade
getId
public java.lang.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 java.lang.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 java.lang.String getPackageName()
- Specified by:
getPackageName
in interface org.andromda.metafacades.uml.ModelElementFacade
getPackageName
public java.lang.String getPackageName(boolean modelName)
- Specified by:
getPackageName
in interface org.andromda.metafacades.uml.ModelElementFacade
getPackagePath
public java.lang.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 java.util.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 java.util.Collection getStereotypeNames()
- Specified by:
getStereotypeNames
in interface org.andromda.metafacades.uml.ModelElementFacade
getStereotypes
public java.util.Collection getStereotypes()
- Specified by:
getStereotypes
in interface org.andromda.metafacades.uml.ModelElementFacade
getTaggedValues
public java.util.Collection getTaggedValues()
- Specified by:
getTaggedValues
in interface org.andromda.metafacades.uml.ModelElementFacade
getTargetDependencies
public java.util.Collection getTargetDependencies()
- Specified by:
getTargetDependencies
in interface org.andromda.metafacades.uml.ModelElementFacade
getTemplateParameter
public java.lang.Object getTemplateParameter(java.lang.String parameterName)
- Specified by:
getTemplateParameter
in interface org.andromda.metafacades.uml.ModelElementFacade
getTemplateParameters
public java.util.Collection getTemplateParameters()
- Specified by:
getTemplateParameters
in interface org.andromda.metafacades.uml.ModelElementFacade
getVisibility
public java.lang.String getVisibility()
- Specified by:
getVisibility
in interface org.andromda.metafacades.uml.ModelElementFacade
hasExactStereotype
public boolean hasExactStereotype(java.lang.String stereotypeName)
- Specified by:
hasExactStereotype
in interface org.andromda.metafacades.uml.ModelElementFacade
hasStereotype
public boolean hasStereotype(java.lang.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 java.lang.String translateConstraint(java.lang.String name,
java.lang.String translation)
- Specified by:
translateConstraint
in interface org.andromda.metafacades.uml.ModelElementFacade
translateConstraints
public java.lang.String[] translateConstraints(java.lang.String translation)
- Specified by:
translateConstraints
in interface org.andromda.metafacades.uml.ModelElementFacade
translateConstraints
public java.lang.String[] translateConstraints(java.lang.String kind,
java.lang.String translation)
- Specified by:
translateConstraints
in interface org.andromda.metafacades.uml.ModelElementFacade
getAllEntityReferences
public java.util.Collection getAllEntityReferences()
- Specified by:
getAllEntityReferences
in interface org.andromda.metafacades.uml.Service
getAllMessagingDestinations
public java.util.Collection getAllMessagingDestinations()
- Specified by:
getAllMessagingDestinations
in interface org.andromda.metafacades.uml.Service
getAllRoles
public java.util.Collection getAllRoles()
- Specified by:
getAllRoles
in interface org.andromda.metafacades.uml.Service
getAllServiceReferences
public java.util.Collection getAllServiceReferences()
- Specified by:
getAllServiceReferences
in interface org.andromda.metafacades.uml.Service
getEntityReferences
public java.util.Collection getEntityReferences()
- Specified by:
getEntityReferences
in interface org.andromda.metafacades.uml.Service
getMessagingDestinations
public java.util.Collection getMessagingDestinations()
- Specified by:
getMessagingDestinations
in interface org.andromda.metafacades.uml.Service
getRoles
public java.util.Collection getRoles()
- Specified by:
getRoles
in interface org.andromda.metafacades.uml.Service
getServiceReferences
public java.util.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
- Overrides:
initialize
in class org.andromda.core.metafacade.MetafacadeBase
- See Also:
MetafacadeBase.initialize()
getValidationOwner
public java.lang.Object getValidationOwner()
- Specified by:
getValidationOwner
in interface org.andromda.metafacades.uml.ModelElementFacade
- Overrides:
getValidationOwner
in class org.andromda.core.metafacade.MetafacadeBase
- See Also:
MetafacadeBase.getValidationOwner()
getValidationName
public java.lang.String getValidationName()
- Specified by:
getValidationName
in interface org.andromda.metafacades.uml.ModelElementFacade
- Overrides:
getValidationName
in class org.andromda.core.metafacade.MetafacadeBase
- See Also:
MetafacadeBase.getValidationName()
validateInvariants
public void validateInvariants(java.util.Collection validationMessages)
- Specified by:
validateInvariants
in interface org.andromda.metafacades.uml.ModelElementFacade
- Overrides:
validateInvariants
in class org.andromda.core.metafacade.MetafacadeBase
- See Also:
MetafacadeBase.validateInvariants(java.util.Collection)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- See Also:
Object.toString()
Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.