Class TypeDefinition

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

public class TypeDefinition extends Object implements LimsLink<Type>, Serializable
Type-definition provides a URI linking to the user defined type associated with the user-defined field, if applicable.
See Also:
  • Field Details

    • name

      protected String name
    • uri

      protected URI uri
  • Constructor Details

    • TypeDefinition

      public TypeDefinition()
    • TypeDefinition

      public TypeDefinition(URI uri)
    • TypeDefinition

      public TypeDefinition(URI uri, String name)
    • TypeDefinition

      public TypeDefinition(Linkable<Type> type)
    • TypeDefinition

      public TypeDefinition(Type type)
  • Method Details

    • getEntityClass

      public Class<Type> 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<Type>
      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<Type>
      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