Interface ResourceDefinition

All Known Implementing Classes:
StandardResourceDefinition

public interface ResourceDefinition
Defines the number and types of resources that allowed to be referenced by a component property
  • Method Details

    • getCardinality

      ResourceCardinality getCardinality()
      Specifies the number of resources that should be reference-able by a component property
      Returns:
      the cardinality for the number of resources that should be referenced
    • getResourceTypes

      Set<ResourceType> getResourceTypes()
      Returns:
      the types of resources that are allowed to be referenced