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) |
<ISM extends org.gcube.informationsystem.base.reference.Element> |
read(Class<ISM> 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.schema.SchemaException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
create in interface ResourceRegistrySchemaClientorg.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String create(String typeDefinitition) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
create in interface ResourceRegistrySchemaClientorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextAlreadyPresentExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic <ISM extends org.gcube.informationsystem.base.reference.Element> List<org.gcube.informationsystem.types.reference.Type> read(Class<ISM> clz, Boolean polymorphic) throws org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
read in interface ResourceRegistrySchemaClientorg.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionpublic String read(String typeName, Boolean polymorphic) throws org.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundException, org.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryException
read in interface ResourceRegistrySchemaClientorg.gcube.informationsystem.resourceregistry.api.exceptions.context.ContextNotFoundExceptionorg.gcube.informationsystem.resourceregistry.api.exceptions.ResourceRegistryExceptionCopyright © 2020. All Rights Reserved.