| Constructor and Description |
|---|
SchemaImpl(ResourceProvider resourceProvider)
Create a new schema for the given providers.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKeyPropertyId(Resource.Type type)
Get the property id for the property that uniquely identifies
the given resource type for the resource described by this schema.
|
Set<Resource.Type> |
getKeyTypes()
Get the set of resource types used in the key that uniquely identifies
the resource type described by this schema.
|
public SchemaImpl(ResourceProvider resourceProvider)
resourceProvider - the resource providerpublic String getKeyPropertyId(Resource.Type type)
SchemagetKeyPropertyId in interface Schematype - the resource typepublic Set<Resource.Type> getKeyTypes()
SchemagetKeyTypes in interface SchemaCopyright © 2022 Apache Software Foundation. All rights reserved.