Class DataDefinition
java.lang.Object
io.vertigo.core.node.definition.AbstractDefinition<DataDefinition>
io.vertigo.datamodel.data.definitions.DataDefinition
- All Implemented Interfaces:
io.vertigo.core.node.definition.Definition
public final class DataDefinition
extends io.vertigo.core.node.definition.AbstractDefinition<DataDefinition>
The DtDefinition class defines the definition of data.
- Author:
- pchretien
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic DataDefinitionBuilderStatic method factory for DataDefinitionBuilderbooleangetField(DataFieldName fieldName) Retourne le champ correspondant SOUS CONDITION qu'il existe sinon assertion.Retourne le champ correspondant SOUS CONDITION qu'il existe sinon assertion.booleanGestion de la persistance.Methods inherited from class io.vertigo.core.node.definition.AbstractDefinition
idMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertigo.core.node.definition.Definition
getName
-
Field Details
-
PREFIX
- See Also:
-
REGEX_DATA_SPACE
the dataSpace must match this pattern. -
DEFAULT_DATA_SPACE
- See Also:
-
-
Method Details
-
builder
Static method factory for DataDefinitionBuilder- Parameters:
name- the name of the dataDefinition- Returns:
- DtDefinitionBuilder
-
getFragment
-
getStereotype
- Returns:
- Stereotype du Dt
-
getClassCanonicalName
- Returns:
- Nom canonique (i.e. avec le package) de la classe d'implémentation du DtObject
-
getClassSimpleName
- Returns:
- Simple Nom (i.e. sans le package) de la classe d'implémentation du DtObject
-
getPackageName
- Returns:
- the name of the package
-
getField
Retourne le champ correspondant SOUS CONDITION qu'il existe sinon assertion.- Parameters:
fieldName- Nom du champ- Returns:
- Champ correspondant
-
getField
Retourne le champ correspondant SOUS CONDITION qu'il existe sinon assertion.- Parameters:
fieldName- Nom du champ- Returns:
- Champ correspondant
-
contains
- Parameters:
fieldName- FieldName- Returns:
- if this field exists in this DtDefinition
-
getFields
- Returns:
- Collection des champs.
-
getIdField
- Returns:
- Champ identifiant l'identifiant
-
isPersistent
public boolean isPersistent()Gestion de la persistance.- Returns:
- Si la définition est persistée.
-
getDisplayField
- Returns:
- Champ représentant l'affichage
-
getSortField
- Returns:
- Champ représentant le tri
-
getHandleField
- Returns:
- Champ représentant le handle
-
getKeyField
- Returns:
- Champ représentant le champ servant de clé pour différencier localement les éléments d'une collection
-
getDataSpace
- Returns:
- the dataSpace
-