public abstract class ManageableEntityLogic extends EntityLogicImpl implements ManageableEntity
ManageableEntity,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
protected Object |
metaObject
The underlying UML object
|
contextRoot| Modifier | Constructor and Description |
|---|---|
protected |
ManageableEntityLogic(Object metaObjectIn,
String context)
Create Metafacade implementation instance using the MetafacadeFactory from the context
|
| Modifier and Type | Method and Description |
|---|---|
List<ManageableEntity> |
getAllManageables()
An Entity that is Manageable: will produce CRUD operations in the EntityManager
implementation.
|
ManageableEntityAttribute |
getDisplayAttribute()
An Entity that is Manageable: will produce CRUD operations in the EntityManager
implementation.
|
String |
getFullyQualifiedManageableServiceName()
The fully qualified service name of the entity.
|
List<ManageableEntityAssociationEnd> |
getManageableAssociationEnds()
An Entity that is Manageable: will produce CRUD operations in the EntityManager
implementation.
|
List<ManageableEntityAttribute> |
getManageableAttributes()
An Entity that is Manageable: will produce CRUD operations in the EntityManager
implementation.
|
ManageableEntityAttribute |
getManageableIdentifier()
An Entity that is Manageable: will produce CRUD operations in the EntityManager
implementation.
|
List<ModelElementFacade> |
getManageableMembers()
ManageableAttributes and ManageableAssociationEnds
|
String |
getManageablePackageName()
The entity package name.
|
String |
getManageablePackagePath()
The Package path of the Entity
|
String |
getManageableServiceAccessorCall()
The entity accessor (getter) call.
|
String |
getManageableServiceFullPath()
The service full path of the entity.
|
String |
getManageableServiceName()
The service name of the entity.
|
int |
getMaximumListSize()
The maximum number of rows to load from the database.
|
int |
getPageSize()
The maximum number of rows to load from the database.
|
List<ManageableEntity> |
getReferencingManageables()
An Entity that is Manageable: will produce CRUD operations in the EntityManager
implementation.
|
List<ActorFacade> |
getUsers()
An Entity that is Manageable: will produce CRUD operations in the EntityManager
implementation.
|
protected abstract List |
handleGetAllManageables()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetDisplayAttribute()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract String |
handleGetFullyQualifiedManageableServiceName() |
protected abstract List |
handleGetManageableAssociationEnds()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetManageableAttributes()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract Object |
handleGetManageableIdentifier()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List<ModelElementFacade> |
handleGetManageableMembers() |
protected abstract String |
handleGetManageablePackageName() |
protected abstract String |
handleGetManageablePackagePath() |
protected abstract String |
handleGetManageableServiceAccessorCall() |
protected abstract String |
handleGetManageableServiceFullPath() |
protected abstract String |
handleGetManageableServiceName() |
protected abstract int |
handleGetMaximumListSize() |
protected abstract int |
handleGetPageSize() |
protected abstract List |
handleGetReferencingManageables()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract List |
handleGetUsers()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected abstract boolean |
handleIsCreate() |
protected abstract boolean |
handleIsDelete() |
protected abstract boolean |
handleIsManageable() |
protected abstract boolean |
handleIsRead() |
protected abstract boolean |
handleIsResolveable() |
protected abstract boolean |
handleIsUpdate() |
protected abstract String |
handleListManageableMembers(boolean withTypes)
Method to be implemented in descendants
Returns a string with the attributes without wrapper types.
|
protected abstract String |
handleListManageableMembersWithWrapperTypes()
Method to be implemented in descendants
Returns a string with the attributes and wrapper types.
|
boolean |
isCreate()
Create a create operation on the entity manager?
|
boolean |
isDelete()
Create a delete operation on the entity manager?
|
boolean |
isManageable()
True: Entity is manageable.
|
boolean |
isManageableEntityMetaType() |
boolean |
isRead()
Create a read operation on the entity manager?
|
boolean |
isResolveable()
The maximum number of rows to load from the database.
|
boolean |
isUpdate()
Create an update operation on the entity manager?
|
String |
listManageableMembers(boolean withTypes)
Returns a string with the attributes without wrapper types.
|
String |
listManageableMembersWithWrapperTypes()
Returns a string with the attributes and wrapper types.
|
void |
resetMetafacadeContext(String context)
Reset context only for non-root metafacades
|
void |
validateInvariants(Collection<ModelValidationMessage> validationMessages)
Constraint: org::andromda::metafacades::uml::Entity::entity must have at least one primary key
|
handleGetAllEntityReferences, handleGetAssociationEnds, handleGetAttributeNameList, handleGetAttributeNameList, handleGetAttributes, handleGetAttributes, handleGetAttributeTypeList, handleGetBusinessOperations, handleGetChildEnds, handleGetEmbeddedValues, handleGetEntityReferences, handleGetFullyQualifiedIdentifierTypeName, handleGetIdentifierAssociationEnds, handleGetIdentifierGetterName, handleGetIdentifierName, handleGetIdentifiers, handleGetIdentifiers, handleGetIdentifierSetterName, handleGetIdentifierTypeName, handleGetMaxSqlNameLength, handleGetName, handleGetOperationCallFromAttributes, handleGetOperationCallFromAttributes, handleGetParentEnd, handleGetProperties, handleGetQueryOperations, handleGetQueryOperations, handleGetRequiredAttributeNameList, handleGetRequiredAttributes, handleGetRequiredAttributeTypeList, handleGetRequiredProperties, handleGetRequiredPropertyNameList, handleGetRequiredPropertyTypeList, handleGetSchema, handleGetTableName, handleIsChild, handleIsCompositeIdentifier, handleIsDynamicIdentifiersPresent, handleIsIdentifiersPresent, handleIsUsingAssignedIdentifier, handleIsUsingForeignIdentifier, initializegetAllEntityReferences, getAttributeNameList, getAttributeNameList, getAttributes, getAttributes, getAttributeTypeList, getBusinessOperations, getChildEnds, getEmbeddedValues, getEntityReferences, getFullyQualifiedIdentifierTypeName, getIdentifierAssociationEnds, getIdentifierGetterName, getIdentifierName, getIdentifiers, getIdentifiers, getIdentifierSetterName, getIdentifierTypeName, getMaxSqlNameLength, getOperationCallFromAttributes, getOperationCallFromAttributes, getParentEnd, getProperties, getQueryOperations, getQueryOperations, getRequiredAttributeNameList, getRequiredAttributes, getRequiredAttributeTypeList, getRequiredProperties, getRequiredPropertyNameList, getRequiredPropertyTypeList, getSchema, getTableName, isChild, isCompositeIdentifier, isDynamicIdentifiersPresent, isEntityMetaType, isIdentifiersPresent, isUsingAssignedIdentifier, isUsingForeignIdentifiergetOwner, getWrapperMappings, handleFindAttribute, handleGetAbstractions, handleGetAllAssociatedClasses, handleGetAllProperties, handleGetAllRequiredConstructorParameters, handleGetArray, handleGetArrayName, handleGetAssociatedClasses, handleGetAttributes, handleGetAttributes, handleGetFullyQualifiedArrayName, handleGetImplementationOperations, handleGetImplementedInterfaceList, handleGetInstanceAttributes, handleGetInstanceOperations, handleGetInterfaceAbstractions, handleGetJavaNewString, handleGetJavaNullString, handleGetNavigableConnectingEnds, handleGetNavigableConnectingEnds, handleGetNonArray, handleGetOperationCallFromAttributes, handleGetOperations, handleGetProperties, handleGetProperties, handleGetRequiredConstructorParameters, handleGetSerialVersionUID, handleGetStaticAttributes, handleGetStaticOperations, handleGetSuperClass, handleGetWrapperName, handleIsAbstract, handleIsArrayType, handleIsAssociationClass, handleIsBlobType, handleIsBooleanType, handleIsCharacterType, handleIsClobType, handleIsCollectionType, handleIsDataType, handleIsDateType, handleIsDoubleType, handleIsEmbeddedValue, handleIsEnumeration, handleIsFileType, handleIsFloatType, handleIsIntegerType, handleIsInterface, handleIsLeaf, handleIsListType, handleIsLongType, handleIsMapType, handleIsPrimitive, handleIsSetType, handleIsStringType, handleIsTimeType, handleIsWrappedPrimitivefindAttribute, getAbstractions, getAllAssociatedClasses, getAllProperties, getAllRequiredConstructorParameters, getArray, getArrayName, getAssociatedClasses, getAssociationEnds, getAttributes, getAttributes, getFullyQualifiedArrayName, getImplementationOperations, getImplementedInterfaceList, getInstanceAttributes, getInstanceOperations, getInterfaceAbstractions, getJavaNewString, getJavaNullString, getNavigableConnectingEnds, getNavigableConnectingEnds, getNonArray, getOperationCallFromAttributes, getOperations, getProperties, getProperties, getRequiredConstructorParameters, getSerialVersionUID, getStaticAttributes, getStaticOperations, getSuperClass, getWrapperName, isAbstract, isArrayType, isAssociationClass, isBlobType, isBooleanType, isCharacterType, isClassifierFacadeMetaType, isClobType, isCollectionType, isDataType, isDateType, isDoubleType, isEmbeddedValue, isEnumeration, isFileType, isFloatType, isIntegerType, isInterface, isLeaf, isListType, isLongType, isMapType, isPrimitive, isSetType, isStringType, isTimeType, isWrappedPrimitivehandleFindTaggedValue, handleGetAllGeneralizations, handleGetAllSpecializations, handleGetGeneralization, handleGetGeneralizationLinks, handleGetGeneralizationList, handleGetGeneralizationRoot, handleGetGeneralizations, handleGetSpecializationsfindTaggedValue, getAllGeneralizations, getAllSpecializations, getGeneralization, getGeneralizationLinks, getGeneralizationList, getGeneralizationRoot, getGeneralizations, getSpecializations, isGeneralizableElementFacadeMetaTypegetArraySuffix, getValidationName, handleCopyTaggedValues, handleFindTaggedValue, handleFindTaggedValues, handleGetBindedFullyQualifiedName, handleGetConstraints, handleGetConstraints, handleGetDocumentation, handleGetDocumentation, handleGetDocumentation, handleGetFullyQualifiedName, handleGetFullyQualifiedName, handleGetFullyQualifiedNamePath, handleGetId, handleGetKeywords, handleGetLabel, handleGetLanguageMappings, handleGetModel, handleGetOwnedElements, 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, handleTranslateConstraintscopyTaggedValues, 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, translateConstraintscompareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, getValidationOwner, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validateclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAllEntityReferences, getAttributeNameList, getAttributeNameList, getAttributes, getAttributes, getAttributeTypeList, getBusinessOperations, getChildEnds, getEmbeddedValues, getEntityReferences, getFullyQualifiedIdentifierTypeName, getIdentifierAssociationEnds, getIdentifierGetterName, getIdentifierName, getIdentifiers, getIdentifiers, getIdentifierSetterName, getIdentifierTypeName, getMaxSqlNameLength, getOperationCallFromAttributes, getOperationCallFromAttributes, getParentEnd, getProperties, getQueryOperations, getQueryOperations, getRequiredAttributeNameList, getRequiredAttributes, getRequiredAttributeTypeList, getRequiredProperties, getRequiredPropertyNameList, getRequiredPropertyTypeList, getSchema, getTableName, isChild, isCompositeIdentifier, isDynamicIdentifiersPresent, isEntityMetaType, isIdentifiersPresent, isUsingAssignedIdentifier, isUsingForeignIdentifierfindAttribute, getAbstractions, getAllAssociatedClasses, getAllProperties, getAllRequiredConstructorParameters, getArray, getArrayName, getAssociatedClasses, getAssociationEnds, getAttributes, getAttributes, getFullyQualifiedArrayName, getImplementationOperations, getImplementedInterfaceList, getInstanceAttributes, getInstanceOperations, getInterfaceAbstractions, getJavaNewString, getJavaNullString, getNavigableConnectingEnds, getNavigableConnectingEnds, getNonArray, getOperationCallFromAttributes, getOperations, getProperties, getProperties, getRequiredConstructorParameters, getSerialVersionUID, getStaticAttributes, getStaticOperations, getSuperClass, getWrapperName, isAbstract, isArrayType, isAssociationClass, isBlobType, isBooleanType, isCharacterType, isClassifierFacadeMetaType, isClobType, isCollectionType, isDataType, isDateType, isDoubleType, isEmbeddedValue, isEnumeration, isFileType, isFloatType, isIntegerType, isInterface, isLeaf, isListType, isLongType, isMapType, isPrimitive, isSetType, isStringType, isTimeType, isWrappedPrimitivefindTaggedValue, getAllGeneralizations, getAllSpecializations, getGeneralization, getGeneralizationLinks, getGeneralizationList, getGeneralizationRoot, getGeneralizations, getSpecializations, isGeneralizableElementFacadeMetaTypecopyTaggedValues, 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, translateConstraintsprotected Object metaObject
Objectprotected ManageableEntityLogic(Object metaObjectIn, String context)
metaObjectIn - context - public void resetMetafacadeContext(String context)
resetMetafacadeContext in class EntityLogiccontext - public boolean isManageableEntityMetaType()
isManageableEntityMetaType in interface ManageableEntityManageableEntityprotected abstract String handleGetManageablePackageName()
ManageableEntity.getManageablePackageName()public final String getManageablePackageName()
getManageablePackageName in interface ManageableEntityprotected abstract String handleGetManageableServiceAccessorCall()
ManageableEntity.getManageableServiceAccessorCall()public final String getManageableServiceAccessorCall()
getManageableServiceAccessorCall in interface ManageableEntityprotected abstract boolean handleIsRead()
ManageableEntity.isRead()public final boolean isRead()
isRead in interface ManageableEntityprotected abstract boolean handleIsCreate()
ManageableEntity.isCreate()public final boolean isCreate()
isCreate in interface ManageableEntityprotected abstract boolean handleIsUpdate()
ManageableEntity.isUpdate()public final boolean isUpdate()
isUpdate in interface ManageableEntityprotected abstract boolean handleIsDelete()
ManageableEntity.isDelete()public final boolean isDelete()
isDelete in interface ManageableEntityprotected abstract String handleGetManageablePackagePath()
ManageableEntity.getManageablePackagePath()public final String getManageablePackagePath()
getManageablePackagePath in interface ManageableEntityprotected abstract String handleGetManageableServiceName()
ManageableEntity.getManageableServiceName()public final String getManageableServiceName()
getManageableServiceName in interface ManageableEntityprotected abstract String handleGetFullyQualifiedManageableServiceName()
ManageableEntity.getFullyQualifiedManageableServiceName()public final String getFullyQualifiedManageableServiceName()
getFullyQualifiedManageableServiceName in interface ManageableEntityprotected abstract String handleGetManageableServiceFullPath()
ManageableEntity.getManageableServiceFullPath()public final String getManageableServiceFullPath()
getManageableServiceFullPath in interface ManageableEntityprotected abstract List<ModelElementFacade> handleGetManageableMembers()
ManageableEntity.getManageableMembers()public final List<ModelElementFacade> getManageableMembers()
getManageableMembers in interface ManageableEntityprotected abstract boolean handleIsManageable()
ManageableEntity.isManageable()public final boolean isManageable()
isManageable in interface ManageableEntityprotected abstract int handleGetMaximumListSize()
ManageableEntity.getMaximumListSize()public final int getMaximumListSize()
getMaximumListSize in interface ManageableEntityprotected abstract int handleGetPageSize()
ManageableEntity.getPageSize()public final int getPageSize()
getPageSize in interface ManageableEntityprotected abstract boolean handleIsResolveable()
ManageableEntity.isResolveable()public final boolean isResolveable()
isResolveable in interface ManageableEntityprotected abstract String handleListManageableMembers(boolean withTypes)
withTypes - public String listManageableMembers(boolean withTypes)
listManageableMembers in interface ManageableEntitywithTypes - boolean
TODO: Model Documentation for
ManageableEntity.listManageableMembers(withTypes)protected abstract String handleListManageableMembersWithWrapperTypes()
public String listManageableMembersWithWrapperTypes()
listManageableMembersWithWrapperTypes in interface ManageableEntitypublic final List<ActorFacade> getUsers()
getUsers in interface ManageableEntityprotected abstract List handleGetUsers()
public final List<ManageableEntityAssociationEnd> getManageableAssociationEnds()
getManageableAssociationEnds in interface ManageableEntityprotected abstract List handleGetManageableAssociationEnds()
public final ManageableEntityAttribute getDisplayAttribute()
getDisplayAttribute in interface ManageableEntityprotected abstract Object handleGetDisplayAttribute()
public final List<ManageableEntity> getReferencingManageables()
getReferencingManageables in interface ManageableEntityprotected abstract List handleGetReferencingManageables()
public final List<ManageableEntity> getAllManageables()
getAllManageables in interface ManageableEntityprotected abstract List handleGetAllManageables()
public final List<ManageableEntityAttribute> getManageableAttributes()
getManageableAttributes in interface ManageableEntityprotected abstract List handleGetManageableAttributes()
public final ManageableEntityAttribute getManageableIdentifier()
getManageableIdentifier in interface ManageableEntityprotected abstract Object handleGetManageableIdentifier()
public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
EntityLogicConstraint: org::andromda::metafacades::uml::Entity::entity must have at least one primary key
Error: Each entity must have at least one identifier defined.
OCL: context Entity inv: identifiersPresent
Constraint: org::andromda::metafacades::uml::Entity::entities can only specialize other entites
Error: An entity can only specialize another entity.
OCL: context Entity inv : specializations -> notEmpty() implies specializations -> forAll(oclIsKindOf(Entity))
validateInvariants in interface ModelElementFacadevalidateInvariants in class EntityLogicvalidationMessages - CollectionEntityLogic.validateInvariants(Collection validationMessages)Copyright © 2003–2014 AndroMDA.org. All rights reserved.