Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ public interface CommandInputParameter extends InputParameter, Saveable {
LoadingOptions getLoadingOptions();

/**
* Getter for property <I>https://w3id.org/cwl/cwl#Identified/id</I><BR>
* Getter for property <I>https://w3id.org/cwl/cwl#Parameter/id</I><BR>
* <BLOCKQUOTE>
* The unique identifier for this object. * </BLOCKQUOTE>
* The unique identifier for this Parameter. * </BLOCKQUOTE>
*/

java.util.Optional<String> getId();
String getId();
/**
* Getter for property <I>https://w3id.org/cwl/cwl#Labeled/label</I><BR>
* <BLOCKQUOTE>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ public java.util.Map<String, Object> getExtensionFields() {
return this.extensionFields_;
}

private java.util.Optional<String> id;
private String id;

/**
* Getter for property <I>https://w3id.org/cwl/cwl#Identified/id</I><BR>
* Getter for property <I>https://w3id.org/cwl/cwl#Parameter/id</I><BR>
* <BLOCKQUOTE>
* The unique identifier for this object. * </BLOCKQUOTE>
* The unique identifier for this Parameter. * </BLOCKQUOTE>
*/

public java.util.Optional<String> getId() {
public String getId() {
return this.id;
}

Expand Down Expand Up @@ -275,13 +275,13 @@ public CommandInputParameterImpl(
if (__loadingOptions != null) {
this.loadingOptions_ = __loadingOptions;
}
java.util.Optional<String> id;
String id;

if (__doc.containsKey("id")) {
try {
id =
LoaderInstances
.uri_optional_StringInstance_True_False_None_None
.uri_StringInstance_True_False_None_None
.loadField(__doc.get("id"), __baseUri, __loadingOptions);
} catch (ValidationException e) {
id = null; // won't be used but prevents compiler from complaining.
Expand All @@ -293,19 +293,14 @@ public CommandInputParameterImpl(
id = null;
}

Boolean __original_is_null = id == null;
if (id == null) {
if (__docRoot != null) {
id = java.util.Optional.of(__docRoot);
id = __docRoot;
} else {
id = java.util.Optional.of("_:" + java.util.UUID.randomUUID().toString());
throw new ValidationException("Missing id");
}
}
if (__original_is_null) {
__baseUri = __baseUri_;
} else {
__baseUri = (String) id.orElse(null);
}
__baseUri = (String) id;
java.util.Optional<String> label;

if (__doc.containsKey("label")) {
Expand Down Expand Up @@ -477,7 +472,7 @@ public CommandInputParameterImpl(
this.secondaryFiles = (Object) secondaryFiles;
this.streamable = (java.util.Optional<Boolean>) streamable;
this.doc = (Object) doc;
this.id = (java.util.Optional<String>) id;
this.id = (String) id;
this.format = (Object) format;
this.loadContents = (java.util.Optional<Boolean>) loadContents;
this.loadListing = (java.util.Optional<LoadListingEnum>) loadListing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ public interface CommandOutputParameter extends OutputParameter, Saveable {
LoadingOptions getLoadingOptions();

/**
* Getter for property <I>https://w3id.org/cwl/cwl#Identified/id</I><BR>
* Getter for property <I>https://w3id.org/cwl/cwl#Parameter/id</I><BR>
* <BLOCKQUOTE>
* The unique identifier for this object. * </BLOCKQUOTE>
* The unique identifier for this Parameter. * </BLOCKQUOTE>
*/

java.util.Optional<String> getId();
String getId();
/**
* Getter for property <I>https://w3id.org/cwl/cwl#Labeled/label</I><BR>
* <BLOCKQUOTE>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ public java.util.Map<String, Object> getExtensionFields() {
return this.extensionFields_;
}

private java.util.Optional<String> id;
private String id;

/**
* Getter for property <I>https://w3id.org/cwl/cwl#Identified/id</I><BR>
* Getter for property <I>https://w3id.org/cwl/cwl#Parameter/id</I><BR>
* <BLOCKQUOTE>
* The unique identifier for this object. * </BLOCKQUOTE>
* The unique identifier for this Parameter. * </BLOCKQUOTE>
*/

public java.util.Optional<String> getId() {
public String getId() {
return this.id;
}

Expand Down Expand Up @@ -213,13 +213,13 @@ public CommandOutputParameterImpl(
if (__loadingOptions != null) {
this.loadingOptions_ = __loadingOptions;
}
java.util.Optional<String> id;
String id;

if (__doc.containsKey("id")) {
try {
id =
LoaderInstances
.uri_optional_StringInstance_True_False_None_None
.uri_StringInstance_True_False_None_None
.loadField(__doc.get("id"), __baseUri, __loadingOptions);
} catch (ValidationException e) {
id = null; // won't be used but prevents compiler from complaining.
Expand All @@ -231,19 +231,14 @@ public CommandOutputParameterImpl(
id = null;
}

Boolean __original_is_null = id == null;
if (id == null) {
if (__docRoot != null) {
id = java.util.Optional.of(__docRoot);
id = __docRoot;
} else {
id = java.util.Optional.of("_:" + java.util.UUID.randomUUID().toString());
throw new ValidationException("Missing id");
}
}
if (__original_is_null) {
__baseUri = __baseUri_;
} else {
__baseUri = (String) id.orElse(null);
}
__baseUri = (String) id;
java.util.Optional<String> label;

if (__doc.containsKey("label")) {
Expand Down Expand Up @@ -364,7 +359,7 @@ public CommandOutputParameterImpl(
this.secondaryFiles = (Object) secondaryFiles;
this.streamable = (java.util.Optional<Boolean>) streamable;
this.doc = (Object) doc;
this.id = (java.util.Optional<String>) id;
this.id = (String) id;
this.format = (Object) format;
this.type = (Object) type;
this.outputBinding = (java.util.Optional<CommandOutputBinding>) outputBinding;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ public interface ExpressionToolOutputParameter extends OutputParameter, Saveable
LoadingOptions getLoadingOptions();

/**
* Getter for property <I>https://w3id.org/cwl/cwl#Identified/id</I><BR>
* Getter for property <I>https://w3id.org/cwl/cwl#Parameter/id</I><BR>
* <BLOCKQUOTE>
* The unique identifier for this object. * </BLOCKQUOTE>
* The unique identifier for this Parameter. * </BLOCKQUOTE>
*/

java.util.Optional<String> getId();
String getId();
/**
* Getter for property <I>https://w3id.org/cwl/cwl#Labeled/label</I><BR>
* <BLOCKQUOTE>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ public java.util.Map<String, Object> getExtensionFields() {
return this.extensionFields_;
}

private java.util.Optional<String> id;
private String id;

/**
* Getter for property <I>https://w3id.org/cwl/cwl#Identified/id</I><BR>
* Getter for property <I>https://w3id.org/cwl/cwl#Parameter/id</I><BR>
* <BLOCKQUOTE>
* The unique identifier for this object. * </BLOCKQUOTE>
* The unique identifier for this Parameter. * </BLOCKQUOTE>
*/

public java.util.Optional<String> getId() {
public String getId() {
return this.id;
}

Expand Down Expand Up @@ -202,13 +202,13 @@ public ExpressionToolOutputParameterImpl(
if (__loadingOptions != null) {
this.loadingOptions_ = __loadingOptions;
}
java.util.Optional<String> id;
String id;

if (__doc.containsKey("id")) {
try {
id =
LoaderInstances
.uri_optional_StringInstance_True_False_None_None
.uri_StringInstance_True_False_None_None
.loadField(__doc.get("id"), __baseUri, __loadingOptions);
} catch (ValidationException e) {
id = null; // won't be used but prevents compiler from complaining.
Expand All @@ -220,19 +220,14 @@ public ExpressionToolOutputParameterImpl(
id = null;
}

Boolean __original_is_null = id == null;
if (id == null) {
if (__docRoot != null) {
id = java.util.Optional.of(__docRoot);
id = __docRoot;
} else {
id = java.util.Optional.of("_:" + java.util.UUID.randomUUID().toString());
throw new ValidationException("Missing id");
}
}
if (__original_is_null) {
__baseUri = __baseUri_;
} else {
__baseUri = (String) id.orElse(null);
}
__baseUri = (String) id;
java.util.Optional<String> label;

if (__doc.containsKey("label")) {
Expand Down Expand Up @@ -336,7 +331,7 @@ public ExpressionToolOutputParameterImpl(
this.secondaryFiles = (Object) secondaryFiles;
this.streamable = (java.util.Optional<Boolean>) streamable;
this.doc = (Object) doc;
this.id = (java.util.Optional<String>) id;
this.id = (String) id;
this.format = (Object) format;
this.type = (Object) type;
for (String field:__doc.keySet()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ public interface OperationInputParameter extends InputParameter, Saveable {
LoadingOptions getLoadingOptions();

/**
* Getter for property <I>https://w3id.org/cwl/cwl#Identified/id</I><BR>
* Getter for property <I>https://w3id.org/cwl/cwl#Parameter/id</I><BR>
* <BLOCKQUOTE>
* The unique identifier for this object. * </BLOCKQUOTE>
* The unique identifier for this Parameter. * </BLOCKQUOTE>
*/

java.util.Optional<String> getId();
String getId();
/**
* Getter for property <I>https://w3id.org/cwl/cwl#Labeled/label</I><BR>
* <BLOCKQUOTE>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ public java.util.Map<String, Object> getExtensionFields() {
return this.extensionFields_;
}

private java.util.Optional<String> id;
private String id;

/**
* Getter for property <I>https://w3id.org/cwl/cwl#Identified/id</I><BR>
* Getter for property <I>https://w3id.org/cwl/cwl#Parameter/id</I><BR>
* <BLOCKQUOTE>
* The unique identifier for this object. * </BLOCKQUOTE>
* The unique identifier for this Parameter. * </BLOCKQUOTE>
*/

public java.util.Optional<String> getId() {
public String getId() {
return this.id;
}

Expand Down Expand Up @@ -262,13 +262,13 @@ public OperationInputParameterImpl(
if (__loadingOptions != null) {
this.loadingOptions_ = __loadingOptions;
}
java.util.Optional<String> id;
String id;

if (__doc.containsKey("id")) {
try {
id =
LoaderInstances
.uri_optional_StringInstance_True_False_None_None
.uri_StringInstance_True_False_None_None
.loadField(__doc.get("id"), __baseUri, __loadingOptions);
} catch (ValidationException e) {
id = null; // won't be used but prevents compiler from complaining.
Expand All @@ -280,19 +280,14 @@ public OperationInputParameterImpl(
id = null;
}

Boolean __original_is_null = id == null;
if (id == null) {
if (__docRoot != null) {
id = java.util.Optional.of(__docRoot);
id = __docRoot;
} else {
id = java.util.Optional.of("_:" + java.util.UUID.randomUUID().toString());
throw new ValidationException("Missing id");
}
}
if (__original_is_null) {
__baseUri = __baseUri_;
} else {
__baseUri = (String) id.orElse(null);
}
__baseUri = (String) id;
java.util.Optional<String> label;

if (__doc.containsKey("label")) {
Expand Down Expand Up @@ -447,7 +442,7 @@ public OperationInputParameterImpl(
this.secondaryFiles = (Object) secondaryFiles;
this.streamable = (java.util.Optional<Boolean>) streamable;
this.doc = (Object) doc;
this.id = (java.util.Optional<String>) id;
this.id = (String) id;
this.format = (Object) format;
this.loadContents = (java.util.Optional<Boolean>) loadContents;
this.loadListing = (java.util.Optional<LoadListingEnum>) loadListing;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ public interface OperationOutputParameter extends OutputParameter, Saveable {
LoadingOptions getLoadingOptions();

/**
* Getter for property <I>https://w3id.org/cwl/cwl#Identified/id</I><BR>
* Getter for property <I>https://w3id.org/cwl/cwl#Parameter/id</I><BR>
* <BLOCKQUOTE>
* The unique identifier for this object. * </BLOCKQUOTE>
* The unique identifier for this Parameter. * </BLOCKQUOTE>
*/

java.util.Optional<String> getId();
String getId();
/**
* Getter for property <I>https://w3id.org/cwl/cwl#Labeled/label</I><BR>
* <BLOCKQUOTE>
Expand Down
Loading
Loading