public class SimpleResourceDefinition extends BaseResourceDefinition
BaseResourceDefinition.DirectiveTypeResourceDefinition.PostProcessor| Constructor and Description |
|---|
SimpleResourceDefinition(Resource.Type resourceType,
String singularName,
String pluralName,
Collection<Resource.Type> subTypes,
Map<BaseResourceDefinition.DirectiveType,? extends Collection<String>> directives)
Constructor.
|
SimpleResourceDefinition(Resource.Type resourceType,
String singularName,
String pluralName,
Resource.Type... subTypes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPluralName()
Obtain the plural name of the resource.
|
String |
getSingularName()
Obtain the singular name of the resource.
|
equals, getCreateDirectives, getDeleteDirectives, getPostProcessors, getReadDirectives, getRenderer, getSubResourceDefinitions, getType, getUpdateDirectives, hashCode, isCreatablepublic SimpleResourceDefinition(Resource.Type resourceType, String singularName, String pluralName, Resource.Type... subTypes)
resourceType - the resource typesingularName - the resource singular namepluralName - the resource plural namesubTypes - the sub-resource typesSimpleResourceDefinition(Resource.Type, String, String, Collection, Map)public SimpleResourceDefinition(Resource.Type resourceType, String singularName, String pluralName, Collection<Resource.Type> subTypes, Map<BaseResourceDefinition.DirectiveType,? extends Collection<String>> directives)
resourceType - the resource typesingularName - the resource singular namepluralName - the resource plural namesubTypes - the sub-resource typesdirectives - the a map of directives for the different request typespublic String getPluralName()
ResourceDefinitionpublic String getSingularName()
ResourceDefinitionCopyright © 2022 Apache Software Foundation. All rights reserved.