Class MetacardCswRecordMap

java.lang.Object
org.codice.ddf.spatial.ogc.csw.catalog.endpoint.mappings.MetacardCswRecordMap
All Implemented Interfaces:
CswRecordMap

public class MetacardCswRecordMap extends Object implements CswRecordMap
  • Constructor Details

    • MetacardCswRecordMap

      public MetacardCswRecordMap()
  • Method Details

    • getProperty

      public String getProperty(String propertyName, NamespaceSupport context)
      Description copied from interface: CswRecordMap
      Gets the catalog taxonomy attribute name for the property name, or returns the property name if not mapped. NamespaceSupport will be used to resolve namespaces. If NamespaceSupport is null, then CswRecordMap.getProperty(String) should be used.
      Specified by:
      getProperty in interface CswRecordMap
      Parameters:
      propertyName - CSW query property name. Can be prefixed.
      context - Namespace context from the CSW query
      Returns:
      Catalog taxonomy attribute name.
    • getProperty

      public String getProperty(String propertyName)
      Description copied from interface: CswRecordMap
      Gets the catalog taxonomy attribute name for the property name, or returns the property name if not mapped. If the property name is prefixed, then the prefix will be removed and first match will be returned.
      Specified by:
      getProperty in interface CswRecordMap
      Parameters:
      propertyName - CSW query property name. Can be prefixed.
      Returns:
      Catalog taxonomy attribute name
    • hasProperty

      public boolean hasProperty(String propertyName, NamespaceSupport context)
      Description copied from interface: CswRecordMap
      Returns true if the property name has a corresponding catalog taxonomy attribute. NamespaceSupport will be used to resolve namespaces. If NamespaceSupport is null, then CswRecordMap.hasProperty(String) should be used.
      Specified by:
      hasProperty in interface CswRecordMap
      Parameters:
      propertyName - CSW query property name. Can be prefixed.
      context - Namespace context from the CSW query
      Returns:
      True if the property name has a corresponding catalog taxonomy attribute.
    • hasProperty

      public boolean hasProperty(String propertyName)
      Description copied from interface: CswRecordMap
      Returns true if the property name has a corresponding catalog taxonomy attribute. If the property name is prefixed, then the prefix will be removed before performing the check.
      Specified by:
      hasProperty in interface CswRecordMap
      Parameters:
      propertyName - CSW query property name. Can be prefixed.
      Returns:
      True if the property name has a corresponding catalog taxonomy attribute.