org.finos.legend.pure.generated.Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement_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.*;
public class Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement_Impl extends Root_meta_pure_metamodel_type_Any_Impl implements Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement
{
public static final String tempTypeName = "AuthenticationSchemeRequirement";
private static final String tempFullTypeId = "Root::meta::external::store::service::executionPlan::nodes::AuthenticationSchemeRequirement";
private static final KeyIndex KEY_INDEX = keyIndexBuilder(2)
.withKeys("Root::meta::pure::metamodel::type::Any", "classifierGenericType", "elementOverride")
.build();
private CoreInstance classifier;
public Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement_Impl(String id)
{
super(id);
}
public Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement_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 "classifierGenericType":
{
return ValCoreInstance.toCoreInstance(_classifierGenericType());
}
case "elementOverride":
{
return ValCoreInstance.toCoreInstance(_elementOverride());
}
default:
{
return super.getValueForMetaPropertyToOne(keyName);
}
}
}
public Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement _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_AuthenticationSchemeRequirement _elementOverride(RichIterable val)
{
return _elementOverride(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement _elementOverrideRemove()
{
this._elementOverride = null;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement _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_AuthenticationSchemeRequirement _classifierGenericType(RichIterable val)
{
return _classifierGenericType(val.getFirst());
}
public Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement _classifierGenericTypeRemove()
{
this._classifierGenericType = null;
return this;
}
public Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement copy()
{
return new Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement_Impl(this);
}
public Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement_Impl(Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement src)
{
this("Anonymous_NoCounter");
this.classifier = ((Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement_Impl)src).classifier;
this._elementOverride = (org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.ElementOverride)((Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement_Impl)src)._elementOverride;
this._classifierGenericType = (org.finos.legend.pure.m3.coreinstance.meta.pure.metamodel.type.generics.GenericType)((Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement_Impl)src)._classifierGenericType;
}
@Override
public String getFullSystemPath()
{
return tempFullTypeId;
}
public Root_meta_external_store_service_executionPlan_nodes_AuthenticationSchemeRequirement_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)
{
}
}
return this;
}
}