Skip to content

Commit b21aa56

Browse files
committed
now with IdentifierRequired
1 parent c12768a commit b21aa56

File tree

7 files changed

+35
-4
lines changed

7 files changed

+35
-4
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Copyright Common Workflow Language project contributors
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
15+
package org.commonwl.cwlsdk.cwl1_2;
16+
17+
import org.commonwl.cwlsdk.cwl1_2.utils.LoadingOptions;
18+
import org.commonwl.cwlsdk.cwl1_2.utils.Saveable;
19+
20+
/**
21+
* Auto-generated interface for <I>https://w3id.org/cwl/cwl#IdentifierRequired</I><BR>
22+
*/
23+
public interface IdentifierRequired extends Identified, Saveable {
24+
25+
java.util.Map<String, Object> getExtensionFields();
26+
LoadingOptions getLoadingOptions();
27+
28+
}

src/main/java/org/commonwl/cwlsdk/cwl1_2/Parameter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
Define an input or output parameter to a process.
2323
</BLOCKQUOTE>
2424
*/
25-
public interface Parameter extends FieldBase, Documented, Identified, Saveable {
25+
public interface Parameter extends FieldBase, Documented, IdentifierRequired, Saveable {
2626

2727
java.util.Map<String, Object> getExtensionFields();
2828
LoadingOptions getLoadingOptions();

src/main/java/org/commonwl/cwlsdk/cwl1_2/WorkflowStep.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ input object (or individual scatter job), and returns a boolean
100100
a subworkflow (recursive workflows are not allowed).
101101
</BLOCKQUOTE>
102102
*/
103-
public interface WorkflowStep extends Identified, Labeled, Documented, Saveable {
103+
public interface WorkflowStep extends IdentifierRequired, Labeled, Documented, Saveable {
104104

105105
java.util.Map<String, Object> getExtensionFields();
106106
LoadingOptions getLoadingOptions();

src/main/java/org/commonwl/cwlsdk/cwl1_2/WorkflowStepInput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ sources are conditional, so null sources (from skipped steps)
129129
should be filtered out.
130130
</BLOCKQUOTE>
131131
*/
132-
public interface WorkflowStepInput extends Identified, Sink, LoadContents, Labeled, Saveable {
132+
public interface WorkflowStepInput extends IdentifierRequired, Sink, LoadContents, Labeled, Saveable {
133133

134134
java.util.Map<String, Object> getExtensionFields();
135135
LoadingOptions getLoadingOptions();

src/main/java/org/commonwl/cwlsdk/cwl1_2/WorkflowStepOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ parameter. The workflow parameter (given in the `id` field) be may be used
2929
to connect the output value to downstream parameters.
3030
</BLOCKQUOTE>
3131
*/
32-
public interface WorkflowStepOutput extends Identified, Saveable {
32+
public interface WorkflowStepOutput extends IdentifierRequired, Saveable {
3333

3434
java.util.Map<String, Object> getExtensionFields();
3535
LoadingOptions getLoadingOptions();

src/main/java/org/commonwl/cwlsdk/cwl1_2/utils/ConstantMaps.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public class ConstantMaps {
4747
vocab.put("File", "File");
4848
vocab.put("IOSchema", "https://w3id.org/cwl/cwl#IOSchema");
4949
vocab.put("Identified", "https://w3id.org/cwl/cwl#Identified");
50+
vocab.put("IdentifierRequired", "https://w3id.org/cwl/cwl#IdentifierRequired");
5051
vocab.put("InitialWorkDirRequirement", "InitialWorkDirRequirement");
5152
vocab.put("InlineJavascriptRequirement", "InlineJavascriptRequirement");
5253
vocab.put("InplaceUpdateRequirement", "InplaceUpdateRequirement");
@@ -190,6 +191,7 @@ public class ConstantMaps {
190191
rvocab.put("File", "File");
191192
rvocab.put("https://w3id.org/cwl/cwl#IOSchema", "IOSchema");
192193
rvocab.put("https://w3id.org/cwl/cwl#Identified", "Identified");
194+
rvocab.put("https://w3id.org/cwl/cwl#IdentifierRequired", "IdentifierRequired");
193195
rvocab.put("InitialWorkDirRequirement", "InitialWorkDirRequirement");
194196
rvocab.put("InlineJavascriptRequirement", "InlineJavascriptRequirement");
195197
rvocab.put("InplaceUpdateRequirement", "InplaceUpdateRequirement");

src/main/java/org/commonwl/cwlsdk/cwl1_2/utils/LoaderInstances.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public class LoaderInstances {
5454
public static Loader<CWLVersion> CWLVersion = new EnumLoader(CWLVersion.class);
5555
public static Loader<org.commonwl.cwlsdk.cwl1_2.Labeled> Labeled = new RecordLoader<org.commonwl.cwlsdk.cwl1_2.Labeled>(org.commonwl.cwlsdk.cwl1_2.Labeled.class, null, null);
5656
public static Loader<org.commonwl.cwlsdk.cwl1_2.Identified> Identified = new RecordLoader<org.commonwl.cwlsdk.cwl1_2.Identified>(org.commonwl.cwlsdk.cwl1_2.Identified.class, null, null);
57+
public static Loader<org.commonwl.cwlsdk.cwl1_2.IdentifierRequired> IdentifierRequired = new RecordLoader<org.commonwl.cwlsdk.cwl1_2.IdentifierRequired>(org.commonwl.cwlsdk.cwl1_2.IdentifierRequired.class, null, null);
5758
public static Loader<LoadListingEnum> LoadListingEnum = new EnumLoader(LoadListingEnum.class);
5859
public static Loader<org.commonwl.cwlsdk.cwl1_2.LoadContents> LoadContents = new RecordLoader<org.commonwl.cwlsdk.cwl1_2.LoadContents>(org.commonwl.cwlsdk.cwl1_2.LoadContents.class, null, null);
5960
public static Loader<org.commonwl.cwlsdk.cwl1_2.FieldBase> FieldBase = new RecordLoader<org.commonwl.cwlsdk.cwl1_2.FieldBase>(org.commonwl.cwlsdk.cwl1_2.FieldBase.class, null, null);

0 commit comments

Comments
 (0)