Skip to content

Screen

Bases: NBOBaseClass

Represents the XML element Screen.

The Screen element is a grouping for Plates. The required attribute is the Screen's Name and ID - both must be unique within the document. The Screen element may contain an ExternalRef attribute that refers to an external database. A description of the screen may be specified in the Description element. Screens may contain overlapping sets of Plates i.e. Screens and Plates have a many-to-many relationship. Plates contain one or more ScreenRef elements to specify what screens they belong to.

getTypeName()

Returns the class type name.

Returns:

Type Description
string

The class type name

getXMLName()

Returns the XML element name corresponding to this class.

Returns:

Type Description
string

The XML element name

getNBOType()

Returns the NBO Type corresponding to this class.

Returns:

Type Description
int

The NBO Type value

getChildren()

Returns a list of all classes derived from this class.

Returns:

Type Description
List[NBOBaseClass]

The list of derived classes

getSubElements()

Returns a list of all child elements contained in this class.

Returns:

Type Description
List[NBOBaseClass]

The list of child classes

fromJsonFile(path)

Populates this object from a JSON file.

Parameters:

Name Type Description Default
path string

The path to the JSON file

required

fromJsonString(json_string)

Populates this object from a JSON string.

Parameters:

Name Type Description Default
json_string string

The JSON content as a string

required

fromXmlFile(path)

Populates this object from a XML file.

Parameters:

Name Type Description Default
path string

The path to the XML file

required

fromXmlString(xml_string)

Populates this object from a XML string.

Parameters:

Name Type Description Default
xml_string string

The XML content as a string

required

toXmlFile(filename)

Serializes this object to an XML file.

Parameters:

Name Type Description Default
filename string

The path to the output XML file

required

toXmlString()

Serializes this object to an XML string.

Returns:

Type Description
string

A string containing the XML representation of this object

setID(value)

Sets the value of the ID attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value ScreenID_Type

The value to set

required

getID()

Returns the value of the ID attribute.

No description available in the XSD standard.

Returns:

Type Description
ScreenID_Type

The value of the attribute

resetID()

Resets the ID attribute to an unset state.

No description available in the XSD standard.

hasID()

Checks whether the optional ID attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setName(value)

Sets the value of the Name attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value string

The value to set

required

getName()

Returns the value of the Name attribute.

No description available in the XSD standard.

Returns:

Type Description
string

The value of the attribute

resetName()

Resets the Name attribute to an unset state.

No description available in the XSD standard.

hasName()

Checks whether the optional Name attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setProtocolIdentifier(value)

Sets the value of the ProtocolIdentifier attribute.

A pointer to an externally defined protocol, usually in a screening database.

Parameters:

Name Type Description Default
value string

The value to set

required

getProtocolIdentifier()

Returns the value of the ProtocolIdentifier attribute.

A pointer to an externally defined protocol, usually in a screening database.

Returns:

Type Description
string

The value of the attribute

resetProtocolIdentifier()

Resets the ProtocolIdentifier attribute to an unset state.

A pointer to an externally defined protocol, usually in a screening database.

hasProtocolIdentifier()

Checks whether the optional ProtocolIdentifier attribute is present.

A pointer to an externally defined protocol, usually in a screening database.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setProtocolDescription(value)

Sets the value of the ProtocolDescription attribute.

A description of the screen protocol; may contain very detailed information to reproduce some of that found in a screening database.

Parameters:

Name Type Description Default
value string

The value to set

required

getProtocolDescription()

Returns the value of the ProtocolDescription attribute.

A description of the screen protocol; may contain very detailed information to reproduce some of that found in a screening database.

Returns:

Type Description
string

The value of the attribute

resetProtocolDescription()

Resets the ProtocolDescription attribute to an unset state.

A description of the screen protocol; may contain very detailed information to reproduce some of that found in a screening database.

hasProtocolDescription()

Checks whether the optional ProtocolDescription attribute is present.

A description of the screen protocol; may contain very detailed information to reproduce some of that found in a screening database.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setReagentSetDescription(value)

Sets the value of the ReagentSetDescription attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value string

