# Uses of Class
fr.gouv.vitam.common.ServerIdentity

Packages that use ServerIdentity
Package
Description
fr.gouv.vitam.common
General utility classes as FileUtil, SystemPropertyUtil and UUID support

- ## Uses of ServerIdentity in fr.gouv.vitam.common

  Methods in fr.gouv.vitam.common that return ServerIdentity
  Modifier and Type
  Method
  Description
  `static final ServerIdentity`
  ServerIdentity.`getInstance()`
  `final ServerIdentity`
  ServerIdentity.`setFromMap(Map<String,Object> map)`
  Assign the ServerIdentity from a Map where Key are elements from MAP_KEYNAME.
  `final ServerIdentity`
  ServerIdentity.`setFromPropertyFile(File propertiesFile)`
  Assign the ServerIdentity from a Property file where Key are elements from MAP_KEYNAME.
  `final ServerIdentity`
  ServerIdentity.`setFromYamlFile(File yamlFile)`
  Assign the ServerIdentity from a Yaml file where Key are elements from MAP_KEYNAME.
  `final ServerIdentity`
  ServerIdentity.`setName(String name)`
  `final ServerIdentity`
  ServerIdentity.`setRole(String role)`
  `final ServerIdentity`
  ServerIdentity.`setServerId(int serverId)`
  The PlatformId is a unique name per site (each of the 3 sites of Vitam should have a different id).
  `final ServerIdentity`
  ServerIdentity.`setSiteId(int siteId)`
  Set the SideID