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)
Schema
getKeyPropertyId
in interface Schema
type
- the resource typepublic Set<Resource.Type> getKeyTypes()
Schema
getKeyTypes
in interface Schema
Copyright © 2022 Apache Software Foundation. All rights reserved.