Class TranslationValue

java.lang.Object
eu.xenit.alfred.api.translation.TranslationValue
Direct Known Subclasses:
PropertyTranslationValue

public class TranslationValue extends Object
Datastructure that represents a value of a translation. qname: The qname of the property title: The title (which is translated) description: A short translated description.
  • Constructor Details

    • TranslationValue

      public TranslationValue()
    • TranslationValue

      public TranslationValue(QName qname, String title, String description)
  • Method Details

    • toString

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

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

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

      public QName getQname()
    • setQname

      public void setQname(QName qname)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)