public class ResourceRegistrySchemaClientImpl extends Object implements ResourceRegistrySchemaClient
| Constructor and Description |
|---|
ResourceRegistrySchemaClientImpl(String address) |
| Modifier and Type | Method and Description |
|---|---|
<E extends org.gcube.informationsystem.base.reference.Element> |
create(Class<E> clz) |
String |
create(String typeDefinitition) |
<E extends org.gcube.informationsystem.base.reference.Element> |
exist(Class<E> clz) |
boolean |
exist(String typeName) |
<E extends org.gcube.informationsystem.base.reference.Element> |
read(Class<E> clz,
Boolean polymorphic) |
String |
read(String typeName,
Boolean polymorphic) |
protected final String address
public ResourceRegistrySchemaClientImpl(String address)
public <E extends org.gcube.informationsystem.base.reference.Element> org.gcube.informationsystem.types.reference.Type create(Class<E> clz) throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
create in interface ResourceRegistrySchemaClientorg.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String create(String typeDefinitition) throws org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextAlreadyPresentException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
create in interface ResourceRegistrySchemaClientorg.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.base.reference.Element> boolean exist(Class<E> clz) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
exist in interface ResourceRegistrySchemaClientorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic boolean exist(String typeName) throws org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
exist in interface ResourceRegistrySchemaClientorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <E extends org.gcube.informationsystem.base.reference.Element> List<org.gcube.informationsystem.types.reference.Type> read(Class<E> clz, Boolean polymorphic) throws org.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
read in interface ResourceRegistrySchemaClientorg.gcube.informationsystem.resourceregistry.api.exceptions.types.SchemaNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String read(String typeName, Boolean polymorphic) throws org.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
read in interface ResourceRegistrySchemaClientorg.gcube.informationsystem.resourceregistry.api.exceptions.contexts.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2022. All Rights Reserved.