Class FieldLink

java.lang.Object
com.genologics.ri.configuration.FieldLink
All Implemented Interfaces:
LimsLink<Field>, Linkable<Field>, Locatable, Serializable

public class FieldLink extends Object implements LimsLink<Field>, Serializable
Field definition represents a user-defined field configured in the parent entity. It includes the name and a URI linking to the detailed representation of the configuration of a user defined field.
See Also:
  • Field Details

    • name

      protected String name
    • uri

      protected URI uri
  • Constructor Details

    • FieldLink

      public FieldLink()
    • FieldLink

      public FieldLink(URI uri)
    • FieldLink

      public FieldLink(URI uri, String name)
    • FieldLink

      public FieldLink(Linkable<Field> link)
  • Method Details

    • getEntityClass

      public Class<Field> getEntityClass()
      Description copied from interface: LimsLink
      Get the class of the true, full LIMS entity this object links to.
      Specified by:
      getEntityClass in interface LimsLink<Field>
      Returns:
      The real object class.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getUri

      public URI getUri()
      Description copied from interface: LimsLink
      Get the URI of the object we are linking to.
      Specified by:
      getUri in interface LimsLink<Field>
      Specified by:
      getUri in interface Locatable
      Returns:
      The URI.
    • setUri

      public void setUri(URI uri)
      Description copied from interface: Locatable
      Set the URI of this object.
      Specified by:
      setUri in interface Locatable
      Parameters:
      uri - The new URI.
    • toString

      public String toString()
      Overrides:
      toString in class Object