public class TypeBinder extends Object
| Constructor and Description |
|---|
TypeBinder() |
| Modifier and Type | Method and Description |
|---|---|
static <ISM extends ISManageable> |
createTypeDefinition(Class<ISM> clz) |
static <ISM extends ISManageable> |
deserializeTypeDefinition(String json) |
static <ISM extends ISManageable> |
deserializeTypeDefinitions(String json) |
static String |
getStaticStringFieldByName(Class<? extends ISManageable> type,
String fieldName,
String defaultValue) |
static String |
getType(Class<? extends ISManageable> clz) |
static <ISM extends ISManageable> |
serializeType(Class<ISM> type) |
static <ISM extends ISManageable> |
serializeTypeDefinition(TypeDefinition<ISM> typeDefinition) |
static <ISM extends ISManageable> |
serializeTypeDefinitions(List<TypeDefinition<ISM>> typeDefinitions) |
public static <ISM extends ISManageable> String serializeTypeDefinition(TypeDefinition<ISM> typeDefinition) throws Exception
Exceptionpublic static <ISM extends ISManageable> String serializeType(Class<ISM> type) throws Exception
Exceptionpublic static <ISM extends ISManageable> TypeDefinition<ISM> deserializeTypeDefinition(String json) throws Exception
Exceptionpublic static <ISM extends ISManageable> String serializeTypeDefinitions(List<TypeDefinition<ISM>> typeDefinitions) throws Exception
Exceptionpublic static <ISM extends ISManageable> List<TypeDefinition<ISM>> deserializeTypeDefinitions(String json) throws Exception
Exceptionpublic static <ISM extends ISManageable> TypeDefinition<ISM> createTypeDefinition(Class<ISM> clz)
public static String getType(Class<? extends ISManageable> clz)
public static String getStaticStringFieldByName(Class<? extends ISManageable> type, String fieldName, String defaultValue)
Copyright © 2019. All Rights Reserved.