Class AbstractContractModel

    • Constructor Detail

      • AbstractContractModel

        public AbstractContractModel()
        Constructor without fields use for jackson
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns:
        id
      • setId

        public AbstractContractModel setId​(java.lang.String id)
        Parameters:
        id - value to set field
        Returns:
        this
      • getTenant

        public java.lang.Integer getTenant()
        Returns:
        tenant
      • setTenant

        public AbstractContractModel setTenant​(java.lang.Integer tenant)
        Parameters:
        tenant - value to set working tenant
        Returns:
        this
      • getVersion

        public java.lang.Integer getVersion()
        Returns:
        version
      • setVersion

        public void setVersion​(java.lang.Integer version)
        Parameters:
        version -
      • getIdentifier

        public java.lang.String getIdentifier()
        Get the identifier of the contract
        Returns:
        String
      • setIdentifier

        public AbstractContractModel setIdentifier​(java.lang.String identifier)
        Set the identifier of the contract This value must be unique by tenant
        Parameters:
        identifier - as String
        Returns:
        this
      • getName

        public java.lang.String getName()
        Get name of the contract
        Returns:
        name as String
      • setName

        public AbstractContractModel setName​(java.lang.String name)
        Set or change the contract name
        Parameters:
        name - as String to set
        Returns:
        this
      • getDescription

        public java.lang.String getDescription()
        Get the contract description
        Returns:
        description of contract
      • setDescription

        public AbstractContractModel setDescription​(java.lang.String description)
        Set or change the contract description
        Parameters:
        description - to set
        Returns:
        this
      • getStatus

        public ActivationStatus getStatus()
        Get the contract status
        Returns:
        status of contract
      • getCreationdate

        public java.lang.String getCreationdate()
        Returns:
        the creation date of contract
      • setCreationdate

        public AbstractContractModel setCreationdate​(java.lang.String creationdate)
        Parameters:
        creationdate - to set
        Returns:
        this
      • getLastupdate

        public java.lang.String getLastupdate()
        Returns:
        last update of contract
      • setLastupdate

        public AbstractContractModel setLastupdate​(java.lang.String lastupdate)
        Parameters:
        lastupdate - to set
        Returns:
        this
      • getActivationdate

        public java.lang.String getActivationdate()
        Returns:
        the activation date of contracr
      • setActivationdate

        public AbstractContractModel setActivationdate​(java.lang.String activationdate)
        Parameters:
        activationdate - to set
        Returns:
        this
      • getDeactivationdate

        public java.lang.String getDeactivationdate()
        Returns:
        the desactivation date of contract
      • setDeactivationdate

        public AbstractContractModel setDeactivationdate​(java.lang.String deactivationdate)
        Parameters:
        deactivationdate - to set
        Returns:
        this