Class BmListMobileApplicationUrlsModel
- 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.list.ListModel<T>
-
- com._1c.g5.v8.dt.aef2.bm.models.BmList<MobileApplicationUrl>
-
- com._1c.g5.v8.dt.md.ui.aef.models.BmListMobileApplicationUrlsModel
-
- All Implemented Interfaces:
IAttribute<IBmObject,org.eclipse.emf.ecore.EStructuralFeature>
,IEditableModel
,IEmfAttribute<IBmObject>
,IModel
,IEmfListAttribute<MobileApplicationUrl,IBmObject>
,IList<MobileApplicationUrl>
,IValidable
,IModelApiAwareModel
,IMobileApplicationUrlsModel
,IAbstractMobileApplicationUrlsModel<MobileApplicationUrl>
,Iterable<MobileApplicationUrl>
,Collection<MobileApplicationUrl>
,List<MobileApplicationUrl>
public class BmListMobileApplicationUrlsModel extends BmList<MobileApplicationUrl> implements IMobileApplicationUrlsModel
The model forMobileApplicationUrl
.
-
-
Constructor Summary
Constructors Constructor Description BmListMobileApplicationUrlsModel(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addUrl()
Adds new url.IMobileApplicationUrlsModel
createWorkingCopy()
MobileApplicationUrl
getSelectedUrl()
Returns current selected url.protected boolean
isElementEqual(MobileApplicationUrl oldUrl, MobileApplicationUrl newUrl)
Checks the equality of the two elements of the list.void
removeUrl()
Removes current selection url.void
setSelectedUrl(MobileApplicationUrl selectedUrl)
Sets current selected url.-
Methods inherited from class com._1c.g5.v8.dt.aef2.bm.models.BmList
adapt, createTask, dispose, getChange, getModelApi, getObject, getProperty, setModelApi, setObjectValue
-
Methods inherited from class com._1c.g5.aef2.models.list.ListModel
add, add, addAll, addAll, addListListener, clear, contains, containsAll, discard, fill, get, getCommittedList, getUncommittedList, indexOf, isEmpty, isEqual, iterator, lastIndexOf, listIterator, listIterator, notifyListChanged, queueNotifyListChanged, remove, remove, removeAll, removeListListener, retainAll, set, setCommittedList, setList, setUncommitedList, size, subList, toArray, toArray, 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, getValidatorTarget, removeValidator, validate, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface com._1c.g5.aef2.models.IAttribute
getObject, getProperty
-
Methods inherited from interface com._1c.g5.aef2.models.IEditableModel
isEditable, setEditable
-
Methods inherited from interface com._1c.g5.aef2.models.list.IList
addListListener, fill, isEqual, removeListListener
-
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 java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-
-
-
Method Detail
-
addUrl
public void addUrl()
Description copied from interface:IMobileApplicationUrlsModel
Adds new url.- Specified by:
addUrl
in interfaceIMobileApplicationUrlsModel
-
createWorkingCopy
public IMobileApplicationUrlsModel createWorkingCopy()
- Specified by:
createWorkingCopy
in interfaceIList<MobileApplicationUrl>
- Specified by:
createWorkingCopy
in interfaceIModel
- Overrides:
createWorkingCopy
in classListModel<MobileApplicationUrl>
- Returns:
- the model working copy or
null
if working copies is not supported by the model.
-
getSelectedUrl
public MobileApplicationUrl getSelectedUrl()
Description copied from interface:IMobileApplicationUrlsModel
Returns current selected url.- Specified by:
getSelectedUrl
in interfaceIMobileApplicationUrlsModel
- Returns:
- the current selected url, cannot be
null
-
removeUrl
public void removeUrl()
Description copied from interface:IMobileApplicationUrlsModel
Removes current selection url.- Specified by:
removeUrl
in interfaceIMobileApplicationUrlsModel
-
setSelectedUrl
public void setSelectedUrl(MobileApplicationUrl selectedUrl)
Description copied from interface:IMobileApplicationUrlsModel
Sets current selected url.- Specified by:
setSelectedUrl
in interfaceIMobileApplicationUrlsModel
- Parameters:
selectedUrl
- the current selected url, cannot benull
-
isElementEqual
protected boolean isElementEqual(MobileApplicationUrl oldUrl, MobileApplicationUrl newUrl)
Description copied from class:ListModel
Checks the equality of the two elements of the list.- Overrides:
isElementEqual
in classListModel<MobileApplicationUrl>
- Parameters:
oldUrl
- the first elementnewUrl
- the second element- Returns:
true
if the elements are equals, otherwise -false
.
-
-