Class TaskAttribute


  • public final class TaskAttribute
    extends Object
    Attribut d'une tache. Il s'agit soit : - d'un type primitif - d'un type complexe : DTO ou DTC Dans tous les cas il s'agit d'un io.vertigo.dynamo.domain.metamodel.Domain. Le paramètre peut être : - obligatoire ou facultatif
    Author:
    fconstantin, pchretien
    • Method Detail

      • getName

        public String getName()
        Returns:
        the name of the attribute.
      • getSmartTypeDefinition

        public SmartTypeDefinition getSmartTypeDefinition()
        Returns:
        Domain the domain
      • getCardinality

        public io.vertigo.core.lang.Cardinality getCardinality()
        Returns:
        if the attribute cardinality
      • checkAttribute

        public void checkAttribute​(Object value)
        Vérifie la cohérence des arguments d'un Attribute Vérifie que l'objet est cohérent avec le type défini sur l'attribut.
        Parameters:
        value - Valeur (Object primitif ou DtObject ou bien DtList)
      • getTargetJavaClass

        public Class getTargetJavaClass()
        Returns the class that holds the value of the field. If cardinality is many it's either a list or a dtList, if not then it's the base type of the domain.
        Returns:
        the data accessor.