guid:
|
www.ccpn.ac.uk_Fogh_2006-08-16-18:22:47_00003
|
Type:
|
ccp.api.general.Instrument.Instrument
|
Multiplicity:
|
0..1
|
Changeability:
|
changeable
|
isDerived:
|
False
|
isAutomatic:
|
False
|
isImplementation:
|
False
|
isImplicit:
|
False
|
isAbstract:
|
False
|
Scope:
|
instance_level
|
Inverse role:
|
ccp.api.general.Instrument.Instrument.experiments
|
Constraint name:
|
value_is_self_method_instrument
|
python code
|
method = self.method
if method is None or value is None:
isValid = True
elif method.instrument is value:
isValid = True
else:
isValid = False
|