com.supermap.services.rest.repository
Class CollectionBox
- java.lang.Object
-
- com.supermap.services.rest.repository.CollectionBox
-
- Direct Known Subclasses:
- CollectionBox.ArrayBox, CollectionBox.ListBox, CollectionBox.SetBox
public abstract class CollectionBox extends java.lang.ObjectArray-to-list mapping
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classCollectionBox.ArrayBoxstatic classCollectionBox.CollectionTypestatic classCollectionBox.ListBoxstatic classCollectionBox.SetBox
-
Field Summary
Fields Modifier and Type Field and Description CollectionBox.CollectionTypecollectionType
-
Constructor Summary
Constructors Constructor and Description CollectionBox()CollectionBox(CollectionBox.CollectionType collectionType)
-
Method Summary
Methods Modifier and Type Method and Description static CollectionBoxfrom(java.lang.Object collection)static java.lang.Class<? extends CollectionBox>getClass(java.lang.String classStr)static booleansuitable(java.lang.Object obj)abstract java.lang.Objectto()
-
-
-
Field Detail
-
collectionType
public CollectionBox.CollectionType collectionType
-
-
Constructor Detail
-
CollectionBox
public CollectionBox()
-
CollectionBox
public CollectionBox(CollectionBox.CollectionType collectionType)
-
-
Method Detail
-
suitable
public static boolean suitable(java.lang.Object obj)
-
from
public static CollectionBox from(java.lang.Object collection)
-
getClass
public static java.lang.Class<? extends CollectionBox> getClass(java.lang.String classStr)
-
to
public abstract java.lang.Object to()
-
-