Class BmValueUsedMobileApplicationFunctionalitiesModel
- java.lang.Object
-
- com._1c.g5.aef2.validators.Validable
-
- com._1c.g5.aef2.models.Model
-
- com._1c.g5.aef2.models.EditableModel
-
- com._1c.g5.aef2.models.value.Value<T>
-
- com._1c.g5.v8.dt.aef2.bm.models.BmValue<UsedFunctionality>
-
- com._1c.g5.v8.dt.md.ui.aef.models.BmValueUsedMobileApplicationFunctionalitiesModel
-
- All Implemented Interfaces:
IAttribute<IBmObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<IBmObject>
,IModel
,IEmfValueAttribute<UsedFunctionality,IBmObject>
,IValue<UsedFunctionality>
,IValidable
,IModelApiAwareModel
,IUsedMobileApplicationFunctionalitiesModel
public class BmValueUsedMobileApplicationFunctionalitiesModel extends BmValue<UsedFunctionality> implements IUsedMobileApplicationFunctionalitiesModel
IRequiredPermissionsModel
implementation.
-
-
Constructor Summary
Constructors Constructor Description BmValueUsedMobileApplicationFunctionalitiesModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IV8Project v8project, IEditingLanguageManager languageManager)
Creates new model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Value<UsedFunctionality>
createWorkingCopy()
String
getEditingLanguageCode()
Returns editing language code.IV8Project
getV8Project()
Returns V8 project.MobileApplicationFunctionalities
mapPermissionToFunctionality(RequiredMobileApplicationPermissionMessages permission)
Maps permission to functionality.-
Methods inherited from class com._1c.g5.v8.dt.aef2.bm.models.BmValue
adapt, createTask, dispose, getChange, getModelApi, getObject, getObjectValue, getProperty, processBmValueChange, setModelApi, setObjectValue
-
Methods inherited from class com._1c.g5.aef2.models.value.Value
addValueListener, discard, get, getCommittedValue, getUncommittedValue, getValidatorTarget, isEqual, notifyValueChanged, queueNotifyValueChanged, removeValueListener, set, setCommittedValue, setUncommittedValue, setValue, toString
-
Methods inherited from class com._1c.g5.aef2.models.EditableModel
isEditable, setEditable
-
Methods inherited from class com._1c.g5.aef2.models.Model
addModelListener, beginExternalUpdate, checkOffline, checkOnline, commit, endExternalUpdate, getComponent, getCurrentChangeOrigin, getRunnableQueue, isOnline, notifyModelChanged, notifyModelCommitted, removeModelListener, setComponent, setOnline
-
Methods inherited from class com._1c.g5.aef2.validators.Validable
addValidator, removeValidator, validate, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com._1c.g5.aef2.models.IAttribute
getObject, getProperty
-
Methods inherited from interface com._1c.g5.aef2.models.IModel
addModelListener, commit, discard, dispose, getChange, getComponent, isOnline, removeModelListener, setComponent
-
Methods inherited from interface com._1c.g5.v8.dt.aef2.IModelApiAwareModel
getModelApi, setModelApi
-
Methods inherited from interface com._1c.g5.aef2.validators.IValidable
addValidator, removeValidator, validate, validate
-
Methods inherited from interface com._1c.g5.aef2.models.value.IValue
addValueListener, get, isEqual, removeValueListener, set
-
-
-
-
Constructor Detail
-
BmValueUsedMobileApplicationFunctionalitiesModel
public BmValueUsedMobileApplicationFunctionalitiesModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, IV8Project v8project, IEditingLanguageManager languageManager)
Creates new model.- Parameters:
object
- the object, cannot benull
feature
- the feature, cannot benull
v8project
- the V8 project, cannot benull
languageManager
- the language manager, cannot benull
-
-
Method Detail
-
getEditingLanguageCode
public String getEditingLanguageCode()
Description copied from interface:IUsedMobileApplicationFunctionalitiesModel
Returns editing language code.- Specified by:
getEditingLanguageCode
in interfaceIUsedMobileApplicationFunctionalitiesModel
- Returns:
- the editing language code, cannot be
null
-
getV8Project
public IV8Project getV8Project()
Description copied from interface:IUsedMobileApplicationFunctionalitiesModel
Returns V8 project.- Specified by:
getV8Project
in interfaceIUsedMobileApplicationFunctionalitiesModel
- Returns:
- the V8 project, cannot be
null
-
createWorkingCopy
public Value<UsedFunctionality> createWorkingCopy()
- Specified by:
createWorkingCopy
in interfaceIModel
- Specified by:
createWorkingCopy
in interfaceIValue<UsedFunctionality>
- Overrides:
createWorkingCopy
in classValue<UsedFunctionality>
- Returns:
- the model working copy or
null
if working copies is not supported by the model.
-
mapPermissionToFunctionality
public MobileApplicationFunctionalities mapPermissionToFunctionality(RequiredMobileApplicationPermissionMessages permission)
Description copied from interface:IUsedMobileApplicationFunctionalitiesModel
Maps permission to functionality.- Specified by:
mapPermissionToFunctionality
in interfaceIUsedMobileApplicationFunctionalitiesModel
- Parameters:
permission
- the permission, cannot benull
- Returns:
- the functionality, cannot be
null
-
-