java.lang.Object
com.genologics.ri.stepconfiguration.LockableSetting
com.genologics.ri.stepconfiguration.ControlTypeLink
- All Implemented Interfaces:
LimsLink<ControlType>,Linkable<ControlType>,Locatable,Serializable
Control-type-link is a child element type of controlTypes and provides a URI
linking to the detailed representation of a ControlType.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe name of the control type.protected URIThe URI of the control type.Fields inherited from class com.genologics.ri.stepconfiguration.LockableSetting
locked -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ControlTypeLink(ControlType controlType) Constructor from a control type entity.ControlTypeLink(Linkable<ControlType> link) Constructor from a linkable control type.ControlTypeLink(URI uri) Constructor with URI.ControlTypeLink(URI uri, String name) Constructor with URI and name. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the entity class for this link.getName()Gets the name of the control type.getUri()Gets the URI of the control type.inthashCode()voidSets the name of the control type.voidSets the URI of the control type.toString()Returns a string representation of this control type link.Methods inherited from class com.genologics.ri.stepconfiguration.LockableSetting
isLocked, setLocked
-
Field Details
-
uri
The URI of the control type. -
name
The name of the control type.
-
-
Constructor Details
-
ControlTypeLink
public ControlTypeLink()Default constructor. -
ControlTypeLink
Constructor with URI.- Parameters:
uri- The URI of the control type.
-
ControlTypeLink
Constructor with URI and name.- Parameters:
uri- The URI of the control type.name- The name of the control type.
-
ControlTypeLink
Constructor from a linkable control type.- Parameters:
link- The linkable control type.
-
ControlTypeLink
Constructor from a control type entity.- Parameters:
controlType- The control type entity.
-
-
Method Details
-
getUri
Gets the URI of the control type.- Specified by:
getUriin interfaceLimsLink<ControlType>- Specified by:
getUriin interfaceLocatable- Returns:
- The control type URI.
-
setUri
Sets the URI of the control type. -
getEntityClass
Gets the entity class for this link.- Specified by:
getEntityClassin interfaceLimsLink<ControlType>- Returns:
- The ControlType class.
-
getName
Gets the name of the control type.- Returns:
- The control type name.
-
setName
Sets the name of the control type.- Parameters:
name- The control type name.
-
toString
Returns a string representation of this control type link. -
hashCode
public int hashCode() -
equals
-