Package com._1c.g5.v8.dt.ui.aef.models
Interface IChoiceParameterLinksModel<T extends AbstractChoiceParameterLink,U>
-
- Type Parameters:
T
- Type of choice parameter links in the list provided by the modelU
- Type of the attributes provided by the model
- All Superinterfaces:
Collection<T>
,IAttributeProvider<U>
,IList<T>
,IModel
,Iterable<T>
,IValidable
,List<T>
- All Known Subinterfaces:
IMdChoiceParameterLinksModel
- All Known Implementing Classes:
BmChoiceParameterLinksModel
,EmfChoiceParameterLinksModel
,StandardObjectChoiceParameterLinksModel
public interface IChoiceParameterLinksModel<T extends AbstractChoiceParameterLink,U> extends IList<T>, IAttributeProvider<U>
The contract for Choice parameter links models.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
areAttributesEqual(U attribute1, U attribute2)
Checks if two given attributes are equal.Collection<String>
getAllowedParameterNames()
Returns the collection of allowed parameter names.ScriptVariant
getScriptVariant()
Returns the script variant used in the model.U
toAttribute(T choiceParameterLink)
Extracts the attribute from a given choice parameter link.T
toLink(U attribute)
Creates a new choice parameter link based on a given attribute.-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface com._1c.g5.v8.dt.ui.aef.models.IAttributeProvider
getAttributes
-
Methods inherited from interface com._1c.g5.aef2.models.list.IList
addListListener, createWorkingCopy, 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.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
-
getScriptVariant
ScriptVariant getScriptVariant()
Returns the script variant used in the model.- Returns:
- Script variant
-
getAllowedParameterNames
Collection<String> getAllowedParameterNames()
Returns the collection of allowed parameter names.- Returns:
- Collection of allowed parameter names
-
toAttribute
U toAttribute(T choiceParameterLink)
Extracts the attribute from a given choice parameter link.- Parameters:
choiceParameterLink
- Choice parameter link to extract the attribute from- Returns:
- The attribute
-
toLink
T toLink(U attribute)
Creates a new choice parameter link based on a given attribute.- Parameters:
attribute
- Attribute which will be used in the created choice parameter link- Returns:
- A new choice parameter link
-
-