Class RequiredAttributesRegistryImpl

java.lang.Object
ddf.catalog.data.requiredattributes.RequiredAttributesRegistryImpl
All Implemented Interfaces:
ddf.catalog.data.RequiredAttributesRegistry

public class RequiredAttributesRegistryImpl extends Object implements ddf.catalog.data.RequiredAttributesRegistry
  • Constructor Details

    • RequiredAttributesRegistryImpl

      public RequiredAttributesRegistryImpl()
  • Method Details

    • getRequiredAttributes

      public Set<String> getRequiredAttributes(String metacardTypeName)
      Specified by:
      getRequiredAttributes in interface ddf.catalog.data.RequiredAttributesRegistry
    • isRequired

      public boolean isRequired(String metacardTypeName, String attributeName)
      Specified by:
      isRequired in interface ddf.catalog.data.RequiredAttributesRegistry
    • bind

      public void bind(ddf.catalog.data.RequiredAttributes requiredAttributes)
      Adds a new RequiredAttributes to the requiredAttributesMap map. Called by blueprint when a new RequiredAttributes is registered as a service.
      Parameters:
      requiredAttributes - the new RequiredAttributes to be registered.
    • unbind

      public void unbind(ddf.catalog.data.RequiredAttributes requiredAttributes)
      Removes an existing RequiredAttributes from the requiredAttributesMap map. Called by blueprint when an existing RequiredAttributes service is removed.
      Parameters:
      requiredAttributes - the RequiredAttributes to be removed from the collection.