Class CreateProfileModel
java.lang.Object
fr.gouv.vitam.common.model.administration.profile.CreateProfileModel
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected @NotNull ProfileFormat
protected String
protected @NotBlank String
protected ProfileSedaVersion
protected ProfileStatus
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the profile descriptionGet the format of the profile file (xsd, rng, ...)Get the identifier of the profilegetName()
Get name of the profileGet the profile seda versionGet the profile statussetDescription
(String description) Set or change the profile descriptionsetFormat
(ProfileFormat format) Set the profile file format (xsd, rng, ...)setIdentifier
(String identifier) Set the identifier of the profile This value must be unique by tenantSet or change the profile namesetSedaVersion
(ProfileSedaVersion sedaVersion) Set the profile seda version (2.1, 2.2, 2.3, ...)setStatus
(ProfileStatus status) Set or change the profile status
-
Field Details
-
TAG_IDENTIFIER
- See Also:
-
TAG_NAME
- See Also:
-
TAG_DESCRIPTION
- See Also:
-
TAG_STATUS
- See Also:
-
TAG_FORMAT
- See Also:
-
TAG_SEDA_VERSION
- See Also:
-
identifier
-
name
-
description
-
status
-
format
-
sedaVersion
-
-
Constructor Details
-
CreateProfileModel
public CreateProfileModel()
-
-
Method Details
-
getIdentifier
Get the identifier of the profile- Returns:
- identifier as String
-
setIdentifier
Set the identifier of the profile This value must be unique by tenant- Parameters:
identifier
- as String- Returns:
- this
-
getName
Get name of the profile- Returns:
- name as String
-
setName
Set or change the profile name- Parameters:
name
- as String to set- Returns:
- this
-
getDescription
Get the profile description- Returns:
- description of profile
-
setDescription
Set or change the profile description- Parameters:
description
- to set- Returns:
- this
-
getStatus
Get the profile status- Returns:
- status of profile
-
setStatus
Set or change the profile status- Parameters:
status
- toi set- Returns:
- this
-
getFormat
Get the format of the profile file (xsd, rng, ...)- Returns:
- the file format as string
-
setFormat
Set the profile file format (xsd, rng, ...)- Parameters:
format
- a file format- Returns:
- this
-
getSedaVersion
Get the profile seda version- Returns:
- the profile seda version
-
setSedaVersion
Set the profile seda version (2.1, 2.2, 2.3, ...)- Parameters:
sedaVersion
- a profile seda version- Returns:
- this
-