Class Field

java.lang.Object
com.genologics.ri.processtype.Field
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IceBucketField, QueueField

public class Field extends Object implements Serializable
A field has a name and an attach to value, these fields are used to keep track of all the User Defined and Built In values for samples in queue and work view as well as those on the actual step
Since:
2.25
See Also:
  • Field Details

    • name

      protected String name
      The name of the field.
    • attachTo

      protected String attachTo
      The entity to which this field is attached.
    • style

      protected Style style
      The style of the field (user-defined or built-in).
  • Constructor Details

    • Field

      public Field()
      Constructs a new field.
    • Field

      public Field(String name)
      Constructs a new field with the specified name.
      Parameters:
      name - the name of the field.
  • Method Details

    • getName

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

      public void setName(String name)
      Sets the name of the field.
      Parameters:
      name - the field name.
    • getAttachTo

      public String getAttachTo()
      Gets the entity to which this field is attached.
      Returns:
      the attach-to value.
    • setAttachTo

      public void setAttachTo(String attachTo)
      Sets the entity to which this field is attached.
      Parameters:
      attachTo - the attach-to value.
    • getStyle

      public Style getStyle()
      Gets the style of the field.
      Returns:
      the field style.
    • setStyle

      public void setStyle(Style style)
      Sets the style of the field.
      Parameters:
      style - the field style.
    • toString

      public String toString()
      Returns a string representation of this field.
      Overrides:
      toString in class Object
      Returns:
      a string containing the class name and field name.