Add ep: Number "http://schema.org/Number"
@@ -171,6 +171,18 @@ public class EpProperties {
return ep(label, XSD._boolean.toString(), runtimeName, domainProperty);
}
+ /**
+ * Creates a new primitive property of type number and the provided domain property.
+ * @param runtimeName The field identifier of the event property at runtime.
+ * @param domainProperty The semantics of the list property as a String. The string should correspond to a URI
+ * provided by a vocabulary. Use one of the vocabularies provided in
+ * {@link org.streampipes.vocabulary} or create your own domain-specific vocabulary.
+ * @return {@link org.streampipes.model.schema.EventPropertyPrimitive}
+ */
+ public static EventPropertyPrimitive numberEp(Label label, String runtimeName, String domainProperty) {
+ return ep(label, "http://schema.org/Number", runtimeName, domainProperty);
+ }
+
/**
* Creates a new primitive property of type string and the provided domain property.
* @param runtimeName The field identifier of the event property at runtime.
