Packagecom.asterisq.licensing
Classpublic class License

A license for an Asterisq product.



Public Properties
 PropertyDefined by
  domain : String
[read-only]
License
  expiry : String
[read-only]
License
  key : String
[read-only]
License
  productID : String
[read-only]
License
Public Methods
 MethodDefined by
  
License(productID:String, domain:String, expiry:String, key:String)
License
  
fromXML(license:XML):License
[static]
License
  
toString():String
License
Public Constants
 ConstantDefined by
  INVALID_DOMAIN : int = 2
[static]
License
  INVALID_EXPIRY : int = 3
[static]
License
  INVALID_KEY : int = 4
[static]
License
  INVALID_PRODUCT_ID : int = 1
[static]
License
  VALID : int = 0
[static]
License
Property detail
domainproperty
domain:String  [read-only]Implementation
    public function get domain():String
expiryproperty 
expiry:String  [read-only]Implementation
    public function get expiry():String
keyproperty 
key:String  [read-only]Implementation
    public function get key():String
productIDproperty 
productID:String  [read-only]Implementation
    public function get productID():String
Constructor detail
License()constructor
public function License(productID:String, domain:String, expiry:String, key:String)Parameters
productID:String
 
domain:String
 
expiry:String
 
key:String
Method detail
fromXML()method
public static function fromXML(license:XML):LicenseParameters
license:XML

Returns
License
toString()method 
public function toString():String

Returns
String
Constant detail
INVALID_DOMAINconstant
public static const INVALID_DOMAIN:int = 2
INVALID_EXPIRYconstant 
public static const INVALID_EXPIRY:int = 3
INVALID_KEYconstant 
public static const INVALID_KEY:int = 4
INVALID_PRODUCT_IDconstant 
public static const INVALID_PRODUCT_ID:int = 1
VALIDconstant 
public static const VALID:int = 0