Class CreateProfileModel

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

public class CreateProfileModel extends Object
  • Field Details

  • Constructor Details

    • CreateProfileModel

      public CreateProfileModel()
  • Method Details

    • getIdentifier

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

      public CreateProfileModel 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 CreateProfileModel 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 CreateProfileModel 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 CreateProfileModel 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 CreateProfileModel setFormat(ProfileFormat format)
      Set the profile file format (xsd, rng, ...)
      Parameters:
      format - a file format
      Returns:
      this
    • getSedaVersion

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

      public CreateProfileModel setSedaVersion(ProfileSedaVersion sedaVersion)
      Set the profile seda version (2.1, 2.2, 2.3, ...)
      Parameters:
      sedaVersion - a profile seda version
      Returns:
      this