- All Implemented Interfaces:
LimsLink<ContainerType>,Linkable<ContainerType>,Locatable,Serializable
Container-type is a child element of container and provides a URI linking to
the detailed representation of the container type that the container is
associated with. A container type describes the physical characteristics of
the container, such as the number of wells in the container and how the wells
are labelled.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ContainerTypeLink(ContainerType containerType) Constructor from a container type.Constructor from a linkable container type.ContainerTypeLink(URI uri) Constructor with URI.ContainerTypeLink(URI uri, String name) Constructor with URI and name. -
Method Summary
Modifier and TypeMethodDescriptionGets the entity class for this link.getName()Gets the name of the container type.getUri()Gets the URI of the container type.voidSets the name of the container type.voidSets the URI of the container type.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 container type. -
name
The name of the container type.
-
-
Constructor Details
-
ContainerTypeLink
public ContainerTypeLink()Default constructor. -
ContainerTypeLink
Constructor with URI.- Parameters:
uri- The URI.
-
ContainerTypeLink
Constructor with URI and name.- Parameters:
uri- The URI.name- The name.
-
ContainerTypeLink
Constructor from a linkable container type.- Parameters:
link- The linkable container type.
-
ContainerTypeLink
Constructor from a container type.- Parameters:
containerType- The container type.
-
-
Method Details
-
getEntityClass
Gets the entity class for this link.- Returns:
- The ContainerType class.
-
getUri
Gets the URI of the container type.- Returns:
- The URI.
-
setUri
Sets the URI of the container type.- Parameters:
uri- The URI.
-
getName
Gets the name of the container type.- Returns:
- The name.
-
setName
Sets the name of the container type.- Parameters:
name- The name.
-
toString
Returns a string representation of this link.- Overrides:
toStringin classLimsLinkBase<ContainerType>- Returns:
- The container type LIMS id and the name.
- See Also:
-