- All Implemented Interfaces:
LimsEntityLink<Container>,LimsEntityLinkable<Container>,LimsLink<Container>,Linkable<Container>,Locatable,Serializable
Container-link is a child element type of containers and provides a URI
linking to the detailed representation of a container.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ContainerLink(Container container) Constructor from a container.Constructor from a LIMS entity linkable container.ContainerLink(Linkable<Container> link) Constructor from a linkable container.ContainerLink(URI uri) Constructor with URI.ContainerLink(URI uri, String limsid) Constructor with URI and LIMS id.ContainerLink(URI uri, String limsid, String name) Constructor with URI, LIMS id, and name. -
Method Summary
Methods inherited from class com.genologics.ri.LimsLinkBase
equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.genologics.ri.LimsEntityLink
getLinkMethods inherited from interface com.genologics.ri.LimsEntityLinkable
getLimsId, setLimsId
-
Field Details
-
uri
The URI of the container. -
limsid
The LIMS id of the container. -
name
The name of the container.
-
-
Constructor Details
-
ContainerLink
public ContainerLink()Default constructor. -
ContainerLink
Constructor with URI.- Parameters:
uri- the URI.
-
ContainerLink
Constructor with URI and LIMS id.- Parameters:
uri- the URI.limsid- the LIMS id.
-
ContainerLink
Constructor with URI, LIMS id, and name.- Parameters:
uri- the URI.limsid- the LIMS id.name- the name.
-
ContainerLink
Constructor from a linkable container.- Parameters:
link- the linkable container.
-
ContainerLink
Constructor from a LIMS entity linkable container.- Parameters:
link- the LIMS entity linkable container.
-
ContainerLink
Constructor from a container.- Parameters:
container- the container.
-
-
Method Details
-
getEntityClass
Gets the entity class.- Returns:
- the container class.
-
getName
Gets the name.- Returns:
- the name.
-
setName
Sets the name.- Parameters:
name- the name.
-
getLimsid
Gets the LIMS id.- Returns:
- the LIMS id.
-
setLimsid
Sets the LIMS id.- Parameters:
limsid- the LIMS id.
-
getUri
Gets the URI.- Returns:
- the URI.
-
setUri
Sets the URI.- Parameters:
uri- the URI.
-
toString
Returns a string representation of the container link.- Overrides:
toStringin classLimsLinkBase<Container>- Returns:
- The container LIMS id and name.
- See Also:
-