Class Attribute

java.lang.Object
com.genologics.ri.reagenttype.Attribute
All Implemented Interfaces:
Serializable

public class Attribute extends Object implements Serializable
Attribute is a child element of special type and provides a name-value pair of the special type.
See Also:
  • Field Details

    • name

      protected String name
      The name of the attribute.
    • value

      protected String value
      The value of the attribute.
  • Constructor Details

    • Attribute

      public Attribute()
      Default constructor.
    • Attribute

      public Attribute(String name)
      Constructor with name.
      Parameters:
      name - The attribute name.
    • Attribute

      public Attribute(String name, String value)
      Constructor with name and value.
      Parameters:
      name - The attribute name.
      value - The attribute value.
  • Method Details

    • getName

      public String getName()
      Gets the name of the attribute.
      Returns:
      The attribute name.
    • setName

      public void setName(String name)
      Sets the name of the attribute.
      Parameters:
      name - The attribute name.
    • getValue

      public String getValue()
      Gets the value of the attribute.
      Returns:
      The attribute value.
    • setValue

      public void setValue(String value)
      Sets the value of the attribute.
      Parameters:
      value - The attribute value.