Class ProfileModel


  • public class ProfileModel
    extends java.lang.Object
    Data Transfer Object Model of Profile (DTO).
    • Constructor Detail

      • ProfileModel

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

      • getId

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

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

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

        public ProfileModel 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 profile
        Returns:
        identifier as String
      • setIdentifier

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

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

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

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

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

        public ProfileStatus getStatus()
        Get the profile status
        Returns:
        status of profile
      • setStatus

        public ProfileModel setStatus​(ProfileStatus status)
        Set or change the profile status
        Parameters:
        status - toi set
        Returns:
        this
      • getFormat

        public ProfileFormat getFormat()
        Get the format of the profile file (xsd, rng, ...)
        Returns:
        the file format as string
      • setFormat

        public ProfileModel setFormat​(ProfileFormat format)
        Set the profile file format (xsd, rng, ...)
        Parameters:
        format -
        Returns:
        this
      • getPath

        public java.lang.String getPath()
        Returns:
        path as String
      • setPath

        public ProfileModel setPath​(java.lang.String path)
        Profile path in storage
        Parameters:
        path -
        Returns:
        this
      • getCreationdate

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

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

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

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

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

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

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

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