Class InumGenerator


  • @ApplicationScoped
    public class InumGenerator
    extends java.lang.Object
    Inum ID generator. Generates inum: e.g. @!1111!0001!1234.
    Version:
    0.9, 26/06/2013
    Author:
    Yuriy Zabrovarnyy
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SEPARATOR  
    • Constructor Summary

      Constructors 
      Constructor Description
      InumGenerator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String baseDn​(IdType p_type)  
      boolean contains​(java.lang.String inum, IdType type)  
      java.lang.String generateId​(java.lang.String p_idType, java.lang.String p_idPrefix)  
      java.lang.String generateId​(IdType p_idType, java.lang.String p_idPrefix)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InumGenerator

        public InumGenerator()
    • Method Detail

      • generateId

        public java.lang.String generateId​(java.lang.String p_idType,
                                           java.lang.String p_idPrefix)
      • generateId

        public java.lang.String generateId​(IdType p_idType,
                                           java.lang.String p_idPrefix)
      • contains

        public boolean contains​(java.lang.String inum,
                                IdType type)
      • baseDn

        public java.lang.String baseDn​(IdType p_type)