Interface Identifier

All Superinterfaces:
Serializable
All Known Implementing Classes:
AnnotatedTypeIdentifier

public interface Identifier extends Serializable
Marker interface for an identifier. The identifier has to be mutable and serializable.
Author:
Jozef Hartinger
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    String representation of this identifier.
  • Field Details

  • Method Details

    • asString

      String asString()
      String representation of this identifier. This is required as some parts of the CDI API use String identifiers, for example PassivationCapable.getId(). Unlike #toString(), this method returns a non-verbose canonical string identifier.
      Returns: