- All Implemented Interfaces:
LimsLink<InstrumentType>,Linkable<InstrumentType>,Locatable,Serializable
Instrument-type-link provides a URI linking to the detailed representation of an instrument type.
- Since:
- 2.24
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.InstrumentTypeLink(InstrumentType instrumentType) Constructor from an instrument type.Constructor from a linkable instrument type.InstrumentTypeLink(URI uri) Constructor with URI.InstrumentTypeLink(URI uri, String name) Constructor with URI and name.InstrumentTypeLink(URI uri, String name, String vendor) Constructor with URI, name and vendor. -
Method Summary
Modifier and TypeMethodDescriptionGet the class of the true, full LIMS entity this object links to.getName()Get the instrument type name.getUri()Get the URI of the object we are linking to.Get the instrument vendor.voidSet the instrument type name.voidSet the URI of this object.voidSet the instrument vendor.toString()Returns a string representation of this link.Methods inherited from class com.genologics.ri.LimsLinkBase
equals, hashCode
-
Field Details
-
uri
The URI of the instrument type. -
name
The instrument type name. -
vendor
The instrument vendor.
-
-
Constructor Details
-
InstrumentTypeLink
public InstrumentTypeLink()Default constructor. -
InstrumentTypeLink
Constructor with URI.- Parameters:
uri- The instrument type URI.
-
InstrumentTypeLink
Constructor with URI and name.- Parameters:
uri- The instrument type URI.name- The instrument type name.
-
InstrumentTypeLink
Constructor with URI, name and vendor.- Parameters:
uri- The instrument type URI.name- The instrument type name.vendor- The instrument vendor.
-
InstrumentTypeLink
Constructor from a linkable instrument type.- Parameters:
link- The linkable instrument type.
-
InstrumentTypeLink
Constructor from an instrument type.- Parameters:
instrumentType- The instrument type.
-
-
Method Details
-
getName
Get the instrument type name.- Returns:
- The instrument type name.
-
setName
Set the instrument type name.- Parameters:
value- The instrument type name.
-
getVendor
Get the instrument vendor.- Returns:
- The instrument vendor.
-
setVendor
Set the instrument vendor.- Parameters:
value- The instrument vendor.
-
getUri
Get the URI of the object we are linking to.- Returns:
- The URI.
-
setUri
Set the URI of this object.- Parameters:
value- The new URI.
-
getEntityClass
Get the class of the true, full LIMS entity this object links to.- Returns:
- The real object class.
-
toString
Returns a string representation of this link.- Overrides:
toStringin classLimsLinkBase<InstrumentType>- Returns:
- The instrument type LIMS id and the name.
- See Also:
-