public class HGTypeConfiguration
extends java.lang.Object
This class encapsulates startup configuration parameters for the HyperGraphDB
type system. An instance of this class is provided in the top-level
HGConfiguration
Constructor and Description |
---|
HGTypeConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addSchema(HGTypeSchema<?>... schemas) |
<T extends HGTypeSchema<?>> |
getDefaultSchema()
Return the instance responsible for creating HyperGraphDB type from Java classes.
|
<T extends HGTypeSchema<?>> |
getSchema(java.lang.String name) |
java.util.Collection<HGTypeSchema<?>> |
getSchemas() |
void |
setDefaultSchema(HGTypeSchema<?> typeSchema)
Specify the instance responsible for creating HyperGraphDB type from Java classes.
|
public java.util.Collection<HGTypeSchema<?>> getSchemas()
public <T extends HGTypeSchema<?>> T getDefaultSchema()
Return the instance responsible for creating HyperGraphDB type from Java classes.
public void setDefaultSchema(HGTypeSchema<?> typeSchema)
Specify the instance responsible for creating HyperGraphDB type from Java classes.
public void addSchema(HGTypeSchema<?>... schemas)
public <T extends HGTypeSchema<?>> T getSchema(java.lang.String name)