Class AgenciesModel
- java.lang.Object
-
- fr.gouv.vitam.common.model.administration.AgenciesModel
-
public class AgenciesModel extends java.lang.Object
Data Transfer Object Model of Agency
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TAG_DESCRIPTION
static java.lang.String
TAG_IDENTIFIER
static java.lang.String
TAG_NAME
-
Constructor Summary
Constructors Constructor Description AgenciesModel()
empty constructorAgenciesModel(java.lang.String identifier, java.lang.String name, java.lang.String description, int tenant)
Constructor of AgencyModel
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getDescription()
java.lang.String
getId()
java.lang.String
getIdentifier()
java.lang.String
getName()
java.lang.Integer
getTenant()
java.lang.Integer
getVersion()
int
hashCode()
AgenciesModel
setDescription(java.lang.String description)
AgenciesModel
setId(java.lang.String id)
AgenciesModel
setIdentifier(java.lang.String identifier)
void
setName(java.lang.String name)
AgenciesModel
setTenant(java.lang.Integer tenant)
void
setVersion(java.lang.Integer version)
-
-
-
Field Detail
-
TAG_NAME
public static final java.lang.String TAG_NAME
- See Also:
- Constant Field Values
-
TAG_IDENTIFIER
public static final java.lang.String TAG_IDENTIFIER
- See Also:
- Constant Field Values
-
TAG_DESCRIPTION
public static final java.lang.String TAG_DESCRIPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
- Returns:
- id
-
setId
public AgenciesModel setId(java.lang.String id)
- Parameters:
id
-- Returns:
- AgencyModel
-
getTenant
public java.lang.Integer getTenant()
- Returns:
- tenant
-
setTenant
public AgenciesModel 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
-
-
getName
public java.lang.String getName()
- Returns:
- name
-
setName
public void setName(java.lang.String name)
- Parameters:
name
-
-
getIdentifier
public java.lang.String getIdentifier()
- Returns:
- identifier
-
setIdentifier
public AgenciesModel setIdentifier(java.lang.String identifier)
- Parameters:
identifier
-- Returns:
- AgencyModel
-
getDescription
public java.lang.String getDescription()
- Returns:
- last update of Agency
-
setDescription
public AgenciesModel setDescription(java.lang.String description)
- Parameters:
description
- to set- Returns:
- this
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-