public abstract class KmipObject extends Object implements KmipStruct
| Constructor and Description |
|---|
KmipObject() |
| Modifier and Type | Method and Description |
|---|---|
protected static <T extends KmipObject> |
fromJson(String json,
Class<T> clazz) |
static <C extends KmipObject> |
getObjectClass(ObjectType objectType)
Helper function to retrieve the KMIP Object class from its
ObjectType |
abstract ObjectType |
getObjectType() |
String |
toJson()
This method is mostly used for local tests and serialization.
|
public abstract ObjectType getObjectType()
public String toJson() throws CloudproofException
CloudproofException - if the serialization failsprotected static <T extends KmipObject> T fromJson(String json, Class<T> clazz) throws CloudproofException
CloudproofExceptionpublic static <C extends KmipObject> Class<C> getObjectClass(ObjectType objectType)
ObjectTypeC - the KmipObjectobjectType - the ObjectTypeCopyright © 2023. All rights reserved.