Package org.nuiton.topia.templates
Enum TopiaHibernateTagValues.Store
java.lang.Object
java.lang.Enum<TopiaHibernateTagValues.Store>
org.nuiton.topia.templates.TopiaHibernateTagValues.Store
- All Implemented Interfaces:
Serializable,Comparable<TopiaHibernateTagValues.Store>,java.lang.constant.Constable,org.nuiton.eugene.models.extension.tagvalue.TagValueMetadata
- Enclosing class:
- TopiaHibernateTagValues
public static enum TopiaHibernateTagValues.Store
extends Enum<TopiaHibernateTagValues.Store>
implements org.nuiton.eugene.models.extension.tagvalue.TagValueMetadata
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTag pour specfier le type d'acces a un champ.Tag to change the type of an attribute.Tag pour le nom du champ / entité en BD.Tag pour le nom du schema en BD.Tag pour spécifier la caractère fetch d'une association multiple.Tag to generate deterministic foreign key names in hibernate mapping files.Tag to change the type of an attribute in a hibernate mapping.Tag pour configurer l'interface du proxy sur autre chose que l'implementation par defaut.Stéréotype pour les attributs avec multiplicité nécessitant la création d'un index.Tag pour configurer la stategie d'heritage choisie.Tag pour permettre de choisir qui contrôle la relation N-N bidirectionnelle.Tag pour spécifier la caractère lazy d'une association multiple.Tag pour la taille du champ en BD.Tag to specify the reverse db name of an attribute in database.Tag pour ajouter un attribut dans une clef métier.Tag pour specifier si une clef metier est mutable.Tag pour spécifier la caractère not-null d'un attribut.Tag pour spécifier la caractère order-by d'une association multiple.Tag pour le type de persistence.Tag to specify the reverse db name of an attribute in database.Tag pour specifier de trier les attributs par nom lors de la generation.Tag pour spécifier le type sql d'une propriété dans le mapping hibernate.Deprecated.Tag à placer sur un l'attribut d'une entité. -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends org.nuiton.eugene.models.extension.tagvalue.matcher.TagValueDefinitionMatcher>getName()Class<?>getType()booleanReturns 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.
-
Enum Constant Details
-
persistenceType
Tag pour le type de persistence. -
dbName
Tag pour le nom du champ / entité en BD. -
reverseDbName
Tag to specify the reverse db name of an attribute in database. -
manyToManyTableName
Tag to specify the reverse db name of an attribute in database. -
dbSchema
Tag pour le nom du schema en BD. -
length
Tag pour la taille du champ en BD.- Since:
- 2.5
- See Also:
-
access
Tag pour specfier le type d'acces a un champ.- Since:
- 2.5
- See Also:
-
naturalId
Tag pour ajouter un attribut dans une clef métier.- Since:
- 2.5
- See Also:
-
naturalIdMutable
Tag pour specifier si une clef metier est mutable.- Since:
- 2.5
- See Also:
-
inverse
Tag pour permettre de choisir qui contrôle la relation N-N bidirectionnelle. A utiliser sur les deux extremités de l'association. Mettre inverse=false sur le rôle fils et inverse=true sur le rôle père. Par défaut le inverse=true est placé sur le premier rôle trouvé dans l'ordre alphabétique.- Since:
- 2.5
- See Also:
-
lazy
Tag pour spécifier la caractère lazy d'une association multiple.- Since:
- 2.5
- See Also:
-
fetch
Tag pour spécifier la caractère fetch d'une association multiple.- Since:
- 2.5
- See Also:
-
orderBy
Tag pour spécifier la caractère order-by d'une association multiple.- Since:
- 2.5
- See Also:
-
notNull
Tag pour spécifier la caractère not-null d'un attribut.- Since:
- 2.5
- See Also:
-
useEnumerationName
Tag à placer sur un l'attribut d'une entité. Cet attribut est de type énumération : l'ajout de la tagValue indique qu'il faut utiliser lenamede l'énumération et non l'ordinal pour stocker la valeur en base -
hibernateProxyInterface
Tag pour configurer l'interface du proxy sur autre chose que l'implementation par defaut. Par defaut : null → generere le proxy sur l'interface de l'implementation Autre valeur : "none" → laisse la configuration par defaut d'hibernate- Since:
- 2.5
- See Also:
-
inheritanceStrategy
Tag pour configurer la stategie d'heritage choisie. Par defaut : union-subclass : Table per class strategy Autre valeur : "subclass" → Single table per class hierarchy strategy "joined-subclass" → Joined subclass strategy- Since:
- 3.0
- See Also:
-
sortAttribute
Tag pour specifier de trier les attributs par nom lors de la generation. -
type
Deprecated.since 3.0, use nowhibernateAttributeTypewhich permits to deal the same thing but at also model and classifier scope.Tag pour spécifier le type d'une propriété dans le mapping hibernate.- Since:
- 2.5
- See Also:
-
sqlType
Tag pour spécifier le type sql d'une propriété dans le mapping hibernate.- Since:
- 2.5
- See Also:
-
indexForeignKeys
Stéréotype pour les attributs avec multiplicité nécessitant la création d'un index. -
generateForeignKeyNames
Tag to generate deterministic foreign key names in hibernate mapping files.- Since:
- 3.0.1
- See Also:
-
hibernateAttributeType
Tag to change the type of an attribute in a hibernate mapping. This is a special tagValue that is dynamic. For example to change the typeStringinto hibernate mapping typetext, add this:model.tagValue.hibernateAttributeType.String=text
Before 3.0, you could do the same thing using:model.tagValue.String=text
The new way permits us to validate the usage of the tagValue, old way can't. -
attributeType
Tag to change the type of an attribute. This is a special tagValue that is dynamic. For example to change the typeStringinto typejava.lang.String, add this:model.tagValue.attributeType.String=java.lang.String
Before 3.0, you could do the same thing using:model.tagValue.String=java.lang.String
The new way permits us to validate the usage of the tagValue, old way can't.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getName
- Specified by:
getNamein interfaceorg.nuiton.eugene.models.extension.tagvalue.TagValueMetadata
-
getTargets
- Specified by:
getTargetsin interfaceorg.nuiton.eugene.models.extension.tagvalue.TagValueMetadata
-
getType
- Specified by:
getTypein interfaceorg.nuiton.eugene.models.extension.tagvalue.TagValueMetadata
-
getMatcherClass
public Class<? extends org.nuiton.eugene.models.extension.tagvalue.matcher.TagValueDefinitionMatcher> getMatcherClass()- Specified by:
getMatcherClassin interfaceorg.nuiton.eugene.models.extension.tagvalue.TagValueMetadata
-
getDescription
- Specified by:
getDescriptionin interfaceorg.nuiton.eugene.models.extension.tagvalue.TagValueMetadata
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceorg.nuiton.eugene.models.extension.tagvalue.TagValueMetadata
-
isDeprecated
public boolean isDeprecated()- Specified by:
isDeprecatedin interfaceorg.nuiton.eugene.models.extension.tagvalue.TagValueMetadata
-
hibernateAttributeTypewhich permits to deal the same thing but at also model and classifier scope.