1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- var FEATURE_OBJECT_NO_ERROR = 0;
- function AFeatureObject()
- {
- this.m_iErrorState = FEATURE_OBJECT_NO_ERROR;
- this.m_bRequiresDialog = false;
- this.m_bFeatureRequiresQualityOfService = false;
- this.m_aParams = new Array();
- this.m_sFeatureName = "undefinedFeature";
- this.m_sFeatureState = "uninitialized";
- };
- AFeatureObject.prototype.isInErrorState = function ()
- {
- if (this.m_iErrorState === FEATURE_OBJECT_NO_ERROR)
- {
- return false;
- }
- else
- {
- return true;
- }
- };
- AFeatureObject.prototype.isDialogRequired = function ()
- {
- return this.m_bRequiresDialog;
- };
- AFeatureObject.prototype.isSafeWithoutDialog = function ()
- {
- if (this.m_bRequiresDialog === false && this.isInErrorState() === false)
- {
- return true;
- }
- return false;
- };
- AFeatureObject.prototype.setQualityOfServiceStatus = function (bQOS)
- {
- this.m_bFeatureRequiresQualityOfService = (bQOS === true);
- };
- AFeatureObject.prototype.isQualityOfServiceRequired = function ()
- {
- return this.m_bFeatureRequiresQualityOfService;
- };
- AFeatureObject.prototype.getDialogParameters = function ()
- {
- return this.m_aParams;
- };
- AFeatureObject.prototype.getFeatureObjectName = function ()
- {
- return this.m_sFeatureName;
- };
- AFeatureObject.prototype.processErrorState = function ()
- {
- };
- AFeatureObject.prototype.proceedWithoutDialog = function ()
- {
- };
- AFeatureObject.prototype.setup = function ()
- {
- };
- AFeatureObject.prototype.execute = function (aParameters)
- {
- };
|