Class SpecialType

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

public class SpecialType extends Object implements Serializable
Special-type is a child element of reagent type and provides a name and attributes describing a special type of reagent type.
See Also:
  • Field Details

    • attributes

      protected List<Attribute> attributes
      The list of attributes for this special type.
    • name

      protected String name
      The name of the special type.
  • Constructor Details

    • SpecialType

      public SpecialType()
      Default constructor.
    • SpecialType

      public SpecialType(String name)
      Constructor with name.
      Parameters:
      name - The name of the special type.
  • Method Details

    • getAttributes

      public List<Attribute> getAttributes()
      Gets the list of attributes for this special type.
      Returns:
      A list of attributes.
    • addAttribute

      public void addAttribute(Attribute a)
      Adds an attribute to this special type.
      Parameters:
      a - The attribute to add.
    • addAttribute

      public void addAttribute(String name, String value)
      Adds an attribute to this special type using name and value.
      Parameters:
      name - The name of the attribute.
      value - The value of the attribute.
    • getName

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

      public void setName(String value)
      Sets the name of the special type.
      Parameters:
      value - The special type name.