Class ProfileModel
- java.lang.Object
-
- fr.gouv.vitam.common.model.administration.ProfileModel
-
public class ProfileModel extends java.lang.Object
Data Transfer Object Model of Profile (DTO).
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTIVATION_DATE
static java.lang.String
CREATION_DATE
static java.lang.String
DEACTIVATION_DATE
static java.lang.String
LAST_UPDATE
static java.lang.String
TAG_DESCRIPTION
static java.lang.String
TAG_FORMAT
static java.lang.String
TAG_IDENTIFIER
static java.lang.String
TAG_NAME
static java.lang.String
TAG_PATH
static java.lang.String
TAG_STATUS
-
Constructor Summary
Constructors Constructor Description ProfileModel()
Constructor without fields use for jackson
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getActivationdate()
java.lang.String
getCreationdate()
java.lang.String
getDeactivationdate()
java.lang.String
getDescription()
Get the profile descriptionProfileFormat
getFormat()
Get the format of the profile file (xsd, rng, ...)java.lang.String
getId()
java.lang.String
getIdentifier()
Get the identifier of the profilejava.lang.String
getLastupdate()
java.lang.String
getName()
Get name of the profilejava.lang.String
getPath()
ProfileStatus
getStatus()
Get the profile statusjava.lang.Integer
getTenant()
java.lang.Integer
getVersion()
ProfileModel
setActivationdate(java.lang.String activationdate)
ProfileModel
setCreationdate(java.lang.String creationdate)
ProfileModel
setDeactivationdate(java.lang.String deactivationdate)
ProfileModel
setDescription(java.lang.String description)
Set or change the profile descriptionProfileModel
setFormat(ProfileFormat format)
Set the profile file format (xsd, rng, ...)ProfileModel
setId(java.lang.String id)
ProfileModel
setIdentifier(java.lang.String identifier)
Set the identifier of the profile This value must be unique by tenantProfileModel
setLastupdate(java.lang.String lastupdate)
ProfileModel
setName(java.lang.String name)
Set or change the profile nameProfileModel
setPath(java.lang.String path)
Profile path in storageProfileModel
setStatus(ProfileStatus status)
Set or change the profile statusProfileModel
setTenant(java.lang.Integer tenant)
void
setVersion(java.lang.Integer version)
-
-
-
Field Detail
-
TAG_IDENTIFIER
public static final java.lang.String TAG_IDENTIFIER
- See Also:
- Constant Field Values
-
TAG_NAME
public static final java.lang.String TAG_NAME
- See Also:
- Constant Field Values
-
TAG_DESCRIPTION
public static final java.lang.String TAG_DESCRIPTION
- See Also:
- Constant Field Values
-
TAG_STATUS
public static final java.lang.String TAG_STATUS
- See Also:
- Constant Field Values
-
TAG_FORMAT
public static final java.lang.String TAG_FORMAT
- See Also:
- Constant Field Values
-
TAG_PATH
public static final java.lang.String TAG_PATH
- See Also:
- Constant Field Values
-
CREATION_DATE
public static final java.lang.String CREATION_DATE
- See Also:
- Constant Field Values
-
LAST_UPDATE
public static final java.lang.String LAST_UPDATE
- See Also:
- Constant Field Values
-
ACTIVATION_DATE
public static final java.lang.String ACTIVATION_DATE
- See Also:
- Constant Field Values
-
DEACTIVATION_DATE
public static final java.lang.String DEACTIVATION_DATE
- See Also:
- Constant Field Values
-
-
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
-
-