Class ProfileModel
java.lang.Object
fr.gouv.vitam.common.model.administration.profile.ProfileModel
Data Transfer Object Model of Profile (DTO).
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
protected String
protected ProfileFormat
protected String
static final String
protected String
protected ProfileSedaVersion
protected ProfileStatus
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
ConstructorDescriptionConstructor without fields use for jacksonProfileModel
(CreateProfileModel createProfileModel) -
Method Summary
Modifier and TypeMethodDescriptionGet the profile descriptionGet the format of the profile file (xsd, rng, ...)getId()
Get the identifier of the profilegetName()
Get name of the profilegetPath()
Get the profile seda versionGet the profile statussetActivationDate
(String activationDate) setCreationDate
(String creationDate) setDeactivationDate
(String deactivationDate) setDescription
(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 tenantsetLastUpdate
(String lastUpdate) Set or change the profile nameProfile path in storagesetSedaVersion
(ProfileSedaVersion sedaVersion) Set the profile seda version (2.1, 2.2, 2.3, ...)setStatus
(ProfileStatus status) Set or change the profile statusvoid
setVersion
(Integer version)
-
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:
-
TAG_PATH
- See Also:
-
CREATION_DATE
- See Also:
-
LAST_UPDATE
- See Also:
-
ACTIVATION_DATE
- See Also:
-
DEACTIVATION_DATE
- See Also:
-
identifier
-
name
-
description
-
status
-
format
-
sedaVersion
-
-
Constructor Details
-
ProfileModel
public ProfileModel()Constructor without fields use for jackson -
ProfileModel
-
-
Method Details
-
getId
- Returns:
- id
-
setId
- Parameters:
id
- value to set field- Returns:
- this
-
getTenant
- Returns:
- tenant
-
setTenant
- Parameters:
tenant
- value to set working tenant- Returns:
- this
-
getVersion
- Returns:
- version
-
setVersion
- Parameters:
version
- to set
-
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
- to set- 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
- to set- Returns:
- this
-
getPath
- Returns:
- path as String
-
setPath
Profile path in storage- Parameters:
path
- to set- Returns:
- this
-
getCreationDate
- Returns:
- the creation date of profile
-
setCreationDate
- Parameters:
creationDate
- to set- Returns:
- this
-
getLastUpdate
- Returns:
- last update of profile
-
setLastUpdate
- Parameters:
lastUpdate
- to set- Returns:
- this
-
getActivationDate
- Returns:
- the activation date of profile
-
setActivationDate
- Parameters:
activationDate
- to set- Returns:
- this
-
getDeactivationDate
- Returns:
- the desactivation date of profile
-
setDeactivationDate
- Parameters:
deactivationDate
- to set- Returns:
- this
-