| Package | org.spicefactory.parsley.core.scope |
| Class | public class ScopeDefinition |
| Inheritance | ScopeDefinition Object |
| Property | Defined By | ||
|---|---|---|---|
| inherited : Boolean [read-only]
Indicates whether this scope will be inherited by child Contexts. | ScopeDefinition | ||
| name : String [read-only]
The name of the scope. | ScopeDefinition | ||
| uuid : String [read-only]
The unique id of this scope. | ScopeDefinition | ||
| Method | Defined By | ||
|---|---|---|---|
ScopeDefinition(name:String, inherited:Boolean, uuid:String)
Creates a new instance. | ScopeDefinition | ||
| inherited | property |
inherited:Boolean [read-only] Indicates whether this scope will be inherited by child Contexts.
public function get inherited():Boolean| name | property |
name:String [read-only] The name of the scope.
public function get name():String| uuid | property |
uuid:String [read-only] The unique id of this scope. In small or mid-size projects an id is often not needed, the framework will autogenerate the id in these cases and it can simply be ignored. In a big modular application there may be the need to address one particular scope within the system and the scheme of ids assigned to the scopes is often application-specific. The uid may be used to identify persistent published values or to explicitly route messages.
public function get uuid():String| ScopeDefinition | () | Constructor |
public function ScopeDefinition(name:String, inherited:Boolean, uuid:String)Creates a new instance.
Parametersname:String — the name of the scope
| |
inherited:Boolean — whether this scope will be inherited by child Contexts
| |
uuid:String — the globally unique id of this scope
|