Class TermAndDeftn

java.lang.Object
org.dlese.dpc.schemedit.vocab.TermAndDeftn

public class TermAndDeftn extends Object
Encapsulates the semantics of the TermAndDeftn element of FieldInfo files, which defines a term/definition relationship for controlled vocabulary items in a Fields file.
Author:
ostwald
See Also:
  • Constructor Details

    • TermAndDeftn

      public TermAndDeftn(org.dom4j.Element e)
      Constructor for the TermAndDeftn object
      Parameters:
      e - Description of the Parameter
  • Method Details

    • getTerm

      public String getTerm() throws Exception
      Gets the term attribute of the TermAndDeftn object
      Returns:
      The term value
      Throws:
      Exception - Description of the Exception
    • getAttribution

      public String getAttribution() throws Exception
      Gets the attribution attribute of the TermAndDeftn object
      Returns:
      The attribution value
      Throws:
      Exception - Description of the Exception
    • getId

      public String getId() throws Exception
      Gets the id attribute of the TermAndDeftn object
      Returns:
      The id value
      Throws:
      Exception - Description of the Exception
    • getDefinition

      public String getDefinition() throws Exception
      Gets the definition attribute of the TermAndDeftn object
      Returns:
      The definition value
      Throws:
      Exception - Description of the Exception
    • toString

      public String toString()
      Description of the Method
      Overrides:
      toString in class Object
      Returns:
      Description of the Return Value