This a python binding to the C++ class Mantid::API::WorkspaceProperty.
bases: mantid.api.MatrixWorkspacePropertyPropertyWithValue, mantid.api.IWorkspaceProperty
__init__( (object)arg1, (str)name, (str)defaultValue, (int)direction, (PropertyMode)optional) -> None
__init__( (object)arg1, (str)name, (str)defaultValue, (int)direction, (PropertyMode)optional, (LockMode)locking) -> None
__init__( (object)arg1, (str)name, (str)defaultValue, (int)direction, (IValidator)validator) -> object
__init__( (object)arg1, (str)name, (str)defaultValue, (int)direction, (PropertyMode)optional, (IValidator)validator) -> object
__init__( (object)arg1, (str)name, (str)defaultValue, (int)direction, (PropertyMode)optional, (LockMode)locking, (IValidator)validator) -> object
A list of allowed values
Input, Output, InOut or Unknown. See the Direction class
The property’s doc string
Get the default value as a string
Return the ‘group’ of the property, that is, the header in the algorithm’s list of properties.
Is the property set at the default value
Will the workspace be locked when starting an algorithm
Returns true if the property has been marked as optional
An empty string if the property is valid, otherwise it contains an error message.
The name of the property
Return the object managing this property’s settings
Returns a string identifier for the type
The units attached to this property
The value of the property as a string. For some property types, e.g. Workspaces, it is useful to be able to refer to the string value directly