public class org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent extends org.finos.legend.engine.protocol.functionActivator.deployment.FunctionActivatorDeploymentContent
{
public org.eclipse.collections.api.list.MutableList sqlExpressions;
public java.lang.String createStatement;
public java.lang.String grantStatement;
public java.lang.String applicationName;
public java.lang.String description;
public java.lang.String ownership;
public java.lang.String creationTime;
public java.lang.String permissionScope;
public org.eclipse.collections.api.list.MutableList usedTables;
public void <init>()
{
org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent v;
org.eclipse.collections.api.factory.list.MutableListFactory v, v;
org.eclipse.collections.api.list.MutableList v, v;
v := @this: org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent;
specialinvoke v.<org.finos.legend.engine.protocol.functionActivator.deployment.FunctionActivatorDeploymentContent: void <init>()>();
v = <org.eclipse.collections.api.factory.Lists: org.eclipse.collections.api.factory.list.MutableListFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.list.MutableListFactory: org.eclipse.collections.api.list.MutableList empty()>();
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: org.eclipse.collections.api.list.MutableList sqlExpressions> = v;
v = <org.eclipse.collections.api.factory.Lists: org.eclipse.collections.api.factory.list.MutableListFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.list.MutableListFactory: org.eclipse.collections.api.list.MutableList empty()>();
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: org.eclipse.collections.api.list.MutableList usedTables> = v;
return;
}
public void <init>(java.lang.String, org.eclipse.collections.api.list.MutableList, org.finos.legend.engine.protocol.pure.v.model.context.AlloySDLC)
{
java.util.Date v;
org.eclipse.collections.api.factory.list.MutableListFactory v, v;
org.eclipse.collections.api.list.MutableList v, v, v;
org.finos.legend.engine.protocol.pure.v.model.context.AlloySDLC v;
org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent v;
java.lang.String v, v;
v := @this: org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent;
v := @parameter: java.lang.String;
v := @parameter: org.eclipse.collections.api.list.MutableList;
v := @parameter: org.finos.legend.engine.protocol.pure.v.model.context.AlloySDLC;
specialinvoke v.<org.finos.legend.engine.protocol.functionActivator.deployment.FunctionActivatorDeploymentContent: void <init>()>();
v = <org.eclipse.collections.api.factory.Lists: org.eclipse.collections.api.factory.list.MutableListFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.list.MutableListFactory: org.eclipse.collections.api.list.MutableList empty()>();
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: org.eclipse.collections.api.list.MutableList sqlExpressions> = v;
v = <org.eclipse.collections.api.factory.Lists: org.eclipse.collections.api.factory.list.MutableListFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.list.MutableListFactory: org.eclipse.collections.api.list.MutableList empty()>();
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: org.eclipse.collections.api.list.MutableList usedTables> = v;
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: java.lang.String applicationName> = v;
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: org.eclipse.collections.api.list.MutableList sqlExpressions> = v;
v = new java.util.Date;
specialinvoke v.<java.util.Date: void <init>()>();
v = staticinvoke <org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: java.lang.String convertToValidDate(java.util.Date)>(v);
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: java.lang.String creationTime> = v;
return;
}
public void <init>(java.lang.String, org.eclipse.collections.api.list.MutableList, java.lang.String, java.lang.String, org.finos.legend.engine.protocol.pure.v.model.context.AlloySDLC)
{
org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent v;
java.lang.String v, v, v;
org.eclipse.collections.api.list.MutableList v;
org.finos.legend.engine.protocol.pure.v.model.context.AlloySDLC v;
v := @this: org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent;
v := @parameter: java.lang.String;
v := @parameter: org.eclipse.collections.api.list.MutableList;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: org.finos.legend.engine.protocol.pure.v.model.context.AlloySDLC;
specialinvoke v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: void <init>(java.lang.String,org.eclipse.collections.api.list.MutableList,org.finos.legend.engine.protocol.pure.v.model.context.AlloySDLC)>(v, v, v);
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: java.lang.String description> = v;
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: java.lang.String ownership> = v;
return;
}
public void <init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.eclipse.collections.api.list.MutableList)
{
java.util.Date v;
org.eclipse.collections.api.factory.list.MutableListFactory v, v;
org.eclipse.collections.api.list.MutableList v, v, v;
org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent v;
java.lang.String v, v, v, v, v, v, v;
v := @this: org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v := @parameter: org.eclipse.collections.api.list.MutableList;
specialinvoke v.<org.finos.legend.engine.protocol.functionActivator.deployment.FunctionActivatorDeploymentContent: void <init>()>();
v = <org.eclipse.collections.api.factory.Lists: org.eclipse.collections.api.factory.list.MutableListFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.list.MutableListFactory: org.eclipse.collections.api.list.MutableList empty()>();
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: org.eclipse.collections.api.list.MutableList sqlExpressions> = v;
v = <org.eclipse.collections.api.factory.Lists: org.eclipse.collections.api.factory.list.MutableListFactory mutable>;
v = interfaceinvoke v.<org.eclipse.collections.api.factory.list.MutableListFactory: org.eclipse.collections.api.list.MutableList empty()>();
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: org.eclipse.collections.api.list.MutableList usedTables> = v;
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: java.lang.String applicationName> = v;
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: java.lang.String createStatement> = v;
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: java.lang.String grantStatement> = v;
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: java.lang.String permissionScope> = v;
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: java.lang.String description> = v;
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: java.lang.String ownership> = v;
v = new java.util.Date;
specialinvoke v.<java.util.Date: void <init>()>();
v = staticinvoke <org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: java.lang.String convertToValidDate(java.util.Date)>(v);
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: java.lang.String creationTime> = v;
v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: org.eclipse.collections.api.list.MutableList usedTables> = v;
return;
}
public static java.lang.String convertToValidDate(java.util.Date)
{
java.text.SimpleDateFormat v;
java.lang.String v;
java.util.Date v;
v := @parameter: java.util.Date;
v = new java.text.SimpleDateFormat;
specialinvoke v.<java.text.SimpleDateFormat: void <init>(java.lang.String)>("yyyy-MM-dd HH:mm:ss");
v = virtualinvoke v.<java.text.SimpleDateFormat: java.lang.String format(java.util.Date)>(v);
return v;
}
public void addGrantStatement(java.lang.String)
{
java.lang.String v;
org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent v;
org.eclipse.collections.api.list.MutableList v;
v := @this: org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent;
v := @parameter: java.lang.String;
v = v.<org.finos.legend.engine.protocol.snowflakeApp.deployment.SnowflakeAppContent: org.eclipse.collections.api.list.MutableList sqlExpressions>;
interfaceinvoke v.<org.eclipse.collections.api.list.MutableList: boolean add(java.lang.Object)>(v);
return;
}
}