public static enum TopiaHibernateTagValues.Store extends Enum<TopiaHibernateTagValues.Store> implements org.nuiton.eugene.models.extension.tagvalue.TagValueMetadata
| Enum Constant and Description |
|---|
access
Tag pour specfier le type d'acces a un champ.
|
attributeType
Tag to change the type of an attribute.
|
dbName
Tag pour le nom du champ / entité en BD.
|
dbSchema
Tag pour le nom du schema en BD.
|
fetch
Tag pour spécifier la caractère fetch d'une association multiple.
|
generateForeignKeyNames
Tag to generate deterministic foreign key names in hibernate mapping files.
|
hibernateAttributeType
Tag to change the type of an attribute in a hibernate mapping.
|
hibernateProxyInterface
Tag pour configurer l'interface du proxy sur autre chose que l'implementation par defaut.
|
indexForeignKeys
Stéréotype pour les attributs avec multiplicité nécessitant la création d'un index.
|
inheritanceStrategy
Tag pour configurer la stategie d'heritage choisie.
|
inverse
Tag pour permettre de choisir qui contrôle la relation N-N
bidirectionnelle.
|
lazy
Tag pour spécifier la caractère lazy d'une association multiple.
|
length
Tag pour la taille du champ en BD.
|
manyToManyTableName
Tag to specify the reverse db name of an attribute in database.
|
naturalId
Tag pour ajouter un attribut dans une clef métier.
|
naturalIdMutable
Tag pour specifier si une clef metier est mutable.
|
notNull
Tag pour spécifier la caractère not-null d'un attribut.
|
orderBy
Tag pour spécifier la caractère order-by d'une association multiple.
|
persistenceType
Tag pour le type de persistence.
|
reverseDbName
Tag to specify the reverse db name of an attribute in database.
|
sortAttribute
Tag pour specifier de trier les attributs par nom lors de la generation.
|
sqlType
Tag pour spécifier le type sql d'une propriété dans le mapping hibernate.
|
type
Deprecated.
since 3.0, use now
hibernateAttributeType which
permits to deal the same thing but at also model and classifier scope. |
useEnumerationName
Tag à placer sur un l'attribut d'une entité.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue() |
String |
getDescription() |
Class<? extends org.nuiton.eugene.models.extension.tagvalue.matcher.TagValueDefinitionMatcher> |
getMatcherClass() |
String |
getName() |
Set<Class<?>> |
getTargets() |
Class<?> |
getType() |
boolean |
isDeprecated() |
static TopiaHibernateTagValues.Store |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopiaHibernateTagValues.Store[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopiaHibernateTagValues.Store persistenceType
public static final TopiaHibernateTagValues.Store dbName
public static final TopiaHibernateTagValues.Store reverseDbName
public static final TopiaHibernateTagValues.Store manyToManyTableName
public static final TopiaHibernateTagValues.Store dbSchema
public static final TopiaHibernateTagValues.Store length
TopiaHibernateTagValues.getLengthTagValue(ObjectModelAttribute)public static final TopiaHibernateTagValues.Store access
TopiaHibernateTagValues.getAccessTagValue(ObjectModelAttribute)public static final TopiaHibernateTagValues.Store naturalId
TopiaHibernateTagValues.getNaturalIdTagValue(ObjectModelAttribute)public static final TopiaHibernateTagValues.Store naturalIdMutable
TopiaHibernateTagValues.getNaturalIdMutableTagValue(ObjectModelClassifier)public static final TopiaHibernateTagValues.Store inverse
TopiaHibernateTagValues.getInverseTagValue(ObjectModelAttribute)public static final TopiaHibernateTagValues.Store lazy
TopiaHibernateTagValues.getLazyTagValue(ObjectModelAttribute)public static final TopiaHibernateTagValues.Store fetch
TopiaHibernateTagValues.getFetchTagValue(ObjectModelAttribute)public static final TopiaHibernateTagValues.Store orderBy
TopiaHibernateTagValues.getOrderByTagValue(ObjectModelAttribute)public static final TopiaHibernateTagValues.Store notNull
TopiaHibernateTagValues.getNotNullTagValue(ObjectModelAttribute)public static final TopiaHibernateTagValues.Store useEnumerationName
name de l'énumération et non l'ordinal pour stocker la valeur en
basepublic static final TopiaHibernateTagValues.Store hibernateProxyInterface
TopiaHibernateTagValues.getPersistenceTypeTagValue(ObjectModelClassifier)public static final TopiaHibernateTagValues.Store inheritanceStrategy
TopiaHibernateTagValues.getPersistenceTypeTagValue(ObjectModelClassifier)public static final TopiaHibernateTagValues.Store sortAttribute
public static final TopiaHibernateTagValues.Store type
hibernateAttributeType which
permits to deal the same thing but at also model and classifier scope.TopiaHibernateTagValues.getTypeTagValue(ObjectModelAttribute)public static final TopiaHibernateTagValues.Store sqlType
TopiaHibernateTagValues.getSqlTypeTagValue(ObjectModelAttribute)public static final TopiaHibernateTagValues.Store indexForeignKeys
public static final TopiaHibernateTagValues.Store generateForeignKeyNames
TopiaHibernateTagValues.isGenerateForeignKeyNames(ObjectModelClassifier, ObjectModel)public static final TopiaHibernateTagValues.Store hibernateAttributeType
String into hibernate mapping type text, add this:
model.tagValue.hibernateAttributeType.String=textBefore 3.0, you could do the same thing using:
model.tagValue.String=textThe new way permits us to validate the usage of the tagValue, old way can't.
public static final TopiaHibernateTagValues.Store attributeType
String into type java.lang.String, add this:
model.tagValue.attributeType.String=java.lang.StringBefore 3.0, you could do the same thing using:
model.tagValue.String=java.lang.StringThe new way permits us to validate the usage of the tagValue, old way can't.
public static TopiaHibernateTagValues.Store[] values()
for (TopiaHibernateTagValues.Store c : TopiaHibernateTagValues.Store.values()) System.out.println(c);
public static TopiaHibernateTagValues.Store valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getName()
getName in interface org.nuiton.eugene.models.extension.tagvalue.TagValueMetadatapublic Set<Class<?>> getTargets()
getTargets in interface org.nuiton.eugene.models.extension.tagvalue.TagValueMetadatapublic Class<?> getType()
getType in interface org.nuiton.eugene.models.extension.tagvalue.TagValueMetadatapublic Class<? extends org.nuiton.eugene.models.extension.tagvalue.matcher.TagValueDefinitionMatcher> getMatcherClass()
getMatcherClass in interface org.nuiton.eugene.models.extension.tagvalue.TagValueMetadatapublic String getDescription()
getDescription in interface org.nuiton.eugene.models.extension.tagvalue.TagValueMetadatapublic String getDefaultValue()
getDefaultValue in interface org.nuiton.eugene.models.extension.tagvalue.TagValueMetadatapublic boolean isDeprecated()
isDeprecated in interface org.nuiton.eugene.models.extension.tagvalue.TagValueMetadataCopyright © 2004–2020 Code Lutin. All rights reserved.