Class MetaDataBean

java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.datafile.MetaDataBean
All Implemented Interfaces:
OjbImplementedBean, MetaData, ecmwf.web.model.ModelBean

public class MetaDataBean extends ecmwf.web.dao.ModelBeanBase implements MetaData, OjbImplementedBean
The Class MetaDataBean.
  • Constructor Details

    • MetaDataBean

      protected MetaDataBean(MetadataAttribute attribute)
      Instantiates a new meta data bean.
      Parameters:
      attribute - the attribute
    • MetaDataBean

      protected MetaDataBean(MetadataValue value)
      Instantiates a new meta data bean.
      Parameters:
      value - the value
    • MetaDataBean

      protected MetaDataBean(MetadataAttribute attribute, MetadataValue value)
      Instantiates a new meta data bean.
      Parameters:
      attribute - the attribute
      value - the value
  • Method Details

    • getBeanInterfaceName

      public String getBeanInterfaceName()
      Gets the bean interface name.
      Specified by:
      getBeanInterfaceName in interface ecmwf.web.model.ModelBean
      Specified by:
      getBeanInterfaceName in class ecmwf.web.dao.ModelBeanBase
    • getOjbImplementation

      public DataBaseObject getOjbImplementation()
      Gets the ojb implementation. Gets the ojb implementation.
      Specified by:
      getOjbImplementation in interface OjbImplementedBean
      Returns:
      the ojb implementation
    • getName

      public String getName()
      Gets the name. Gets the name.
      Specified by:
      getName in interface MetaData
      Returns:
      the name
    • getValue

      public String getValue()
      Gets the value. Gets the value.
      Specified by:
      getValue in interface MetaData
      Returns:
      the value
    • getDataFile

      public DataFile getDataFile() throws DataFileException
      Gets the data file. Gets the data file.
      Specified by:
      getDataFile in interface MetaData
      Returns:
      the data file
      Throws:
      DataFileException - the data file exception
    • equals

      public boolean equals(Object o)
      Equals.
      Overrides:
      equals in class Object
    • equals

      public boolean equals(MetaDataBean u)
      Equals.
      Parameters:
      u - the u
      Returns:
      true, if successful
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object