Description
This class represents a property in a property list. It is is part of the pilotpython
module, which is available in the Python (on Server) component.
class Property(builtins.object)
| Property.__init__(prop) |
| Description |
Constructor. |
| Input parameters |
param prop: iProperty to wrap type
prop: iProperty |
| Return value |
None |
| Property.appendValue(val) |
| Description |
Appends the given value to the property. |
| Input parameters |
param val: Value to append type
val: Value |
| Return value |
None |
| Property.findMetaData() |
| Description |
Returns the metadata of the property (if any). |
| Input parameters |
None |
| Return value |
returns: Property's metadata
rtype: PropertyCollection or None |
| Property.getMetaData() |
| Description |
Returns the metadata of the property. If there is none, an empty
PropertyCollection is created and returned. |
| Input parameters |
None |
| Return value |
returns: Property's metadata
rtype: PropertyCollection |
| Property.getName() |
| Description |
Gets the property name. |
| Input parameters |
None |
| Return value |
returns: Name of property
rtype: str |
| Property.getRawProperty() |
| Description |
Returns the raw wrapped iProperty. |
| Input parameters |
None |
| Return value |
returns: The wrapped iProperty
rtype: iProperty |
| Property.getValue() |
| Description |
Returns the value attached to the property. |
| Input parameters |
None |
| Return value |
returns: Value of property
rtype: Value |
| Property.setValue(val) |
| Description |
Sets the property's value. |
| Input parameters |
param val: Value to set type
val: Value |
| Return value |
None |
Data descriptors defined here
| Property.__dict__ |
| Description |
dictionary for instance variables (if defined) |
| Property.__weakref__ |
| Description |
list of weak references to the object (if defined) |