de.esprit.appsuite.type

## Interface PersistentName

- All Known Subinterfaces:
    EspritPermission, EspritPermissionOwner, Group, User
  All Known Implementing Classes:
    ABOPermission, AbstractDatabaseGroup, AbstractDatabaseUser, AbstractGroup, AbstractUser, BatchTaskManagerPermission, CommandLineOptionDataType, Country, DatabaseManagerPermission, DatabaseUser, DBGroup, DefaultGroup, DefaultUser, JavaTechnology, JavaVmType, Language, SessionManagerPermission, StandardDirectoryPermission, StandardEspritPermission, StandardFilePermission, UserId, UserManagerPermission

      public interface PersistentName

  This interface should be implemented by enums which store a String value for database of file persistence. Once defined this String value should NEVER CHANGE even if new enum constants are added or modified.
  Author:
    Rainer Buesch

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getPersistentName()` Returns the String value to be stored in the database or file.

- - ### Method Detail

    - #### getPersistentName

          java.lang.String getPersistentName()

      Returns the String value to be stored in the database or file. Note that the implementing Enum must also have a static method named fromPersistentName(String). This ensures that the Enum can be instantiated from the String read from database or file.

Copyright © 2014 EsprIT-Systems. All Rights Reserved.