java.lang.Object
org.opencastproject.mediapackage.identifier.IdImpl
All Implemented Interfaces:
Id

public class IdImpl extends Object implements Id
Simple and straightforward implementation of the Id interface.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.opencastproject.mediapackage.identifier.Id

    Id.Adapter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    The identifier
  • Constructor Summary

    Constructors
    Constructor
    Description
    Needed for JAXB serialization
    Creates a new identifier.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    static Id
    Generate a new UUID-based Id.
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • id

      protected String id
      The identifier
  • Constructor Details

    • IdImpl

      public IdImpl()
      Needed for JAXB serialization
    • IdImpl

      public IdImpl(String id)
      Creates a new identifier.
      Parameters:
      id - the identifier
  • Method Details