com.supermap.services.rest.repository
Class EnumBox
- java.lang.Object
-
- com.supermap.services.rest.repository.EnumBox
-
public class EnumBox extends java.lang.ObjectEnum encapsulation class, partial enumeration and deserialization enumeration
-
-
Field Summary
Fields Modifier and Type Field and Description java.lang.ClasscomponentTypejava.lang.ObjectenumValue
-
Constructor Summary
Constructors Constructor and Description EnumBox()EnumBox(java.lang.Class componentType, java.lang.Object value)
-
-
-
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)
-
-