com.supermap.services.rest.repository

Class EnumBox

  • java.lang.Object
    • com.supermap.services.rest.repository.EnumBox


  • public class EnumBox
    extends java.lang.Object
    
    Enum encapsulation class, partial enumeration and deserialization enumeration
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      java.lang.Class componentType 
      java.lang.Object enumValue 
    • Constructor Summary

      Constructors 
      Constructor and Description
      EnumBox() 
      EnumBox(java.lang.Class componentType, java.lang.Object value) 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static EnumBox from(java.lang.Object obj) 
      static boolean suitable(java.lang.Object obj) 
      java.lang.Object to() 
      • Methods inherited from class java.lang.Object

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

      • componentType

        public java.lang.Class componentType
        
      • enumValue

        public java.lang.Object enumValue
        
    • Constructor Detail

      • EnumBox

        public EnumBox()
        
      • EnumBox

        public EnumBox(java.lang.Class componentType,
               java.lang.Object value)
        
    • Method Detail

      • to

        public java.lang.Object to()
        
      • suitable

        public static boolean suitable(java.lang.Object obj)
        
      • from

        public static EnumBox from(java.lang.Object obj)