Class MIdElement

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String id
      The id.
      protected static IdGenerator ID_GENERATOR
      ID generator.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected MIdElement()
      Generates an ID element.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getId()
      Get the id.
      int hashCode()  
      void setId​(java.lang.String id)
      Set the id.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ID_GENERATOR

        protected static final IdGenerator ID_GENERATOR
        ID generator.
      • id

        protected java.lang.String id
        The id.
    • Constructor Detail

      • MIdElement

        protected MIdElement()
        Generates an ID element.
    • Method Detail

      • getId

        public java.lang.String getId()
        Get the id.
        Returns:
        The id.
      • setId

        public void setId​(java.lang.String id)
        Set the id.
        Parameters:
        id - the id to set.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object