Bases: ManufacturerSpec_Type
Represents the XML element SampleHolder.
This element describes the device (often referred to as Sample Carrier, Container or Vessel) on which the specimen was mounted for microscopical examination. It typically is flat and it could be made of glass or plastic. Examples include Microscope slides, Petri dishes, and multi-well plates.
fromBase ( base )
staticmethod
fromJsonFile ( path , validate = True )
fromJsonString ( json_string , validate = True )
fromXmlFile ( path , validate = True )
fromXmlString ( xml_string , validate = True )
toXmlFile ( filename , validate = True )
toXmlString ( validate = True )
setID ( value , validate = True )
setType ( value , validate = True )
Sets the value of the Type attribute.
This field records the Type of this Sample Holder. Options include, microscope slide, Petri dish, tissue culture plate, micro-well plate, etc. (e.g. 35 mm MatTek Glass Bottom Dish).
Parameters:
Name
Type
Description
Default
value
string
required
validate
(boolean , optional )
If true, validates constraints on value. Default is true.
True
getType ()
Returns the value of the Type attribute.
This field records the Type of this Sample Holder. Options include, microscope slide, Petri dish, tissue culture plate, micro-well plate, etc. (e.g. 35 mm MatTek Glass Bottom Dish).
Returns:
Type
Description
string
The value of the attribute
resetType ()
Resets the Type attribute to an unset state.
This field records the Type of this Sample Holder. Options include, microscope slide, Petri dish, tissue culture plate, micro-well plate, etc. (e.g. 35 mm MatTek Glass Bottom Dish).
hasType ()
Checks whether the Type attribute is present.
This field records the Type of this Sample Holder. Options include, microscope slide, Petri dish, tissue culture plate, micro-well plate, etc. (e.g. 35 mm MatTek Glass Bottom Dish).
Returns:
Type
Description
boolean
true if the attribute has been set, false otherwise
getTypeAllowedValues ()
staticmethod
Returns the allowed values for this attribut.
This field records the Type of this Sample Holder. Options include, microscope slide, Petri dish, tissue culture plate, micro-well plate, etc. (e.g. 35 mm MatTek Glass Bottom Dish).
Returns:
Type
Description
std::set< str,std::less< str >,std::allocator< str > >
The list of allowed values