+ * + * Defines the type of the array elements. * + * + *+ */ + Object getItems(); + /** + * Getter for property https://w3id.org/cwl/salad#type
+ * + * Must be `array` * + * + *+ */ + enum_d062602be0b4b8fd33e69e29a841317b6ab665bc getType(); +} diff --git a/java/src/main/java/org/galaxyproject/gxformat2/v19_09/ArraySchemaImpl.java b/java/src/main/java/org/galaxyproject/gxformat2/v19_09/ArraySchemaImpl.java new file mode 100644 index 0000000..31b6708 --- /dev/null +++ b/java/src/main/java/org/galaxyproject/gxformat2/v19_09/ArraySchemaImpl.java @@ -0,0 +1,102 @@ +package org.galaxyproject.gxformat2.v19_09; + +import org.galaxyproject.gxformat2.v19_09.utils.LoaderInstances; +import org.galaxyproject.gxformat2.v19_09.utils.LoadingOptions; +import org.galaxyproject.gxformat2.v19_09.utils.LoadingOptionsBuilder; +import org.galaxyproject.gxformat2.v19_09.utils.SavableImpl; +import org.galaxyproject.gxformat2.v19_09.utils.ValidationException; + +/** Auto-generated class implementation for https://w3id.org/cwl/salad#ArraySchema
+ * + * Defines the type of the array elements. * + * + *+ */ + public Object getItems() { + return this.items; + } + + private enum_d062602be0b4b8fd33e69e29a841317b6ab665bc type; + + /** + * Getter for property https://w3id.org/cwl/salad#type
+ * + * Must be `array` * + * + *+ */ + public enum_d062602be0b4b8fd33e69e29a841317b6ab665bc getType() { + return this.type; + } + + /** + * Used by {@link org.galaxyproject.gxformat2.v19_09.utils.RootLoader} to construct instances of + * ArraySchemaImpl. + * + * @param __doc_ Document fragment to load this record object from (presumably a {@link + * java.util.Map}). + * @param __baseUri_ Base URI to generate child document IDs against. + * @param __loadingOptions Context for loading URIs and populating objects. + * @param __docRoot_ ID at this position in the document (if available) (maybe?) + * @throws ValidationException If the document fragment is not a {@link java.util.Map} or + * validation of fields fails. + */ + public ArraySchemaImpl( + final Object __doc_, + final String __baseUri_, + LoadingOptions __loadingOptions, + final String __docRoot_) { + super(__doc_, __baseUri_, __loadingOptions, __docRoot_); + // Prefix plumbing variables with '__' to reduce likelihood of collision with + // generated names. + String __baseUri = __baseUri_; + String __docRoot = __docRoot_; + if (!(__doc_ instanceof java.util.Map)) { + throw new ValidationException("ArraySchemaImpl called on non-map"); + } + final java.util.Map
+ * + * A documentation string for this object, or an array of strings which should be concatenated. * + * + *+ */ + Object getDoc(); +} diff --git a/java/src/main/java/org/galaxyproject/gxformat2/v19_09/EnumSchema.java b/java/src/main/java/org/galaxyproject/gxformat2/v19_09/EnumSchema.java new file mode 100644 index 0000000..cba8288 --- /dev/null +++ b/java/src/main/java/org/galaxyproject/gxformat2/v19_09/EnumSchema.java @@ -0,0 +1,36 @@ +package org.galaxyproject.gxformat2.v19_09; + +import org.galaxyproject.gxformat2.v19_09.utils.Savable; + +/** + * Auto-generated interface for https://w3id.org/cwl/salad#EnumSchema
+ * + * Define an enumerated type. + * + *+ */ +public interface EnumSchema extends Savable { + /** + * Getter for property https://w3id.org/cwl/salad#symbols
+ * + * Defines the set of valid symbols. * + * + *+ */ + java.util.List