Package com._1c.g5.v8.dt.aef2.bm.models
Class BmSkipNullValue<T>
- 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<T>
-
- com._1c.g5.v8.dt.aef2.bm.models.BmSkipNullValue<T>
-
- All Implemented Interfaces:
IAttribute<IBmObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<IBmObject>
,IModel
,IEmfValueAttribute<T,IBmObject>
,IValue<T>
,IValidable
,IModelApiAwareModel
public class BmSkipNullValue<T> extends BmValue<T>
RepresentsBmValue
which avoids setting ofnull
values to the model.
-
-
Constructor Summary
Constructors Modifier Constructor Description BmSkipNullValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
Instantiates new value.protected
BmSkipNullValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, T initialValue)
Instantiates new value with initial value set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IChange
getChange()
-
Methods inherited from class com._1c.g5.v8.dt.aef2.bm.models.BmValue
adapt, createTask, dispose, getModelApi, getObject, getObjectValue, getProperty, processBmValueChange, setModelApi, setObjectValue
-
Methods inherited from class com._1c.g5.aef2.models.value.Value
addValueListener, createWorkingCopy, 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.IModel
addModelListener, commit, discard, getComponent, isOnline, removeModelListener, setComponent
-
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, createWorkingCopy, get, isEqual, removeValueListener, set
-
-
-
-
Constructor Detail
-
BmSkipNullValue
public BmSkipNullValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
Instantiates new value.- Parameters:
object
- the object, cannot benull
feature
- the object feature, cannot benull
-
BmSkipNullValue
protected BmSkipNullValue(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, T initialValue)
Instantiates new value with initial value set.- Parameters:
object
- the object, cannot benull
feature
- the object feature, cannot benull
initialValue
- the initial value, can benull
-
-