Packageorg.spicefactory.lib.util
Classpublic class Flag
InheritanceFlag Inheritance Object

Simple utility that can be used where a value can have three states: undefined, true and false. For a property of type Flag it can be set to null for the first state and concrete instances can represent the remaining 2 states.



Public Properties
 PropertyDefined By
  value : Boolean
[read-only] The value of this flag.
Flag
Public Methods
 MethodDefined By
  
Flag(value:Boolean)
Creates a new instance.
Flag
Property Detail
valueproperty
value:Boolean  [read-only]

The value of this flag.


Implementation
    public function get value():Boolean
Constructor Detail
Flag()Constructor
public function Flag(value:Boolean)

Creates a new instance.

Parameters
value:Boolean — the value of the flag