Class Enumeration.Child

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Set<java.lang.String> states  
      private java.lang.String value  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Child​(java.util.Set<java.lang.String> states)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String get()
      Get the state.
      void state​(java.lang.Enum e)
      Set the state.
      void state​(java.lang.String s)
      Set the state.
      • Methods inherited from class java.lang.Object

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

      • value

        private java.lang.String value
      • states

        private final java.util.Set<java.lang.String> states
    • Constructor Detail

      • Child

        private Child​(java.util.Set<java.lang.String> states)
    • Method Detail

      • state

        public void state​(java.lang.String s)
        Set the state.
      • state

        public void state​(java.lang.Enum e)
        Set the state.
      • get

        public java.lang.String get()
        Get the state.