Class BwAttachment

All Implemented Interfaces:
Serializable, Comparable<BwAttachment>, org.bedework.util.logging.Logged

public class BwAttachment extends BwDbentity<BwAttachment>
Represent an attachment.
Author:
Mike Douglass douglm - bedework.edu
See Also:
  • Constructor Details

    • BwAttachment

      public BwAttachment()
      Constructor
  • Method Details

    • setFmtType

      public void setFmtType(String val)
      Set the fmttype
      Parameters:
      val - String fmttype
    • getFmtType

      public String getFmtType()
      Get the fmttype
      Returns:
      String fmttype
    • setValueType

      public void setValueType(String val)
      Set the valueType
      Parameters:
      val - String valueType
    • getValueType

      public String getValueType()
      Get the valueType
      Returns:
      String valueType
    • setEncoding

      public void setEncoding(String val)
      Set the encoding
      Parameters:
      val - String encoding
    • getEncoding

      public String getEncoding()
      Get the encoding
      Returns:
      String encoding
    • setUri

      public void setUri(String val)
      Set the uri
      Parameters:
      val - String uri
    • getUri

      public String getUri()
      Get the uri
      Returns:
      String uri
    • setValue

      public void setValue(String val)
      Set the value
      Parameters:
      val - String value
    • getValue

      public String getValue()
      Get the value
      Returns:
      String value
    • copyTo

      public void copyTo(BwAttachment val)
      Copy this objects values into the parameter
      Parameters:
      val - to be updated
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BwUnversionedDbentity<BwAttachment>
    • compareTo

      public int compareTo(BwAttachment that)
      Specified by:
      compareTo in interface Comparable<BwAttachment>
      Overrides:
      compareTo in class BwUnversionedDbentity<BwAttachment>
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clone

      public Object clone()
      Description copied from class: BwUnversionedDbentity
      Make visible
      Overrides:
      clone in class BwUnversionedDbentity<BwAttachment>
      Returns:
      Object of class T