java.lang.Object
fr.gouv.vitam.common.model.administration.profile.ProfileModel

public class ProfileModel extends Object
Data Transfer Object Model of Profile (DTO).
  • Field Details

  • Constructor Details

    • ProfileModel

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

      public ProfileModel(CreateProfileModel createProfileModel)
  • Method Details

    • getId

      public String getId()
      Returns:
      id
    • setId

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

      public Integer getTenant()
      Returns:
      tenant
    • setTenant

      public ProfileModel setTenant(Integer tenant)
      Parameters:
      tenant - value to set working tenant
      Returns:
      this
    • getVersion

      public Integer getVersion()
      Returns:
      version
    • setVersion

      public void setVersion(Integer version)
      Parameters:
      version - to set
    • getIdentifier

      public String getIdentifier()
      Get the identifier of the profile
      Returns:
      identifier as String
    • setIdentifier

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

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

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

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

      public ProfileModel setDescription(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 - to set
      Returns:
      this
    • getSedaVersion

      public ProfileSedaVersion getSedaVersion()
      Get the profile seda version
      Returns:
      the profile seda version
    • setSedaVersion

      public ProfileModel setSedaVersion(ProfileSedaVersion sedaVersion)
      Set the profile seda version (2.1, 2.2, 2.3, ...)
      Parameters:
      sedaVersion - to set
      Returns:
      this
    • getPath

      public String getPath()
      Returns:
      path as String
    • setPath

      public ProfileModel setPath(String path)
      Profile path in storage
      Parameters:
      path - to set
      Returns:
      this
    • getCreationDate

      public String getCreationDate()
      Returns:
      the creation date of profile
    • setCreationDate

      public ProfileModel setCreationDate(String creationDate)
      Parameters:
      creationDate - to set
      Returns:
      this
    • getLastUpdate

      public String getLastUpdate()
      Returns:
      last update of profile
    • setLastUpdate

      public ProfileModel setLastUpdate(String lastUpdate)
      Parameters:
      lastUpdate - to set
      Returns:
      this
    • getActivationDate

      public String getActivationDate()
      Returns:
      the activation date of profile
    • setActivationDate

      public ProfileModel setActivationDate(String activationDate)
      Parameters:
      activationDate - to set
      Returns:
      this
    • getDeactivationDate

      public String getDeactivationDate()
      Returns:
      the desactivation date of profile
    • setDeactivationDate

      public ProfileModel setDeactivationDate(String deactivationDate)
      Parameters:
      deactivationDate - to set
      Returns:
      this