org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl Maven / Gradle / Ivy
The newest version!
package org.finos.legend.pure.generated;
import org.eclipse.collections.api.RichIterable;
import org.eclipse.collections.api.factory.Lists;
import org.eclipse.collections.api.factory.Maps;
import org.eclipse.collections.api.list.ListIterable;
import org.eclipse.collections.api.list.MutableList;
import org.eclipse.collections.api.map.MutableMap;
import org.finos.legend.pure.m3.execution.ExecutionSupport;
import org.finos.legend.pure.m4.ModelRepository;
import org.finos.legend.pure.m4.coreinstance.CoreInstance;
import org.finos.legend.pure.m4.coreinstance.SourceInformation;
import org.finos.legend.pure.m4.coreinstance.factory.CoreInstanceFactory;
import org.finos.legend.pure.runtime.java.compiled.execution.*;
import org.finos.legend.pure.runtime.java.compiled.execution.sourceInformation.E_;
import org.finos.legend.pure.runtime.java.compiled.generation.processors.support.*;
import org.finos.legend.pure.runtime.java.compiled.generation.processors.support.coreinstance.ReflectiveCoreInstance;
import org.finos.legend.pure.runtime.java.compiled.generation.processors.support.coreinstance.ValCoreInstance;
import org.finos.legend.pure.runtime.java.compiled.generation.processors.support.coreinstance.GetterOverrideExecutor;
import org.finos.legend.pure.runtime.java.compiled.generation.processors.support.function.*;
import org.finos.legend.pure.runtime.java.compiled.generation.processors.support.function.defended.*;
import org.eclipse.collections.api.block.function.Function0;
import org.eclipse.collections.api.block.function.Function;
import org.eclipse.collections.api.block.function.Function2;
import org.finos.legend.pure.runtime.java.compiled.generation.processors.support.map.PureMap;
public class Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl extends Root_meta_pure_executionPlan_ExecutionNode_Impl implements Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode
{
public static final String tempTypeName = "RestServiceExecutionNode";
private static final String tempFullTypeId = "Root::meta::external::store::service::executionPlan::nodes::RestServiceExecutionNode";
private static final KeyIndex KEY_INDEX = keyIndexBuilder(17)
.withKeys(tempFullTypeId, "authenticationSchemes", "method", "mimeType", "params", "requestBodyDescription", "url")
.withKeys("Root::meta::pure::executionPlan::ExecutionNode", "authDependent", "executionNodes", "fromCluster", "implementation", "kerberos", "requiredVariableInputs", "resultSizeRange", "resultType", "supportFunctions")
.withKeys("Root::meta::pure::metamodel::type::Any", "classifierGenericType", "elementOverride")
.build();
private CoreInstance classifier;
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl(String id)
{
super(id);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl(String name, SourceInformation sourceInformation, CoreInstance classifier)
{
this(name == null ? "Anonymous_NoCounter": name);
this.setSourceInformation(sourceInformation);
this.classifier = classifier;
}
@Override
public CoreInstance getClassifier()
{
return this.classifier;
}
@Override
public RichIterable getKeys()
{
return KEY_INDEX.getKeys();
}
@Override
public ListIterable getRealKeyByName(String name)
{
return KEY_INDEX.getRealKeyByName(name);
}
@Override
public CoreInstance getValueForMetaPropertyToOne(String keyName)
{
switch (keyName)
{
case "authDependent":
{
return ValCoreInstance.toCoreInstance(_authDependent());
}
case "classifierGenericType":
{
return ValCoreInstance.toCoreInstance(_classifierGenericType());
}
case "elementOverride":
{
return ValCoreInstance.toCoreInstance(_elementOverride());
}
case "fromCluster":
{
return ValCoreInstance.toCoreInstance(_fromCluster());
}
case "implementation":
{
return ValCoreInstance.toCoreInstance(_implementation());
}
case "kerberos":
{
return ValCoreInstance.toCoreInstance(_kerberos());
}
case "method":
{
return ValCoreInstance.toCoreInstance(_method());
}
case "mimeType":
{
return ValCoreInstance.toCoreInstance(_mimeType());
}
case "requestBodyDescription":
{
return ValCoreInstance.toCoreInstance(_requestBodyDescription());
}
case "resultSizeRange":
{
return ValCoreInstance.toCoreInstance(_resultSizeRange());
}
case "resultType":
{
return ValCoreInstance.toCoreInstance(_resultType());
}
case "url":
{
return ValCoreInstance.toCoreInstance(_url());
}
default:
{
return super.getValueForMetaPropertyToOne(keyName);
}
}
}
@Override
public ListIterable getValueForMetaPropertyToMany(String keyName)
{
switch (keyName)
{
case "authenticationSchemes":
{
return ValCoreInstance.toCoreInstances(_authenticationSchemes());
}
case "executionNodes":
{
return ValCoreInstance.toCoreInstances(_executionNodes());
}
case "params":
{
return ValCoreInstance.toCoreInstances(_params());
}
case "requiredVariableInputs":
{
return ValCoreInstance.toCoreInstances(_requiredVariableInputs());
}
case "supportFunctions":
{
return ValCoreInstance.toCoreInstances(_supportFunctions());
}
default:
{
return super.getValueForMetaPropertyToMany(keyName);
}
}
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _elementOverride(org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.ElementOverride val)
{
this._elementOverride = val;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _elementOverride(RichIterable val)
{
return _elementOverride(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _elementOverrideRemove()
{
this._elementOverride = null;
return this;
}
private Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _executionNodes(org.finos.legend.pure.generated.Root_meta_pure_executionPlan_ExecutionNode val, boolean add)
{
if (val == null)
{
if (!add)
{
this._executionNodes = Lists.mutable.with();
}
return this;
}
if (add)
{
if (!(this._executionNodes instanceof MutableList))
{
this._executionNodes = this._executionNodes.toList();
}
((MutableList)this._executionNodes).add(val);
}
else
{
this._executionNodes = (val == null ? Lists.mutable.empty() : Lists.mutable.with(val));
}
return this;
}
private Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _executionNodes(RichIterable val, boolean add)
{
if (add)
{
if (!(this._executionNodes instanceof MutableList))
{
this._executionNodes = this._executionNodes.toList();
}
((MutableList)this._executionNodes).addAllIterable(val);
}
else
{
this._executionNodes = val;
}
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _executionNodes(RichIterable val)
{
return this._executionNodes(val, false);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _executionNodesAdd(org.finos.legend.pure.generated.Root_meta_pure_executionPlan_ExecutionNode val)
{
return this._executionNodes(Lists.immutable.with(val), true);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _executionNodesAddAll(RichIterable val)
{
return this._executionNodes(val, true);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _executionNodesRemove()
{
this._executionNodes = Lists.mutable.empty();
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _executionNodesRemove(org.finos.legend.pure.generated.Root_meta_pure_executionPlan_ExecutionNode val)
{
if (!(this._executionNodes instanceof MutableList))
{
this._executionNodes = this._executionNodes.toList();
}
((MutableList)this._executionNodes).remove(val);
return this;
}
private Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _requiredVariableInputs(org.finos.legend.pure.generated.Root_meta_pure_executionPlan_VariableInput val, boolean add)
{
if (val == null)
{
if (!add)
{
this._requiredVariableInputs = Lists.mutable.with();
}
return this;
}
if (add)
{
if (!(this._requiredVariableInputs instanceof MutableList))
{
this._requiredVariableInputs = this._requiredVariableInputs.toList();
}
((MutableList)this._requiredVariableInputs).add(val);
}
else
{
this._requiredVariableInputs = (val == null ? Lists.mutable.empty() : Lists.mutable.with(val));
}
return this;
}
private Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _requiredVariableInputs(RichIterable val, boolean add)
{
if (add)
{
if (!(this._requiredVariableInputs instanceof MutableList))
{
this._requiredVariableInputs = this._requiredVariableInputs.toList();
}
((MutableList)this._requiredVariableInputs).addAllIterable(val);
}
else
{
this._requiredVariableInputs = val;
}
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _requiredVariableInputs(RichIterable val)
{
return this._requiredVariableInputs(val, false);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _requiredVariableInputsAdd(org.finos.legend.pure.generated.Root_meta_pure_executionPlan_VariableInput val)
{
return this._requiredVariableInputs(Lists.immutable.with(val), true);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _requiredVariableInputsAddAll(RichIterable val)
{
return this._requiredVariableInputs(val, true);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _requiredVariableInputsRemove()
{
this._requiredVariableInputs = Lists.mutable.empty();
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _requiredVariableInputsRemove(org.finos.legend.pure.generated.Root_meta_pure_executionPlan_VariableInput val)
{
if (!(this._requiredVariableInputs instanceof MutableList))
{
this._requiredVariableInputs = this._requiredVariableInputs.toList();
}
((MutableList)this._requiredVariableInputs).remove(val);
return this;
}
public RichIterable _params = Lists.mutable.with();
private Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _params(org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceParameter val, boolean add)
{
if (val == null)
{
if (!add)
{
this._params = Lists.mutable.with();
}
return this;
}
if (add)
{
if (!(this._params instanceof MutableList))
{
this._params = this._params.toList();
}
((MutableList)this._params).add(val);
}
else
{
this._params = (val == null ? Lists.mutable.empty() : Lists.mutable.with(val));
}
return this;
}
private Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _params(RichIterable val, boolean add)
{
if (add)
{
if (!(this._params instanceof MutableList))
{
this._params = this._params.toList();
}
((MutableList)this._params).addAllIterable(val);
}
else
{
this._params = val;
}
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _params(RichIterable val)
{
return this._params(val, false);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _paramsAdd(org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceParameter val)
{
return this._params(Lists.immutable.with(val), true);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _paramsAddAll(RichIterable val)
{
return this._params(val, true);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _paramsRemove()
{
this._params = Lists.mutable.empty();
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _paramsRemove(org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceParameter val)
{
if (!(this._params instanceof MutableList))
{
this._params = this._params.toList();
}
((MutableList)this._params).remove(val);
return this;
}
public void _reverse_params(org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceParameter val)
{
if (!(this._params instanceof MutableList))
{
this._params = this._params.toList();
}
((MutableList)this._params).add(val);
}
public void _sever_reverse_params(org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceParameter val)
{
if (!(this._params instanceof MutableList))
{
this._params = this._params.toList();
}
((MutableList)this._params).remove(val);
}
public RichIterable _params()
{
return this._elementOverride() == null || !GetterOverrideExecutor.class.isInstance(this._elementOverride()) ? this._params : (RichIterable)((GetterOverrideExecutor)this._elementOverride()).executeToMany(this, "Root::meta::external::store::service::executionPlan::nodes::RestServiceExecutionNode", "params");
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _classifierGenericType(org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.generics.GenericType val)
{
this._classifierGenericType = val;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _classifierGenericType(RichIterable val)
{
return _classifierGenericType(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _classifierGenericTypeRemove()
{
this._classifierGenericType = null;
return this;
}
public java.lang.String _url;
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _url(java.lang.String val)
{
this._url = val;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _url(RichIterable val)
{
return _url(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _urlRemove()
{
this._url = null;
return this;
}
public java.lang.String _url()
{
return this._url;
}
private Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _supportFunctions(java.lang.String val, boolean add)
{
if (add)
{
if (!(this._supportFunctions instanceof MutableList))
{
this._supportFunctions = this._supportFunctions.toList();
}
((MutableList)this._supportFunctions).add(val);
}
else
{
this._supportFunctions = (val == null ? Lists.mutable.empty() : Lists.mutable.with(val));
}
return this;
}
private Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _supportFunctions(RichIterable val, boolean add)
{
if (add)
{
if (!(this._supportFunctions instanceof MutableList))
{
this._supportFunctions = this._supportFunctions.toList();
}
((MutableList)this._supportFunctions).addAllIterable(val);
}
else
{
this._supportFunctions = val;
}
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _supportFunctions(RichIterable val)
{
return this._supportFunctions(val, false);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _supportFunctionsAdd(java.lang.String val)
{
return this._supportFunctions(Lists.immutable.with(val), true);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _supportFunctionsAddAll(RichIterable val)
{
return this._supportFunctions(val, true);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _supportFunctionsRemove()
{
this._supportFunctions = Lists.mutable.empty();
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _supportFunctionsRemove(java.lang.String val)
{
if (!(this._supportFunctions instanceof MutableList))
{
this._supportFunctions = this._supportFunctions.toList();
}
((MutableList)this._supportFunctions).remove(val);
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _authDependent(java.lang.Boolean val)
{
this._authDependent = val;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _authDependent(RichIterable val)
{
return _authDependent(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _authDependentRemove()
{
this._authDependent = false;
return this;
}
public org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_RequestBodyDescription _requestBodyDescription;
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _requestBodyDescription(org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_RequestBodyDescription val)
{
this._requestBodyDescription = val;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _requestBodyDescription(RichIterable val)
{
return _requestBodyDescription(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _requestBodyDescriptionRemove()
{
this._requestBodyDescription = null;
return this;
}
public void _reverse_requestBodyDescription(org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_RequestBodyDescription val)
{
this._requestBodyDescription = val;
}
public void _sever_reverse_requestBodyDescription(org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_RequestBodyDescription val)
{
this._requestBodyDescription = null;
}
public org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_RequestBodyDescription _requestBodyDescription()
{
return this._elementOverride() == null || !GetterOverrideExecutor.class.isInstance(this._elementOverride()) ? this._requestBodyDescription : (org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_RequestBodyDescription)((GetterOverrideExecutor)this._elementOverride()).executeToOne(this, "Root::meta::external::store::service::executionPlan::nodes::RestServiceExecutionNode", "requestBodyDescription");
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _resultSizeRange(org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.multiplicity.Multiplicity val)
{
this._resultSizeRange = val;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _resultSizeRange(RichIterable val)
{
return _resultSizeRange(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _resultSizeRangeRemove()
{
this._resultSizeRange = null;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _implementation(org.finos.legend.pure.generated.Root_meta_pure_executionPlan_PlatformImplementation val)
{
this._implementation = val;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _implementation(RichIterable val)
{
return _implementation(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _implementationRemove()
{
this._implementation = null;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _kerberos(java.lang.String val)
{
this._kerberos = val;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _kerberos(RichIterable val)
{
return _kerberos(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _kerberosRemove()
{
this._kerberos = null;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _resultType(org.finos.legend.pure.generated.Root_meta_pure_executionPlan_ResultType val)
{
this._resultType = val;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _resultType(RichIterable val)
{
return _resultType(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _resultTypeRemove()
{
this._resultType = null;
return this;
}
public org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.Enum _method;
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _method(org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.Enum val)
{
this._method = val;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _method(RichIterable val)
{
return _method(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _methodRemove()
{
this._method = null;
return this;
}
public void _reverse_method(org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.Enum val)
{
this._method = val;
}
public void _sever_reverse_method(org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.Enum val)
{
this._method = null;
}
public org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.Enum _method()
{
return this._method;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _fromCluster(org.finos.legend.pure.generated.Root_meta_pure_router_metamodel_clustering_ClusteredValueSpecification val)
{
this._fromCluster = val;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _fromCluster(RichIterable val)
{
return _fromCluster(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _fromClusterRemove()
{
this._fromCluster = null;
return this;
}
public java.lang.String _mimeType;
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _mimeType(java.lang.String val)
{
this._mimeType = val;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _mimeType(RichIterable val)
{
return _mimeType(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _mimeTypeRemove()
{
this._mimeType = null;
return this;
}
public java.lang.String _mimeType()
{
return this._mimeType;
}
public RichIterable _authenticationSchemes = Lists.mutable.with();
private Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _authenticationSchemes(org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement val, boolean add)
{
if (val == null)
{
if (!add)
{
this._authenticationSchemes = Lists.mutable.with();
}
return this;
}
if (add)
{
if (!(this._authenticationSchemes instanceof MutableList))
{
this._authenticationSchemes = this._authenticationSchemes.toList();
}
((MutableList)this._authenticationSchemes).add(val);
}
else
{
this._authenticationSchemes = (val == null ? Lists.mutable.empty() : Lists.mutable.with(val));
}
return this;
}
private Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _authenticationSchemes(RichIterable val, boolean add)
{
if (add)
{
if (!(this._authenticationSchemes instanceof MutableList))
{
this._authenticationSchemes = this._authenticationSchemes.toList();
}
((MutableList)this._authenticationSchemes).addAllIterable(val);
}
else
{
this._authenticationSchemes = val;
}
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _authenticationSchemes(RichIterable val)
{
return this._authenticationSchemes(val, false);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _authenticationSchemesAdd(org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement val)
{
return this._authenticationSchemes(Lists.immutable.with(val), true);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _authenticationSchemesAddAll(RichIterable val)
{
return this._authenticationSchemes(val, true);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _authenticationSchemesRemove()
{
this._authenticationSchemes = Lists.mutable.empty();
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode _authenticationSchemesRemove(org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement val)
{
if (!(this._authenticationSchemes instanceof MutableList))
{
this._authenticationSchemes = this._authenticationSchemes.toList();
}
((MutableList)this._authenticationSchemes).remove(val);
return this;
}
public void _reverse_authenticationSchemes(org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement val)
{
if (!(this._authenticationSchemes instanceof MutableList))
{
this._authenticationSchemes = this._authenticationSchemes.toList();
}
((MutableList)this._authenticationSchemes).add(val);
}
public void _sever_reverse_authenticationSchemes(org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement val)
{
if (!(this._authenticationSchemes instanceof MutableList))
{
this._authenticationSchemes = this._authenticationSchemes.toList();
}
((MutableList)this._authenticationSchemes).remove(val);
}
public RichIterable _authenticationSchemes()
{
return this._elementOverride() == null || !GetterOverrideExecutor.class.isInstance(this._elementOverride()) ? this._authenticationSchemes : (RichIterable)((GetterOverrideExecutor)this._elementOverride()).executeToMany(this, "Root::meta::external::store::service::executionPlan::nodes::RestServiceExecutionNode", "authenticationSchemes");
}
public RichIterable childNodes(final ExecutionSupport es)
{
return CompiledSupport.toPureCollection(CompiledSupport.fold(Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl.this._executionNodes(),new DefendedFunction2,org.finos.legend.pure.generated.Root_meta_pure_executionPlan_ExecutionNode,RichIterable>(){public RichIterable value(final RichIterable _accum, final org.finos.legend.pure.generated.Root_meta_pure_executionPlan_ExecutionNode _n){return CompiledSupport.toPureCollection(((RichIterable)(Object)CompiledSupport.concatenate(_accum, _n.childNodes(es))));}},CompiledSupport.toPureCollection(Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl.this)));
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode copy()
{
return new Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl(this);
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl(Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode src)
{
this("Anonymous_NoCounter");
this.classifier = ((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src).classifier;
this._elementOverride = (org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.ElementOverride)((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._elementOverride;
this._executionNodes = Lists.mutable.ofAll(((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._executionNodes);
this._requiredVariableInputs = Lists.mutable.ofAll(((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._requiredVariableInputs);
this._params = Lists.mutable.ofAll(((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._params);
this._classifierGenericType = (org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.generics.GenericType)((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._classifierGenericType;
this._url = (java.lang.String)((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._url;
this._supportFunctions = Lists.mutable.ofAll(((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._supportFunctions);
this._authDependent = (java.lang.Boolean)((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._authDependent;
this._requestBodyDescription = (org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_RequestBodyDescription)((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._requestBodyDescription;
this._resultSizeRange = (org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.multiplicity.Multiplicity)((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._resultSizeRange;
this._implementation = (org.finos.legend.pure.generated.Root_meta_pure_executionPlan_PlatformImplementation)((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._implementation;
this._kerberos = (java.lang.String)((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._kerberos;
this._resultType = (org.finos.legend.pure.generated.Root_meta_pure_executionPlan_ResultType)((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._resultType;
this._method = (org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.Enum)((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._method;
this._fromCluster = (org.finos.legend.pure.generated.Root_meta_pure_router_metamodel_clustering_ClusteredValueSpecification)((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._fromCluster;
this._mimeType = (java.lang.String)((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._mimeType;
this._authenticationSchemes = Lists.mutable.ofAll(((Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl)src)._authenticationSchemes);
}
@Override
public String getFullSystemPath()
{
return tempFullTypeId;
}
public Root_meta_external_store_service_executionPlan_nodes_RestServiceExecutionNode_Impl _validate(boolean goDeep, org.finos.legend.pure.m4.coreinstance.SourceInformation sourceInformation, final ExecutionSupport es)
{
if (!this.hasCompileState(CompiledSupport.CONSTRAINTS_VALIDATED))
{
this.addCompileState(CompiledSupport.CONSTRAINTS_VALIDATED);
if (goDeep)
{
for (org.finos.legend.pure.generated.Root_meta_pure_executionPlan_ExecutionNode o : this._executionNodes())
{
o._validate(goDeep, sourceInformation, es);
}
for (org.finos.legend.pure.generated.Root_meta_pure_executionPlan_VariableInput o : this._requiredVariableInputs())
{
o._validate(goDeep, sourceInformation, es);
}
for (org.finos.legend.pure.generated.Root_meta_external_store_service_metamodel_ServiceParameter o : this._params())
{
o._validate(goDeep, sourceInformation, es);
}
if (this._requestBodyDescription() != null){this._requestBodyDescription()._validate(goDeep, sourceInformation, es);}
if (this._implementation() != null){this._implementation()._validate(goDeep, sourceInformation, es);}
if (this._resultType() != null){this._resultType()._validate(goDeep, sourceInformation, es);}
if (this._fromCluster() != null){this._fromCluster()._validate(goDeep, sourceInformation, es);}
for (org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement o : this._authenticationSchemes())
{
o._validate(goDeep, sourceInformation, es);
}
}
}
return this;
}
}