- All Implemented Interfaces:
LimsLink<ArtifactGroup>,Linkable<ArtifactGroup>,Locatable,Serializable
artifactGroup-link is a child element type of artifactGroup and provides a
URI linking to the detailed representation of a artifactGroup.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Constructs a link from a Linkable object.ArtifactGroupLink(URI uri) Constructs a link with the given URI.ArtifactGroupLink(URI uri, String name) Constructs a link with the given URI and name. -
Method Summary
Modifier and TypeMethodDescriptionGets the entity class this link refers to.getName()Gets the name of the artifact group.getUri()Gets the URI of the artifact group.voidSets the name of the artifact group.voidSets the URI of the artifact group.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 artifact group. -
name
The name of the artifact group.
-
-
Constructor Details
-
ArtifactGroupLink
public ArtifactGroupLink()Default constructor. -
ArtifactGroupLink
Constructs a link with the given URI.- Parameters:
uri- The URI of the artifact group.
-
ArtifactGroupLink
Constructs a link with the given URI and name.- Parameters:
uri- The URI of the artifact group.name- The name of the artifact group.
-
ArtifactGroupLink
Constructs a link from a Linkable object.- Parameters:
link- The linkable object to create a link from.
-
-
Method Details
-
getEntityClass
Gets the entity class this link refers to.- Returns:
- The ArtifactGroup class.
-
getName
Gets the name of the artifact group.- Returns:
- The name.
-
setName
Sets the name of the artifact group.- Parameters:
value- The name to set.
-
getUri
Gets the URI of the artifact group.- Returns:
- The URI.
-
setUri
Sets the URI of the artifact group.- Parameters:
value- The URI to set.
-
toString
Returns a string representation of this link.- Overrides:
toStringin classLimsLinkBase<ArtifactGroup>- Returns:
- The LIMS id and name of the artifact group.
- See Also:
-