Class AdaptedMetacard

java.lang.Object
ddf.catalog.transformer.xml.adapter.AdaptedMetacard
All Implemented Interfaces:
ddf.catalog.data.Metacard, Serializable

public class AdaptedMetacard extends Object implements ddf.catalog.data.Metacard
See Also:
  • Constructor Details

    • AdaptedMetacard

      public AdaptedMetacard(ddf.catalog.data.Metacard metacard)
    • AdaptedMetacard

      public AdaptedMetacard()
  • Method Details

    • getId

      public String getId()
      Specified by:
      getId in interface ddf.catalog.data.Metacard
    • setId

      protected void setId(String id)
      Parameters:
      id - the id to set
    • getSourceId

      public String getSourceId()
      Specified by:
      getSourceId in interface ddf.catalog.data.Metacard
    • setSourceId

      public void setSourceId(String sourceId)
      Specified by:
      setSourceId in interface ddf.catalog.data.Metacard
      Parameters:
      sourceId - the sourceId to set
    • getMetacardType

      public ddf.catalog.data.MetacardType getMetacardType()
      Specified by:
      getMetacardType in interface ddf.catalog.data.Metacard
    • setMetacardType

      protected void setMetacardType(ddf.catalog.data.MetacardType metacardType)
      Parameters:
      metacardType - the metacardType to set
    • getAttributes

      protected Set<ddf.catalog.data.Attribute> getAttributes()
    • getAttribute

      public final ddf.catalog.data.Attribute getAttribute(String name)
      Specified by:
      getAttribute in interface ddf.catalog.data.Metacard
    • setAttribute

      public final void setAttribute(@Nullable ddf.catalog.data.Attribute attribute)
      Specified by:
      setAttribute in interface ddf.catalog.data.Metacard
    • getContentTypeName

      public String getContentTypeName()
      Specified by:
      getContentTypeName in interface ddf.catalog.data.Metacard
      Returns:
      See Also:
      • Metacard.getContentTypeName()
    • getContentTypeNamespace

      public URI getContentTypeNamespace()
      Specified by:
      getContentTypeNamespace in interface ddf.catalog.data.Metacard
      Returns:
      See Also:
      • Metacard.getContentTypeNamespace()
    • getContentTypeVersion

      public String getContentTypeVersion()
      Specified by:
      getContentTypeVersion in interface ddf.catalog.data.Metacard
      Returns:
      See Also:
      • Metacard.getContentTypeVersion()
    • getCreatedDate

      public Date getCreatedDate()
      Specified by:
      getCreatedDate in interface ddf.catalog.data.Metacard
      Returns:
      See Also:
      • Metacard.getCreatedDate()
    • getEffectiveDate

      public Date getEffectiveDate()
      Specified by:
      getEffectiveDate in interface ddf.catalog.data.Metacard
      Returns:
      See Also:
      • Metacard.getEffectiveDate()
    • getExpirationDate

      public Date getExpirationDate()
      Specified by:
      getExpirationDate in interface ddf.catalog.data.Metacard
      Returns:
      See Also:
      • Metacard.getExpirationDate()
    • getLocation

      public String getLocation()
      Specified by:
      getLocation in interface ddf.catalog.data.Metacard
      Returns:
      See Also:
      • Metacard.getLocation()
    • getMetadata

      public String getMetadata()
      Specified by:
      getMetadata in interface ddf.catalog.data.Metacard
      Returns:
      See Also:
      • Metacard.getMetadata()
    • getModifiedDate

      public Date getModifiedDate()
      Specified by:
      getModifiedDate in interface ddf.catalog.data.Metacard
      Returns:
      See Also:
      • Metacard.getModifiedDate()
    • getResourceSize

      public String getResourceSize()
      Specified by:
      getResourceSize in interface ddf.catalog.data.Metacard
      Returns:
      See Also:
      • Metacard.getResourceSize()
    • getResourceURI

      public URI getResourceURI()
      Specified by:
      getResourceURI in interface ddf.catalog.data.Metacard
      Returns:
      See Also:
      • Metacard.getResourceURI()
    • getThumbnail

      public byte[] getThumbnail()
      Specified by:
      getThumbnail in interface ddf.catalog.data.Metacard
      Returns:
      See Also:
      • Metacard.getThumbnail()
    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface ddf.catalog.data.Metacard
      Returns:
      See Also:
      • Metacard.getTitle()