Class TypeDefinition

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

public class TypeDefinition extends Object implements LimsLink<Field>, Serializable
Type-definition is a child element of process type providing a URI linking to the configuration of a user-defined type for the process type.
See Also:
  • Field Details

    • uri

      protected URI uri
    • name

      protected String name
  • Constructor Details

    • TypeDefinition

      public TypeDefinition()
    • TypeDefinition

      public TypeDefinition(URI uri)
    • TypeDefinition

      public TypeDefinition(URI uri, String name)
    • TypeDefinition

      public TypeDefinition(Linkable<Field> field)
    • TypeDefinition

      public TypeDefinition(Field field)
  • 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