Package org.eclipse.esmf.characteristic
Interface Collection
- All Superinterfaces:
Characteristic,ModelElement,NamedElement
- All Known Subinterfaces:
List,Set,SortedSet,TimeSeries
- All Known Implementing Classes:
DefaultCollection,DefaultList,DefaultSet,DefaultSortedSet,DefaultTimeSeries
A group of values which may be either of a simple or complex type. The values may be duplicated and are not ordered.
- Since:
- SAMM 1.0.0
-
Method Summary
Methods inherited from interface org.eclipse.esmf.metamodel.Characteristic
getDataTypeMethods inherited from interface org.eclipse.esmf.metamodel.ModelElement
accept, as, getMetaModelVersion, isMethods inherited from interface org.eclipse.esmf.metamodel.NamedElement
getAspectModelUrn, getDescription, getDescriptions, getName, getPreferredName, getPreferredNames, getSee, hasSyntheticName
-
Method Details
-
isOrdered
boolean isOrdered()- Returns:
- a
booleanwhich determines whether the elements in the collection are ordered.
-
isAllowDuplicates
boolean isAllowDuplicates()- Returns:
- a
booleanwhich determines whether the collection may contain duplicate values.
-
getElementCharacteristic
- Returns:
Optionalcontaining theCharacteristicdescribing the elements of the Collection- Since:
- SAMM 1.0.0
-
getCollectionType
CollectionValue.CollectionType getCollectionType()
-