diff --git a/pmml-model/src/main/java/org/jpmml/model/annotations/Since.java b/pmml-model/src/main/java/org/jpmml/model/annotations/Since.java new file mode 100644 index 00000000..020bbd7e --- /dev/null +++ b/pmml-model/src/main/java/org/jpmml/model/annotations/Since.java @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2024 Villu Ruusmann + */ +package org.jpmml.model.annotations; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention ( + value = RetentionPolicy.RUNTIME +) +@Target ( + value = {ElementType.TYPE, ElementType.FIELD} +) +public @interface Since { + + String value(); +} \ No newline at end of file diff --git a/pmml-model/src/main/schema/pmml.xjb b/pmml-model/src/main/schema/pmml.xjb index 082c6d46..151886dc 100644 --- a/pmml-model/src/main/schema/pmml.xjb +++ b/pmml-model/src/main/schema/pmml.xjb @@ -92,6 +92,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.5.0") @@ -241,6 +242,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -347,6 +349,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -388,6 +391,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -603,6 +607,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -1140,6 +1145,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -1289,6 +1295,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -1590,6 +1597,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -1632,6 +1640,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.PMML_4_4) + org.jpmml.model.annotations.Since("1.3.8") @@ -1718,6 +1727,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -1758,6 +1768,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -1794,6 +1805,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.5.2") @@ -1837,6 +1849,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.5.2") @@ -1844,6 +1857,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -2129,6 +2143,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.8") @@ -2288,6 +2303,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.3") @@ -2553,6 +2569,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -2696,6 +2713,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -2735,6 +2753,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -2827,6 +2846,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.PMML_4_4) + org.jpmml.model.annotations.Since("1.4.3") @@ -2838,6 +2858,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.PMML_4_4) + org.jpmml.model.annotations.Since("1.4.3") @@ -2853,14 +2874,17 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.PMML_4_4) + org.jpmml.model.annotations.Since("1.3.3") org.jpmml.model.annotations.Added(org.dmg.pmml.Version.PMML_4_4) + org.jpmml.model.annotations.Since("1.3.3") org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.6.4") @@ -2949,6 +2973,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -3154,6 +3179,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -3346,6 +3372,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.5.10") @@ -3364,6 +3391,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.5.10") @@ -3386,6 +3414,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -3572,6 +3601,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -3685,6 +3715,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.7") @@ -3939,6 +3970,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.4.1") @@ -3946,6 +3978,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.4.1") @@ -3953,6 +3986,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.4.1") @@ -3960,6 +3994,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.4.1") @@ -3967,6 +4002,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.4.1") @@ -3974,6 +4010,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.4.1") @@ -3981,6 +4018,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.4.1") @@ -3988,6 +4026,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.4.1") @@ -4046,6 +4085,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.PMML_4_4) + org.jpmml.model.annotations.Since("1.4.2") @@ -4182,6 +4222,7 @@ Copyright (c) 2014 Villu Ruusmann org.jpmml.model.annotations.Added(org.dmg.pmml.Version.XPMML) + org.jpmml.model.annotations.Since("1.3.8")