public class TopiaHibernateTagValues
extends org.nuiton.eugene.models.extension.tagvalue.provider.DefaultTagValueMetadatasProvider
|
| Modifier and Type | Class and Description |
|---|---|
static class |
TopiaHibernateTagValues.Store |
| Modifier and Type | Field and Description |
|---|---|
protected static Map<String,String> |
HIBERNATE_ATTRIBUTE_TYPE_DEFAULT_VALUES |
| Constructor and Description |
|---|
TopiaHibernateTagValues() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
Obtain the value of the
TopiaHibernateTagValues.Store.access tag value on the given attribute. |
String |
getAttributeType(org.nuiton.eugene.models.object.ObjectModelAttribute attribute,
org.nuiton.eugene.models.object.ObjectModelClassifier classifier,
org.nuiton.eugene.models.object.ObjectModelPackage aPackage,
org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of the
TopiaHibernateTagValues.Store.attributeType tag value on the given attribute, classifier or model. |
String |
getDbNameTagValue(org.nuiton.eugene.models.object.ObjectModelElement element)
Obtain the value of the
TopiaHibernateTagValues.Store.dbName tag value on the given element. |
String |
getDbSchemaNameTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier,
org.nuiton.eugene.models.object.ObjectModelPackage aPackage,
org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of the
TopiaHibernateTagValues.Store.dbSchema tag value on the given classifier. |
String |
getDeprecatedAttributeTagValueMessage(org.nuiton.eugene.models.object.ObjectModelClass clazz,
org.nuiton.eugene.models.object.ObjectModelAttribute attr,
String deprecatedTagValue,
String newTagValue,
String value) |
String |
getDeprecatedModelTagValueMessage(org.nuiton.eugene.models.object.ObjectModel model,
String deprecatedTagValue,
String newTagValue,
String value) |
String |
getDescription() |
String |
getFetchTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
Obtain the value of the
TopiaHibernateTagValues.Store.fetch tag value on the given attribute. |
String |
getHibernateAttributeType(org.nuiton.eugene.models.object.ObjectModelAttribute attribute,
org.nuiton.eugene.models.object.ObjectModelClassifier classifier,
org.nuiton.eugene.models.object.ObjectModelPackage aPackage,
org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of the
TopiaHibernateTagValues.Store.hibernateAttributeType tag value on the given attribute, classifier or model. |
boolean |
getIndexForeignKeysTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute,
org.nuiton.eugene.models.object.ObjectModelPackage aPackage,
org.nuiton.eugene.models.object.ObjectModel model)
Obtains the value of the tag value
TopiaHibernateTagValues.Store.indexForeignKeys on the model or on the
given attribute. |
String |
getInheritanceStrategyTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier,
org.nuiton.eugene.models.object.ObjectModelPackage aPackage)
Obtain the value of the
TopiaHibernateTagValues.Store.inheritanceStrategy tag value on the given classifier. |
String |
getInverseTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
Obtain the value of the
TopiaHibernateTagValues.Store.inverse tag value on the given attribute. |
String |
getLazyTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
Obtain the value of the
TopiaHibernateTagValues.Store.lazy tag value on the given attribute. |
String |
getLengthTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
Obtain the value of the
TopiaHibernateTagValues.Store.length tag value on the given attribute. |
String |
getManytoManyTableNameTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
Obtain the value of the
TopiaHibernateTagValues.Store.manyToManyTableName
tag value on the given attribute. |
boolean |
getNaturalIdMutableTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier)
Obtain the value of the
TopiaHibernateTagValues.Store.naturalIdMutable tag value on the given classifier. |
boolean |
getNaturalIdTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
Obtain the value of the
TopiaHibernateTagValues.Store.naturalId tag value on the given attribute. |
Boolean |
getNotNullTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
Obtain the value of the
TopiaHibernateTagValues.Store.notNull tag value on the given attribute. |
String |
getOrderByTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
Obtain the value of the
TopiaHibernateTagValues.Store.orderBy tag value on the given attribute. |
String |
getPersistenceTypeTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier)
Obtain the value of the
TopiaHibernateTagValues.Store.persistenceType tag value on the given classifier. |
String |
getProxyInterfaceTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier,
org.nuiton.eugene.models.object.ObjectModelPackage aPackage,
org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of the
TopiaHibernateTagValues.Store.hibernateProxyInterface tag value on the given classifier. |
boolean |
getSortAttributeTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier,
org.nuiton.eugene.models.object.ObjectModelPackage aPackage,
org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of the
TopiaHibernateTagValues.Store.sortAttribute tag value on the given classifier. |
String |
getSqlTypeTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
Obtain the value of the
TopiaHibernateTagValues.Store.sqlType tag value on the given attribute. |
String |
getTypeTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
|
boolean |
hasUseEnumerationNameTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attr,
org.nuiton.eugene.models.object.ObjectModelClassifier classifier,
org.nuiton.eugene.models.object.ObjectModelPackage aPackage,
org.nuiton.eugene.models.object.ObjectModel model) |
boolean |
isGenerateForeignKeyNames(org.nuiton.eugene.models.object.ObjectModelClassifier classifier,
org.nuiton.eugene.models.object.ObjectModel model)
Obtain the value of the
TopiaHibernateTagValues.Store.generateForeignKeyNames
tag value on the given model or classifier and returns true if the tag value was found and value true. |
public String getDescription()
public String getPersistenceTypeTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier)
TopiaHibernateTagValues.Store.persistenceType tag value on the given classifier.classifier - classifier to seeknull if not found nor empty.TopiaHibernateTagValues.Store.persistenceTypepublic String getInheritanceStrategyTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage)
TopiaHibernateTagValues.Store.inheritanceStrategy tag value on the given classifier.classifier - classifier to seekaPackage - package to seeknull if not found nor empty.TopiaHibernateTagValues.Store.inheritanceStrategypublic String getDbNameTagValue(org.nuiton.eugene.models.object.ObjectModelElement element)
TopiaHibernateTagValues.Store.dbName tag value on the given element.
Note: We just try a direct search on the element and do not
walk through his declaring elements if not found (see https://forge.nuiton.org/issues/2342).element - element to seeknull if not found nor empty.TopiaHibernateTagValues.Store.dbNamepublic String getDbSchemaNameTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
TopiaHibernateTagValues.Store.dbSchema tag value on the given classifier.classifier - classifier to seekaPackage - package to seekmodel - model to seeknull if not found nor empty.TopiaHibernateTagValues.Store.dbSchemapublic String getManytoManyTableNameTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
TopiaHibernateTagValues.Store.manyToManyTableName
tag value on the given attribute.
Note that it won't and search on declaring element or anywhere else than on the given element.
See https://forge.nuiton.org/issues/2342attribute - attribute to seeknull if not found nor empty.TopiaHibernateTagValues.Store.manyToManyTableNamepublic String getLengthTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
TopiaHibernateTagValues.Store.length tag value on the given attribute.attribute - attribute to seeknull if not found nor empty.TopiaHibernateTagValues.Store.lengthpublic String getAccessTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
TopiaHibernateTagValues.Store.access tag value on the given attribute.attribute - attribute to seeknull if not found nor empty.TopiaHibernateTagValues.Store.accesspublic boolean getNaturalIdTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
TopiaHibernateTagValues.Store.naturalId tag value on the given attribute.attribute - attribute to seeknull if not found nor empty.TopiaHibernateTagValues.Store.naturalIdpublic boolean getNaturalIdMutableTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier)
TopiaHibernateTagValues.Store.naturalIdMutable tag value on the given classifier.classifier - classifier to seeknull if not found nor empty.TopiaHibernateTagValues.Store.naturalIdMutablepublic String getInverseTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
TopiaHibernateTagValues.Store.inverse tag value on the given attribute.attribute - attribute to seeknull if not found nor empty.TopiaHibernateTagValues.Store.inversepublic String getLazyTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
TopiaHibernateTagValues.Store.lazy tag value on the given attribute.attribute - attribute to seeknull if not found nor empty.TopiaHibernateTagValues.Store.lazypublic String getFetchTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
TopiaHibernateTagValues.Store.fetch tag value on the given attribute.attribute - attribute to seeknull if not found nor empty.TopiaHibernateTagValues.Store.fetchpublic String getOrderByTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
TopiaHibernateTagValues.Store.orderBy tag value on the given attribute.attribute - attribute to seeknull if not found nor empty.TopiaHibernateTagValues.Store.orderBypublic Boolean getNotNullTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
TopiaHibernateTagValues.Store.notNull tag value on the given attribute.attribute - attribute to seeknull if not found nor empty.TopiaHibernateTagValues.Store.notNullpublic String getProxyInterfaceTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
TopiaHibernateTagValues.Store.hibernateProxyInterface tag value on the given classifier.classifier - classifier to seekaPackage - FIXMEmodel - model to seeknull if not found nor empty.TopiaHibernateTagValues.Store.hibernateProxyInterfacepublic boolean getSortAttributeTagValue(org.nuiton.eugene.models.object.ObjectModelClassifier classifier,
org.nuiton.eugene.models.object.ObjectModelPackage aPackage,
org.nuiton.eugene.models.object.ObjectModel model)
TopiaHibernateTagValues.Store.sortAttribute tag value on the given classifier.classifier - classifier to seekaPackage - FIXMEmodel - model to seeknull if not found nor empty.TopiaHibernateTagValues.Store.sortAttributepublic boolean isGenerateForeignKeyNames(org.nuiton.eugene.models.object.ObjectModelClassifier classifier,
org.nuiton.eugene.models.object.ObjectModel model)
TopiaHibernateTagValues.Store.generateForeignKeyNames
tag value on the given model or classifier and returns true if the tag value was found and value true.
It will first look on the model, and then in the given classifier.model - model to seekclassifier - classifier to seektrue if tag value was found on classifier or model and his value is true, otherwise false.TopiaHibernateTagValues.Store.generateForeignKeyNamespublic String getHibernateAttributeType(org.nuiton.eugene.models.object.ObjectModelAttribute attribute, org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
TopiaHibernateTagValues.Store.hibernateAttributeType tag value on the given attribute, classifier or model.attribute - attribute to seekaPackage - FIXMEmodel - FIXMEclassifier - FIXMEnull if not found nor empty.TopiaHibernateTagValues.Store.hibernateAttributeTypepublic String getAttributeType(org.nuiton.eugene.models.object.ObjectModelAttribute attribute, org.nuiton.eugene.models.object.ObjectModelClassifier classifier, org.nuiton.eugene.models.object.ObjectModelPackage aPackage, org.nuiton.eugene.models.object.ObjectModel model)
TopiaHibernateTagValues.Store.attributeType tag value on the given attribute, classifier or model.attribute - attribute to seekaPackage - FIXMEmodel - FIXMEclassifier - FIXMEnull if not found nor empty.TopiaHibernateTagValues.Store.attributeTypepublic String getSqlTypeTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
TopiaHibernateTagValues.Store.sqlType tag value on the given attribute.attribute - attribute to seeknull if not found nor empty.TopiaHibernateTagValues.Store.sqlTypepublic boolean getIndexForeignKeysTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute,
org.nuiton.eugene.models.object.ObjectModelPackage aPackage,
org.nuiton.eugene.models.object.ObjectModel model)
TopiaHibernateTagValues.Store.indexForeignKeys on the model or on the
given attribute.attribute - attribute to testmodel - model to testaPackage - FIXMEnull if not found nor empty.TopiaHibernateTagValues.Store.indexForeignKeyspublic boolean hasUseEnumerationNameTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attr,
org.nuiton.eugene.models.object.ObjectModelClassifier classifier,
org.nuiton.eugene.models.object.ObjectModelPackage aPackage,
org.nuiton.eugene.models.object.ObjectModel model)
@Deprecated public String getTypeTagValue(org.nuiton.eugene.models.object.ObjectModelAttribute attribute)
getHibernateAttributeType(ObjectModelAttribute, ObjectModelClassifier, ObjectModelPackage, ObjectModel) or getAttributeType(ObjectModelAttribute, ObjectModelClassifier, ObjectModelPackage, ObjectModel)TopiaHibernateTagValues.Store.type tag value on the given attribute.attribute - attribute to seeknull if not found nor empty.TopiaHibernateTagValues.Store.typepublic String getDeprecatedAttributeTagValueMessage(org.nuiton.eugene.models.object.ObjectModelClass clazz, org.nuiton.eugene.models.object.ObjectModelAttribute attr, String deprecatedTagValue, String newTagValue, String value)
Copyright © 2004–2018 CodeLutin. All rights reserved.