Data Model version 2.1.2

Link Attribute: container


    ProtocolParam that contains this Param. Generally used when this parameter relates only to another parameter, e.g. a temperature for an annealing cycle, or a weight for a constraint list.

guid: www.ccpn.ac.uk_Fogh_2010-05-20-14:35:13_00001
Type: ProtocolParameter
Multiplicity: 0..1
Changeability: changeable
isDerived: False
isAutomatic: False
isImplementation: False
isImplicit: False
isAbstract: False
Scope: instance_level
Inverse role: content

Constraint name:

Container_is_container_type_or_content_but_not_container_is_simple_type
python code container = self.container
simpleTypes = ('textValue', 'intValue', 'floatValue', 'booleanValue')
if container is None:
  isValid = True
elif container.paramType == 'Container':
  isValid = True
elif self.paramType in simpleTypes and container.paramType not in simpleTypes:
  isValid = True
else:
  isValid = False

Constraint name:

No_cyclical_ProtocolParameter_dependency
python code isValid = True
obj = self
while obj is not None:
  obj = obj.container
  if obj is self:
    isValid = False
    break

Methods

Method Return Parameters Comment
getContainer ProtocolParameter -
setContainer - ProtocolParameter
  Data Model Version 2.1.2
Go to Top  
  Autogenerated by  PyApiDocGen  revision 1.3   on  Mon Mar 2 17:25:18 2015    from data model package  cambridge.api.WmsProtocol.ProtocolParameter   revision ?  
  Work done by the CCPN team.
www.ccpn.ac.uk