You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: core/esmf-aspect-meta-model-interface/src/main/java/org/eclipse/esmf/metamodel/characteristic/Collection.java
+9-3
Original file line number
Diff line number
Diff line change
@@ -24,20 +24,26 @@
24
24
* @since SAMM 1.0.0
25
25
*/
26
26
publicinterfaceCollectionextendsCharacteristic {
27
-
28
27
/**
29
28
* @return a {@link boolean} which determines whether the elements in the collection are ordered.
30
29
*/
31
30
booleanisOrdered();
32
31
32
+
/**
33
+
* @deprecated Use {@link #allowsDuplicates()} instead
34
+
*/
35
+
@Deprecated( forRemoval = true )
36
+
defaultbooleanisAllowDuplicates() {
37
+
returnallowsDuplicates();
38
+
}
39
+
33
40
/**
34
41
* @return a {@link boolean} which determines whether the collection may contain duplicate values.
35
42
*/
36
-
booleanisAllowDuplicates();
43
+
booleanallowsDuplicates();
37
44
38
45
/**
39
46
* @return {@link Optional} containing the {@link Characteristic} describing the elements of the Collection
Copy file name to clipboardexpand all lines: core/esmf-aspect-meta-model-interface/src/main/java/org/eclipse/esmf/metamodel/characteristic/StructuredValue.java
Copy file name to clipboardexpand all lines: core/esmf-aspect-meta-model-interface/src/main/java/org/eclipse/esmf/metamodel/constraint/RangeConstraint.java
+6-8
Original file line number
Diff line number
Diff line change
@@ -28,29 +28,27 @@
28
28
publicinterfaceRangeConstraintextendsConstraint {
29
29
30
30
/**
31
-
* @return the lower bound of the range. The type of the values is determined by the {@link Type} returned by
32
-
* {@link RangeConstraint#getDataType()}.
31
+
* @return the lower bound of the range. The type of the values is determined by the {@link Type} of the Trait that the Constraint
32
+
* is used with.
33
33
*/
34
34
Optional<ScalarValue> getMinValue();
35
35
36
36
/**
37
-
* @return the upper bound of the range. The type of the values is determined by the {@link Type} returned by
38
-
* {@link RangeConstraint#getDataType()}.
37
+
* @return the upper bound of the range. The type of the values is determined by the {@link Type} of the Trait that the Constraint
38
+
* is used with.
39
39
*/
40
40
Optional<ScalarValue> getMaxValue();
41
41
42
42
/**
43
43
* @return the definition of how the lower bound of the range is to be interpreted. Possible values are
44
-
* 'OPEN', 'AT_LEAST' and 'GREATER_THAN'
45
-
*
44
+
* 'OPEN', 'AT_LEAST' and 'GREATER_THAN'
46
45
* @since SAMM 1.0.0
47
46
*/
48
47
BoundDefinitiongetLowerBoundDefinition();
49
48
50
49
/**
51
50
* @return the definition of how the upper bound of the range is to be interpreted. Possible values are
Copy file name to clipboardexpand all lines: core/esmf-aspect-meta-model-interface/src/main/java/org/eclipse/esmf/metamodel/vocabulary/RdfNamespace.java
+9-7
Original file line number
Diff line number
Diff line change
@@ -53,10 +53,12 @@ default Resource resource( final String name ) {
0 commit comments