java.lang.Object
com.genologics.ri.step.StepConfiguration
- All Implemented Interfaces:
LimsLink<ProtocolStep>,Linkable<ProtocolStep>,Locatable,Serializable
Identifies the configuration information for the step run.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty step configuration.Creates a step configuration from a linkable protocol step.Creates a step configuration from a protocol step.StepConfiguration(URI protocolStepUri) Creates a step configuration with the given protocol step URI.StepConfiguration(URI protocolStepUri, String stepName) Creates a step configuration with the given protocol step URI and name. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the class of the true, full LIMS entity this object links to.Gets the protocol step URI.Gets the name of the protocol step.getUri()Get the URI of the object we are linking to.inthashCode()voidsetProtocolStep(Linkable<ProtocolStep> protocolStep) Sets the protocol step from a linkable object.voidsetProtocolStepUri(URI protocolStepUri) Sets the protocol step URI.voidsetStepName(String stepName) Sets the name of the protocol step.voidSet the URI of this object.toString()
-
Field Details
-
protocolStepUri
The URI of the protocol step configuration. -
stepName
The name of the protocol step.
-
-
Constructor Details
-
StepConfiguration
public StepConfiguration()Creates an empty step configuration. -
StepConfiguration
Creates a step configuration with the given protocol step URI.- Parameters:
protocolStepUri- The URI of the protocol step.
-
StepConfiguration
Creates a step configuration with the given protocol step URI and name.- Parameters:
protocolStepUri- The URI of the protocol step.stepName- The name of the protocol step.
-
StepConfiguration
Creates a step configuration from a linkable protocol step.- Parameters:
step- The linkable protocol step to extract the URI from.- Throws:
NullPointerException- ifstepis null.
-
StepConfiguration
Creates a step configuration from a protocol step.- Parameters:
step- The protocol step to extract the URI and name from.- Throws:
NullPointerException- ifstepis null.
-
-
Method Details
-
getProtocolStepUri
Gets the protocol step URI.- Returns:
- The protocol step URI.
-
setProtocolStepUri
Sets the protocol step URI.- Parameters:
protocolStepUri- The protocol step URI.
-
setProtocolStep
Sets the protocol step from a linkable object.- Parameters:
protocolStep- The linkable protocol step to extract the URI from.
-
getStepName
Gets the name of the protocol step.- Returns:
- The protocol step name.
-
setStepName
Sets the name of the protocol step.- Parameters:
stepName- The protocol step name.
-
getUri
Get the URI of the object we are linking to.- Specified by:
getUriin interfaceLimsLink<ProtocolStep>- Specified by:
getUriin interfaceLocatable- Returns:
- The URI.
-
setUri
Set the URI of this object. -
getEntityClass
Get the class of the true, full LIMS entity this object links to.- Specified by:
getEntityClassin interfaceLimsLink<ProtocolStep>- Returns:
- The real object class.
-
hashCode
public int hashCode() -
equals
-
toString
-