new AnyProperty(property [, transformers] [, value])
Parameters:
| Name | Type | Argument | Description |
|---|---|---|---|
property |
olympe.dm.Property | The property. |
|
transformers |
Array.<olympe.dc.Transformer> |
<optional> |
The transformers to apply. |
value |
* |
<optional> |
- Implements:
Members
-
intervalValueDef :olympe.dc.valuedefs.AbstractProperty
-
Type:
Methods
-
<static> getPropertyEqualsToConstantValueDef(property, constant)
-
Parameters:
Name Type Description propertyolympe.dc.registry.Property constant* Returns:
-
getInternalPath()
-
Returns the path in the graph followed by this valuedef to be evaluated.
- Implements:
Returns:
- Type
- Array.<!olympe.dc.query.Relation>
-
getInternalValuedef()
-
Gets the cached internal
ValueDef.Returns:
The
ValueDef.- Type
- olympe.dc.ValueDef
-
getName()
-
Gets the name of this
ValueDef.- Implements:
Returns:
The name of this
ValueDef.- Type
- string
-
getValue(manager, tag)
-
Gets the value defined by this ValueDef.
Parameters:
Name Type Description managerolympe.dc.Manager The DC manager.
tagstring The tag of the instance holding the value, if any.
- Implements:
Returns:
The value referenced by this
ValueDef.- Type
- olympe.df.Proxy.<T> | T
-
serialize(parameters)
-
Serializes this
ValueDef.Parameters:
Name Type Description parametersolympe.dc.query.Parameters Serialization parameters.
- Implements:
Throws:
-
If the value def is not serializable.
- Type
- Error
Returns:
The string containing the serialized representation of the
ValueDef.- Type
- string
-
toString()
-
Gets a string representation of the value def
- Implements:
Returns:
The string representation of this
ValueDef.- Type
- string
Olympe SDK