Class MetadataFormatInfo

java.lang.Object
org.dlese.dpc.repository.MetadataFormatInfo
All Implemented Interfaces:
Serializable

public class MetadataFormatInfo extends Object implements Serializable
Data structure that holds information about a metadata format.
Author:
John Weatherley
See Also:
  • Constructor Details

    • MetadataFormatInfo

      public MetadataFormatInfo()
      Constructor for the MetadataFormatInfo object
    • MetadataFormatInfo

      public MetadataFormatInfo(String metadataPrefix, String schema, String metadataNamespace)
      Constructor for the MetadataFormatInfo object
      Parameters:
      metadataPrefix - The metadataPrefix.
      schema - The schema.
      metadataNamespace - The metadataNamespace.
  • Method Details

    • getMetadataPrefix

      public String getMetadataPrefix()
      Gets the metadataPrefix attribute of the MetadataFormatInfo object
      Returns:
      The metadataPrefix value
    • setMetadataPrefix

      public void setMetadataPrefix(String val)
      Sets the metadataPrefix attribute of the MetadataFormatInfo object
      Parameters:
      val - The new metadataPrefix value
    • getMetadataNamespace

      public String getMetadataNamespace()
      Gets the metadataNamespace attribute of the MetadataFormatInfo object
      Returns:
      The metadataNamespace value
    • setMetadataNamespace

      public void setMetadataNamespace(String val)
      Sets the metadataNamespace attribute of the MetadataFormatInfo object
      Parameters:
      val - The new metadataNamespace value
    • getSchema

      public String getSchema()
      Gets the schema attribute of the MetadataFormatInfo object
      Returns:
      The schema value
    • setSchema

      public void setSchema(String val)
      Sets the schema attribute of the MetadataFormatInfo object
      Parameters:
      val - The new schema value
    • toString

      public String toString()
      Provides a String representataion for this MetadataFormatInfo. This method may be used for debugging to see what is in the MetadataFormatInfo. This method is also used it the equals(Object) method.
      Overrides:
      toString in class Object
      Returns:
      String describing all data in the SetInfo.
    • equals

      public boolean equals(Object o)
      Checks equality of two MetadataFormatInfo objects.
      Overrides:
      equals in class Object
      Parameters:
      o - The MetadataFormatInfo to compare to this.
      Returns:
      True iff the compared object is equal.