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