Class BwRelatedTo

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

public class BwRelatedTo extends DumpEntity<BwRelatedTo> implements Comparable<BwRelatedTo>, Serializable
A related-to property. .
Version:
1.0
See Also:
  • Constructor Details

    • BwRelatedTo

      public BwRelatedTo()
      Constructor
    • BwRelatedTo

      public BwRelatedTo(String relType, String value)
      Constructor
      Parameters:
      relType - type
      value - taget
  • Method Details

    • setRelType

      public void setRelType(String val)
      Set the relType
      Parameters:
      val - String relType
    • getRelType

      public String getRelType()
      Get the relType
      Returns:
      String relType
    • setValue

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

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

      public String strVal()
      Returns:
      String rfc value
    • compareTo

      public int compareTo(BwRelatedTo that)
      Specified by:
      compareTo in interface Comparable<BwRelatedTo>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

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

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

      public Object clone()
      Overrides:
      clone in class Object