public interface ITypeRegistry
Modifier and Type | Method and Description |
---|---|
void |
createTypeDefinition(String typeIdentifier,
TypeDefinition typeDefinition) |
EntityClass |
determineEntityClass(String identifier)
Determines whether the given identifier references a property or type.
|
boolean |
isTypeRegistryPID(String pid)
Determines whether the given PID is an identifier in the type registry.
|
Object |
query(String identifier)
Generic query method.
|
PropertyDefinition |
queryPropertyDefinition(String propertyIdentifier)
Retrieves a property definition by its unique identifier.
|
List<PropertyDefinition> |
queryPropertyDefinitionByName(String propertyName)
Retrieves a property definition by its property name.
|
TypeDefinition |
queryTypeDefinition(String typeIdentifier)
Queries a type definition record from the type registry.
|
void |
removePropertyDefinition(String propertyIdentifier)
Removes the property definition with given PID.
|
PropertyDefinition queryPropertyDefinition(String propertyIdentifier) throws IOException
propertyIdentifier
- IOException
- on communication errors with a remote registryList<PropertyDefinition> queryPropertyDefinitionByName(String propertyName) throws IOException
propertyName
- IOException
- on communication errors with a remote registryvoid removePropertyDefinition(String propertyIdentifier) throws IOException
propertyIdentifier
- IOException
- on communication errors with a remote registryTypeDefinition queryTypeDefinition(String typeIdentifier) throws IOException
typeIdentifier
- IOException
- on communication errors with a remote registryvoid createTypeDefinition(String typeIdentifier, TypeDefinition typeDefinition)
Object query(String identifier) throws com.fasterxml.jackson.core.JsonProcessingException, IOException
identifier
- IOException
com.fasterxml.jackson.core.JsonProcessingException
boolean isTypeRegistryPID(String pid)
pid
- EntityClass determineEntityClass(String identifier) throws IOException
identifier
- EntityClass
IOException
- on communication errors with a remote registryCopyright © 2014. All rights reserved.