public class EntityLogicImpl extends EntityLogic
metaObject
contextRoot
Constructor and Description |
---|
EntityLogicImpl(Object metaObject,
String context) |
Modifier and Type | Method and Description |
---|---|
protected Collection<DependencyFacade> |
handleGetAllEntityReferences()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
List |
handleGetAssociationEnds()
Override to filter out any association ends that point to model elements other than other entities.
|
protected String |
handleGetAttributeNameList(boolean follow,
boolean withIdentifiers)
Method to be implemented in descendants
Gets a comma separated list of attribute names.
|
protected String |
handleGetAttributeNameList(boolean follow,
boolean withIdentifiers,
boolean withDerived)
Method to be implemented in descendants
Gets a comma separated list of attribute names.
|
protected Collection |
handleGetAttributes(boolean follow,
boolean withIdentifiers)
Method to be implemented in descendants
Gets all attributes of the entity, and optionally retieves the super entities attributes as
well as excludes the entity's identifiers if 'withIdentifiers' is set to false.
|
protected Collection |
handleGetAttributes(boolean follow,
boolean withIdentifiers,
boolean withDerived)
Method to be implemented in descendants
Gets all attributes of the entity, and optionally retieves the super entities attributes as
well as excludes the entity's identifiers if 'withIdentifiers' is set to false and exclude
derived attributes if 'withDerived' is set to false.
|
protected String |
handleGetAttributeTypeList(boolean follow,
boolean withIdentifiers)
Method to be implemented in descendants
Gets a comma separated list of attribute types.
|
protected Collection<OperationFacade> |
handleGetBusinessOperations()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected Collection<AssociationEndFacade> |
handleGetChildEnds()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected Collection<AttributeFacade> |
handleGetEmbeddedValues() |
protected Collection<DependencyFacade> |
handleGetEntityReferences()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
String |
handleGetFullyQualifiedIdentifierTypeName() |
protected Collection |
handleGetIdentifierAssociationEnds()
Method to be implemented in descendants
Gets all the associationEnds of this entity marked with the identifiers stereotype.
|
String |
handleGetIdentifierGetterName() |
String |
handleGetIdentifierName() |
protected Collection<ModelElementFacade> |
handleGetIdentifiers()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected Collection<ModelElementFacade> |
handleGetIdentifiers(boolean follow)
Method to be implemented in descendants
Gets all identifiers for an entity.
|
String |
handleGetIdentifierSetterName() |
String |
handleGetIdentifierTypeName() |
protected short |
handleGetMaxSqlNameLength()
Gets the maximum name length SQL names may be
|
protected String |
handleGetName()
Overridden to provide name masking.
|
protected String |
handleGetOperationCallFromAttributes(boolean withIdentifiers)
Method to be implemented in descendants
Gets the attributes as a list within an operation call, optionally including the type names
and the identifier attributes.
|
protected String |
handleGetOperationCallFromAttributes(boolean withIdentifiers,
boolean follow)
Method to be implemented in descendants
Gets the attributes as a list within an operation call.
|
protected AssociationEndFacade |
handleGetParentEnd()
UML Specific type is transformed by shieldedElements to AndroMDA Metafacade type
|
protected Collection |
handleGetProperties(boolean follow,
boolean withIdentifiers)
Method to be implemented in descendants
Gets all properties of this entity, this includes the attributes and navigable association
ends of the entity.
|
protected Collection<OperationFacade> |
handleGetQueryOperations()
UML Specific type is returned in Collection, transformed by shieldedElements to AndroMDA Metafacade type
|
protected Collection<OperationFacade> |
handleGetQueryOperations(boolean follow)
Method to be implemented in descendants
Gets all query operations for an entity.
|
protected String |
handleGetRequiredAttributeNameList(boolean follow,
boolean withIdentifiers)
Method to be implemented in descendants
Gets a comma separated list of required attribute names.
|
protected Collection |
handleGetRequiredAttributes(boolean follow,
boolean withIdentifiers)
Method to be implemented in descendants
Returns all attributes that are specified as 'required' in the model.
|
protected String |
handleGetRequiredAttributeTypeList(boolean follow,
boolean withIdentifiers)
Method to be implemented in descendants
Gets a comma separated list of attribute types with are required.
|
protected Collection |
handleGetRequiredProperties(boolean follow,
boolean withIdentifiers)
Method to be implemented in descendants
Gets all required properties for this entity.
|
protected String |
handleGetRequiredPropertyNameList(boolean follow,
boolean withIdentifiers)
Method to be implemented in descendants
Creates a comma separated list of the required property names.
|
protected String |
handleGetRequiredPropertyTypeList(boolean follow,
boolean withIdentifiers)
Method to be implemented in descendants
A comma separated list of the required property types.
|
protected String |
handleGetSchema() |
protected String |
handleGetTableName() |
protected boolean |
handleIsChild() |
protected boolean |
handleIsCompositeIdentifier() |
protected boolean |
handleIsDynamicIdentifiersPresent() |
protected boolean |
handleIsIdentifiersPresent() |
protected boolean |
handleIsUsingAssignedIdentifier() |
protected boolean |
handleIsUsingForeignIdentifier() |
void |
initialize() |
getAllEntityReferences, 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, isUsingForeignIdentifier, resetMetafacadeContext, validateInvariants
getOwner, 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, handleIsWrappedPrimitive
findAttribute, 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, isWrappedPrimitive
handleFindTaggedValue, handleGetAllGeneralizations, handleGetAllSpecializations, handleGetGeneralization, handleGetGeneralizationLinks, handleGetGeneralizationList, handleGetGeneralizationRoot, handleGetGeneralizations, handleGetSpecializations
findTaggedValue, getAllGeneralizations, getAllSpecializations, getGeneralization, getGeneralizationLinks, getGeneralizationList, getGeneralizationRoot, getGeneralizations, getSpecializations, isGeneralizableElementFacadeMetaType
getArraySuffix, 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, 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, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findAttribute, 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, isWrappedPrimitive
findTaggedValue, getAllGeneralizations, getAllSpecializations, getGeneralization, getGeneralizationLinks, getGeneralizationList, getGeneralizationRoot, getGeneralizations, getSpecializations, isGeneralizableElementFacadeMetaType
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, isBindingDependenciesPresent, isConstraintsPresent, isDocumentationPresent, isModelElementFacadeMetaType, isReservedWord, isTemplateParametersPresent, isValidIdentifierName, translateConstraint, translateConstraints, translateConstraints
public EntityLogicImpl(Object metaObject, String context)
metaObject
- context
- public void initialize()
initialize
in interface ModelElementFacade
initialize
in class MetafacadeBase
MetafacadeBase.initialize()
protected String handleGetName()
handleGetName
in class ClassifierFacadeLogicImpl
ModelElementFacade.getName()
protected Collection<OperationFacade> handleGetQueryOperations()
EntityLogic
handleGetQueryOperations
in class EntityLogic
Entity.getQueryOperations()
protected Collection<OperationFacade> handleGetQueryOperations(boolean follow)
EntityLogic
handleGetQueryOperations
in class EntityLogic
Entity.getQueryOperations(boolean)
protected Collection<ModelElementFacade> handleGetIdentifiers()
EntityLogic
handleGetIdentifiers
in class EntityLogic
Entity.getIdentifiers()
protected Collection<ModelElementFacade> handleGetIdentifiers(boolean follow)
EntityLogic
handleGetIdentifiers
in class EntityLogic
Entity.getIdentifiers(boolean)
protected boolean handleIsIdentifiersPresent()
handleIsIdentifiersPresent
in class EntityLogic
Entity.isIdentifiersPresent()
protected boolean handleIsDynamicIdentifiersPresent()
handleIsDynamicIdentifiersPresent
in class EntityLogic
Entity.isDynamicIdentifiersPresent()
protected String handleGetTableName()
handleGetTableName
in class EntityLogic
Entity.getTableName()
protected String handleGetOperationCallFromAttributes(boolean withIdentifiers)
EntityLogic
handleGetOperationCallFromAttributes
in class EntityLogic
Entity.getOperationCallFromAttributes(boolean)
protected String handleGetOperationCallFromAttributes(boolean withIdentifiers, boolean follow)
EntityLogic
handleGetOperationCallFromAttributes
in class EntityLogic
Entity.getOperationCallFromAttributes(boolean, boolean)
protected String handleGetAttributeTypeList(boolean follow, boolean withIdentifiers)
EntityLogic
handleGetAttributeTypeList
in class EntityLogic
Entity.getAttributeTypeList(boolean, boolean)
protected String handleGetAttributeNameList(boolean follow, boolean withIdentifiers)
EntityLogic
handleGetAttributeNameList
in class EntityLogic
Entity.getAttributeNameList(boolean, boolean)
protected String handleGetAttributeNameList(boolean follow, boolean withIdentifiers, boolean withDerived)
EntityLogic
handleGetAttributeNameList
in class EntityLogic
Entity.getAttributeNameList(boolean, boolean, boolean)
protected String handleGetRequiredAttributeTypeList(boolean follow, boolean withIdentifiers)
EntityLogic
handleGetRequiredAttributeTypeList
in class EntityLogic
Entity.getRequiredAttributeTypeList(boolean, boolean)
protected String handleGetRequiredAttributeNameList(boolean follow, boolean withIdentifiers)
EntityLogic
handleGetRequiredAttributeNameList
in class EntityLogic
Entity.getRequiredAttributeNameList(boolean, boolean)
protected String handleGetRequiredPropertyTypeList(boolean follow, boolean withIdentifiers)
EntityLogic
handleGetRequiredPropertyTypeList
in class EntityLogic
Entity.getRequiredPropertyTypeList(boolean, boolean)
protected String handleGetRequiredPropertyNameList(boolean follow, boolean withIdentifiers)
EntityLogic
handleGetRequiredPropertyNameList
in class EntityLogic
Entity.getRequiredPropertyNameList(boolean, boolean)
protected boolean handleIsChild()
handleIsChild
in class EntityLogic
Entity.isChild()
protected AssociationEndFacade handleGetParentEnd()
EntityLogic
handleGetParentEnd
in class EntityLogic
Entity.getParentEnd()
protected Collection<AssociationEndFacade> handleGetChildEnds()
EntityLogic
handleGetChildEnds
in class EntityLogic
Entity.getChildEnds()
protected Collection<OperationFacade> handleGetBusinessOperations()
EntityLogic
handleGetBusinessOperations
in class EntityLogic
Entity.getBusinessOperations()
protected Collection<DependencyFacade> handleGetEntityReferences()
EntityLogic
handleGetEntityReferences
in class EntityLogic
Entity.getEntityReferences()
protected Collection handleGetAttributes(boolean follow, boolean withIdentifiers)
EntityLogic
handleGetAttributes
in class EntityLogic
Entity.getAttributes(boolean, boolean)
protected Collection handleGetAttributes(boolean follow, boolean withIdentifiers, boolean withDerived)
EntityLogic
handleGetAttributes
in class EntityLogic
Entity.getAttributes(boolean, boolean, boolean)
protected Collection handleGetProperties(boolean follow, boolean withIdentifiers)
EntityLogic
handleGetProperties
in class EntityLogic
Entity.getProperties(boolean, boolean)
protected Collection handleGetRequiredAttributes(boolean follow, boolean withIdentifiers)
EntityLogic
handleGetRequiredAttributes
in class EntityLogic
Entity.getRequiredAttributes(boolean, boolean)
protected Collection handleGetRequiredProperties(boolean follow, boolean withIdentifiers)
EntityLogic
handleGetRequiredProperties
in class EntityLogic
Entity.getRequiredProperties(boolean, boolean)
protected short handleGetMaxSqlNameLength()
handleGetMaxSqlNameLength
in class EntityLogic
Entity.getMaxSqlNameLength()
public List handleGetAssociationEnds()
handleGetAssociationEnds
in class ClassifierFacadeLogicImpl
ClassifierFacade.getAssociationEnds()
protected boolean handleIsUsingForeignIdentifier()
handleIsUsingForeignIdentifier
in class EntityLogic
EntityLogic.handleIsUsingForeignIdentifier()
protected boolean handleIsUsingAssignedIdentifier()
handleIsUsingAssignedIdentifier
in class EntityLogic
Entity.isUsingAssignedIdentifier()
protected String handleGetSchema()
handleGetSchema
in class EntityLogic
Entity.getSchema()
protected Collection handleGetIdentifierAssociationEnds()
EntityLogic
handleGetIdentifierAssociationEnds
in class EntityLogic
Entity.getIdentifierAssociationEnds()
protected boolean handleIsCompositeIdentifier()
handleIsCompositeIdentifier
in class EntityLogic
Entity.isCompositeIdentifier()
protected Collection<DependencyFacade> handleGetAllEntityReferences()
EntityLogic
handleGetAllEntityReferences
in class EntityLogic
Entity.getAllEntityReferences()
protected Collection<AttributeFacade> handleGetEmbeddedValues()
handleGetEmbeddedValues
in class EntityLogic
Entity.getEmbeddedValues()
public String handleGetFullyQualifiedIdentifierTypeName()
handleGetFullyQualifiedIdentifierTypeName
in class EntityLogic
Entity.getFullyQualifiedIdentifierTypeName()
public String handleGetIdentifierName()
handleGetIdentifierName
in class EntityLogic
Entity.getIdentifierName()
public String handleGetIdentifierTypeName()
handleGetIdentifierTypeName
in class EntityLogic
Entity.getIdentifierTypeName()
public String handleGetIdentifierGetterName()
handleGetIdentifierGetterName
in class EntityLogic
Entity.getIdentifierGetterName()
public String handleGetIdentifierSetterName()
handleGetIdentifierSetterName
in class EntityLogic
Entity.getIdentifierSetterName()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.