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
    • Method Detail

      • 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: