public class HibernateEntityLogicImpl extends HibernateEntityLogic
Provides support for the hibernate inheritance strategies of class (table per hierarchy), subclass (table per subclass in hierarchy) and concrete (table per class). With concrete the strategy can be changed lower down. Also provides for the root class being defined as an interface and the attributes remapped to the subclasses. This is useful in the concrete case because it has limitations in the associations.
Also provides support for not generating the entity factory which is useful when using subclass mode.
Type | Property and Description |
---|---|
protected String |
handleGetHibernateVersion |
metaObject
contextRoot
Constructor and Description |
---|
HibernateEntityLogicImpl(Object metaObject,
String context) |
copyTaggedValues, findAttribute, findTaggedValue, findTaggedValue, findTaggedValues, getAbstractions, getAllAssociatedClasses, getAllBusinessOperations, getAllEntityReferences, getAllGeneralizations, getAllProperties, getAllRequiredConstructorParameters, getAllSpecializations, getArray, getArrayName, getAssociatedClasses, getAssociationEnds, getAttributeNameList, getAttributeNameList, getAttributes, getAttributes, getAttributes, getAttributes, getAttributeTypeList, getBindedFullyQualifiedName, getChildEnds, getConstraints, getConstraints, getDocumentation, getDocumentation, getDocumentation, getEhCacheMaxElementsInMemory, getEhCacheTimeToIdleSeconds, getEhCacheTimeToLiveSeconds, getEmbeddedValues, getEntityImplementationName, getEntityName, getEntityReferences, getFullyQualifiedArrayName, getFullyQualifiedEntityImplementationName, getFullyQualifiedEntityName, getFullyQualifiedIdentifierTypeName, getFullyQualifiedName, getFullyQualifiedName, getFullyQualifiedNamePath, getGeneralization, getGeneralizationLinks, getGeneralizationList, getGeneralizationRoot, getGeneralizations, getHibernateCacheType, getHibernateDefaultCascade, getHibernateDiscriminatorColumn, getHibernateDiscriminatorLength, getHibernateDiscriminatorType, getHibernateDiscriminatorValue, getHibernateGeneratorClass, getHibernateInheritanceStrategy, getHibernateVersionProperty, getHibernateVersionPropertySqlName, getId, getIdentifierAssociationEnds, getIdentifierGetterName, getIdentifierName, getIdentifiers, getIdentifiers, getIdentifierSetterName, getIdentifierTypeName, getImplementationOperations, getImplementedInterfaceList, getInstanceAttributes, getInstanceOperations, getInterfaceAbstractions, getJavaNewString, getJavaNullString, getKeywords, getLabel, getLanguageMappings, getMappingClassName, getMaxSqlNameLength, getModel, getName, getNavigableConnectingEnds, getNavigableConnectingEnds, getNonArray, getOperationCallFromAttributes, getOperationCallFromAttributes, getOperationCallFromAttributes, getOperations, getPackage, getPackageName, getPackageName, getPackagePath, getParentEnd, getProperties, getProperties, getQualifiedName, getQueryOperations, getQueryOperations, getRequiredAttributeNameList, getRequiredAttributes, getRequiredAttributeTypeList, getRequiredConstructorParameters, getRequiredProperties, getRequiredPropertyNameList, getRequiredPropertyTypeList, getRootPackage, getSchema, getSequenceName, getSerialVersionUID, getSourceDependencies, getSpecializations, getStateMachineContext, getStaticAttributes, getStaticOperations, getStereotypeNames, getStereotypes, getSubclassKeyColumn, getSuperClass, getTableName, getTaggedValues, getTargetDependencies, getTemplateParameter, getTemplateParameters, getValidationName, getValidationOwner, getVersion, getVisibility, getWrapperName, getXmlTagName, hasExactStereotype, hasKeyword, hasStereotype, initialize, isAbstract, isArrayType, isAssociationClass, isBindingDependenciesPresent, isBlobType, isBooleanType, isBusinessOperationsPresent, isCharacterType, isChild, isClassifierFacadeMetaType, isClobType, isCollectionType, isCompositeIdentifier, isConstraintsPresent, isDataType, isDateType, isDocumentationPresent, isDoubleType, isDynamicIdentifiersPresent, isDynamicInsert, isDynamicUpdate, isEhCacheEternal, isEhCacheOverflowToDisk, isEmbeddedValue, isEntityMetaType, isEnumeration, isFileType, isFloatType, isForeignHibernateGeneratorClass, isGeneralizableElementFacadeMetaType, isHibernateCacheDistributed, isHibernateEntityMetaType, isHibernateInheritanceClass, isHibernateInheritanceConcrete, isHibernateInheritanceInterface, isHibernateInheritanceSubclass, isHibernateInheritanceUnionSubClass, isHibernateProxy, isIdentifiersPresent, isIntegerType, isInterface, isLazy, isLeaf, isListType, isLongType, isMappingRequiresSuperProperties, isMapType, isModelElementFacadeMetaType, isPrimitive, isRequiresMapping, isRequiresSpecializationMapping, isReservedWord, isSequenceHibernateGeneratorClass, isSetType, isStringType, isTableRequired, isTemplateParametersPresent, isTimeType, isUsingAssignedIdentifier, isUsingForeignIdentifier, isValidIdentifierName, isWrappedPrimitive, resetMetafacadeContext, toString, translateConstraint, translateConstraints, translateConstraints, validateInvariants
compareTo, equals, getConfiguredProperty, getDebug, getMetafacadeContext, getMetaObject, hashCode, isConfiguredProperty, isMetafacadePropertyCachingEnabled, setMetafacadeContext, setProperty, shieldedElement, shieldedElements, THIS, validate
handleGetHibernateVersionProperty
in class HibernateEntityLogic
HibernateEntity.getHibernateVersionProperty()
public HibernateEntityLogicImpl(Object metaObject, String context)
metaObject
- context
- protected Collection<OperationFacade> handleGetAllBusinessOperations()
handleGetAllBusinessOperations
in class HibernateEntityLogic
HibernateEntity.getAllBusinessOperations()
protected String handleGetHibernateInheritanceStrategy()
handleGetHibernateInheritanceStrategy
in class HibernateEntityLogic
HibernateEntity.getHibernateInheritanceStrategy()
public List<ModelElementFacade> getProperties()
HibernateEntityLogic
getProperties
in interface ClassifierFacade
getProperties
in class HibernateEntityLogic
ClassifierFacade.getProperties()
protected boolean handleIsHibernateInheritanceClass()
handleIsHibernateInheritanceClass
in class HibernateEntityLogic
HibernateEntity.isHibernateInheritanceClass()
protected boolean handleIsHibernateInheritanceInterface()
handleIsHibernateInheritanceInterface
in class HibernateEntityLogic
HibernateEntity.isHibernateInheritanceInterface()
protected boolean handleIsHibernateInheritanceSubclass()
handleIsHibernateInheritanceSubclass
in class HibernateEntityLogic
HibernateEntity.isHibernateInheritanceSubclass()
protected boolean handleIsHibernateInheritanceConcrete()
handleIsHibernateInheritanceConcrete
in class HibernateEntityLogic
HibernateEntity.isHibernateInheritanceConcrete()
protected boolean handleIsHibernateInheritanceUnionSubClass()
handleIsHibernateInheritanceUnionSubClass
in class HibernateEntityLogic
HibernateEntity.isHibernateInheritanceUnionSubClass()
protected boolean handleIsLazy()
handleIsLazy
in class HibernateEntityLogic
HibernateEntity.isLazy()
protected String handleGetHibernateCacheType()
handleGetHibernateCacheType
in class HibernateEntityLogic
HibernateEntity.getHibernateCacheType()
protected String handleGetFullyQualifiedEntityName()
handleGetFullyQualifiedEntityName
in class HibernateEntityLogic
HibernateEntity.getFullyQualifiedEntityName()
protected String handleGetFullyQualifiedEntityImplementationName()
handleGetFullyQualifiedEntityImplementationName
in class HibernateEntityLogic
HibernateEntity.getFullyQualifiedEntityImplementationName()
protected String handleGetHibernateDefaultCascade()
handleGetHibernateDefaultCascade
in class HibernateEntityLogic
HibernateEntity.getHibernateDefaultCascade()
protected String handleGetHibernateGeneratorClass()
handleGetHibernateGeneratorClass
in class HibernateEntityLogic
HibernateEntity.getHibernateGeneratorClass()
protected boolean handleIsForeignHibernateGeneratorClass()
handleIsForeignHibernateGeneratorClass
in class HibernateEntityLogic
HibernateEntity.isForeignHibernateGeneratorClass()
protected boolean handleIsSequenceHibernateGeneratorClass()
handleIsSequenceHibernateGeneratorClass
in class HibernateEntityLogic
HibernateEntity.isSequenceHibernateGeneratorClass()
protected String handleGetEntityName()
handleGetEntityName
in class HibernateEntityLogic
HibernateEntity.getEntityName()
protected String handleGetEntityImplementationName()
handleGetEntityImplementationName
in class HibernateEntityLogic
HibernateEntity.getEntityImplementationName()
protected String handleGetHibernateDiscriminatorColumn()
handleGetHibernateDiscriminatorColumn
in class HibernateEntityLogic
HibernateEntity.getHibernateDiscriminatorColumn()
protected String handleGetHibernateDiscriminatorType()
handleGetHibernateDiscriminatorType
in class HibernateEntityLogic
HibernateEntity.getHibernateDiscriminatorType()
protected int handleGetHibernateDiscriminatorLength()
handleGetHibernateDiscriminatorLength
in class HibernateEntityLogic
HibernateEntity.getHibernateDiscriminatorLength()
public Collection<OperationFacade> getBusinessOperations()
getBusinessOperations
in interface Entity
getBusinessOperations
in class HibernateEntityLogic
HibernateEntityLogic.getBusinessOperations()
protected boolean handleIsBusinessOperationsPresent()
handleIsBusinessOperationsPresent
in class HibernateEntityLogic
HibernateEntity.isBusinessOperationsPresent()
protected boolean handleIsHibernateProxy()
handleIsHibernateProxy
in class HibernateEntityLogic
HibernateEntity.isHibernateProxy()
protected int handleGetEhCacheMaxElementsInMemory()
handleGetEhCacheMaxElementsInMemory
in class HibernateEntityLogic
HibernateEntity.getEhCacheMaxElementsInMemory()
protected boolean handleIsEhCacheEternal()
handleIsEhCacheEternal
in class HibernateEntityLogic
HibernateEntity.isEhCacheEternal()
protected int handleGetEhCacheTimeToIdleSeconds()
handleGetEhCacheTimeToIdleSeconds
in class HibernateEntityLogic
HibernateEntity.getEhCacheTimeToIdleSeconds()
protected int handleGetEhCacheTimeToLiveSeconds()
handleGetEhCacheTimeToLiveSeconds
in class HibernateEntityLogic
HibernateEntity.getEhCacheTimeToLiveSeconds()
protected boolean handleIsEhCacheOverflowToDisk()
handleIsEhCacheOverflowToDisk
in class HibernateEntityLogic
HibernateEntity.isEhCacheOverflowToDisk()
protected boolean handleIsHibernateCacheDistributed()
handleIsHibernateCacheDistributed
in class HibernateEntityLogic
HibernateEntity.isHibernateCacheDistributed()
protected boolean handleIsTableRequired()
handleIsTableRequired
in class HibernateEntityLogic
HibernateEntity.isTableRequired()
protected String handleGetMappingClassName()
handleGetMappingClassName
in class HibernateEntityLogic
HibernateEntity.getMappingClassName()
protected String handleGetSubclassKeyColumn()
handleGetSubclassKeyColumn
in class HibernateEntityLogic
HibernateEntity.getSubclassKeyColumn()
protected boolean handleIsRequiresMapping()
handleIsRequiresMapping
in class HibernateEntityLogic
HibernateEntity.isRequiresMapping()
protected boolean handleIsRequiresSpecializationMapping()
handleIsRequiresSpecializationMapping
in class HibernateEntityLogic
HibernateEntity.isRequiresSpecializationMapping()
protected boolean handleIsDynamicInsert()
handleIsDynamicInsert
in class HibernateEntityLogic
HibernateEntity.isDynamicInsert()
protected boolean handleIsDynamicUpdate()
handleIsDynamicUpdate
in class HibernateEntityLogic
HibernateEntity.isDynamicUpdate()
protected boolean handleIsMappingRequiresSuperProperties()
handleIsMappingRequiresSuperProperties
in class HibernateEntityLogic
HibernateEntity.isMappingRequiresSuperProperties()
protected String handleGetHibernateVersionProperty()
handleGetHibernateVersionProperty
in class HibernateEntityLogic
HibernateEntity.getHibernateVersionProperty()
protected String handleGetHibernateVersionPropertySqlName()
handleGetHibernateVersionPropertySqlName
in class HibernateEntityLogic
HibernateEntity.getHibernateVersionPropertySqlName()
protected int handleGetVersion()
handleGetVersion
in class HibernateEntityLogic
HibernateEntity.getVersion()
protected String handleGetXmlTagName()
handleGetXmlTagName
in class HibernateEntityLogic
HibernateEntityLogic.handleGetXmlTagName()
protected String handleGetHibernateDiscriminatorValue()
handleGetHibernateDiscriminatorValue
in class HibernateEntityLogic
HibernateEntity.getHibernateDiscriminatorValue()
protected String handleGetSequenceName()
handleGetSequenceName
in class HibernateEntityLogic
HibernateEntity.getSequenceName()
Copyright © 2003–2014 AndroMDA.org. All rights reserved.