The value to set

required

getReagentSetDescription()

Returns the value of the ReagentSetDescription attribute.

No description available in the XSD standard.

Returns:

Type Description
string

The value of the attribute

resetReagentSetDescription()

Resets the ReagentSetDescription attribute to an unset state.

No description available in the XSD standard.

hasReagentSetDescription()

Checks whether the optional ReagentSetDescription attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setReagentSetIdentifier(value)

Sets the value of the ReagentSetIdentifier attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value string

The value to set

required

getReagentSetIdentifier()

Returns the value of the ReagentSetIdentifier attribute.

No description available in the XSD standard.

Returns:

Type Description
string

The value of the attribute

resetReagentSetIdentifier()

Resets the ReagentSetIdentifier attribute to an unset state.

No description available in the XSD standard.

hasReagentSetIdentifier()

Checks whether the optional ReagentSetIdentifier attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setType(value)

Sets the value of the Type attribute.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value string

The value to set

required

getType()

Returns the value of the Type attribute.

No description available in the XSD standard.

Returns:

Type Description
string

The value of the attribute

resetType()

Resets the Type attribute to an unset state.

No description available in the XSD standard.

hasType()

Checks whether the optional Type attribute is present.

No description available in the XSD standard.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setDescription(value)

Sets the value of the Description element.

A description for the screen.

Parameters:

Name Type Description Default
value Screen_InlineDescription

The value to set

required

getDescription()

Returns the value of the Description element.

A description for the screen.

Returns:

Type Description
Screen_InlineDescription

The value of the element

resetDescription()

Resets the Description element to an unset state.

A description for the screen.

hasDescription()

Checks whether the optional Description element is present.

A description for the screen.

Returns:

Type Description
boolean

true if the optional attribute has been set, false otherwise

setReagent_List(value)

Sets the list of Reagent elements.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value List[Reagen]

The new list of Reagent elements

required

getReagent_List()

Returns the list of Reagent elements.

No description available in the XSD standard.

Returns:

Type Description
List[Reagen]

The list of Reagent elements

addToReagent_List(value)

Adds a new Reagent element to this object.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value Reagent

The element to add

required

clearReagent_List()

Clear the list of Reagent.

No description available in the XSD standard.

setPlateRef_List(value)

Sets the list of PlateRef elements.

The PlateRef element is a reference to a Plate element. Screen elements may have one or more PlateRef elements to define the plates that are part of the screen. Plates may belong to more than one screen.

Parameters:

Name Type Description Default
value List[Screen_InlinePlateRef]

The new list of PlateRef elements

required

getPlateRef_List()

Returns the list of PlateRef elements.

The PlateRef element is a reference to a Plate element. Screen elements may have one or more PlateRef elements to define the plates that are part of the screen. Plates may belong to more than one screen.

Returns:

Type Description
List[Screen_InlinePlateRef]

The list of PlateRef elements

addToPlateRef_List(value)

Adds a new PlateRef element to this object.

The PlateRef element is a reference to a Plate element. Screen elements may have one or more PlateRef elements to define the plates that are part of the screen. Plates may belong to more than one screen.

Parameters:

Name Type Description Default
value Screen_InlinePlateRef

The element to add

required

clearPlateRef_List()

Clear the list of PlateRef.

The PlateRef element is a reference to a Plate element. Screen elements may have one or more PlateRef elements to define the plates that are part of the screen. Plates may belong to more than one screen.

setAnnotationRef_List(value)

Sets the list of AnnotationRef elements.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value List[AnnotationRef]

The new list of AnnotationRef elements

required

getAnnotationRef_List()

Returns the list of AnnotationRef elements.

No description available in the XSD standard.

Returns:

Type Description
List[AnnotationRef]

The list of AnnotationRef elements

addToAnnotationRef_List(value)

Adds a new AnnotationRef element to this object.

No description available in the XSD standard.

Parameters:

Name Type Description Default
value AnnotationRef

The element to add

required

clearAnnotationRef_List()

Clear the list of AnnotationRef.

No description available in the XSD standard.