Class EnumeratedGroup

java.lang.Object
com.almis.awe.model.entities.enumerated.EnumeratedGroup
All Implemented Interfaces:
Copyable, XMLNode, Serializable

public class EnumeratedGroup extends Object implements XMLNode, Copyable
EnumeratedGroup Class Used to parse the file Enumerated.xml with XStream Generates an enumerated group
Author:
Pablo GARCIA - 28/JUN/2010
See Also:
  • Constructor Details

    • EnumeratedGroup

      public EnumeratedGroup()
  • Method Details

    • findLabel

      public String findLabel(String value)
      Returns the label of the selected value (for translate purpose in queries)
      Parameters:
      value - Value to find
      Returns:
      Label of the value
    • getElementKey

      public String getElementKey()
      Specified by:
      getElementKey in interface XMLNode
      Returns:
      the elementKey
    • copy

      public EnumeratedGroup copy()
      Description copied from interface: Copyable
      Get a copy of this element
      Specified by:
      copy in interface Copyable
      Returns:
      element copy