io.github.qsy7.encryption.model.QEncryptionPolicy Maven / Gradle / Ivy
The newest version!
package io.github.qsy7.encryption.model;
import javax.annotation.processing.Generated;
import javax.jdo.query.*;
import org.datanucleus.api.jdo.query.*;
@Generated(value="org.datanucleus.jdo.query.JDOQueryProcessor")
public class QEncryptionPolicy extends PersistableExpressionImpl implements PersistableExpression
{
public static final QEncryptionPolicy jdoCandidate = candidate("this");
public static QEncryptionPolicy candidate(String name)
{
return new QEncryptionPolicy(null, name, 5);
}
public static QEncryptionPolicy candidate()
{
return jdoCandidate;
}
public static QEncryptionPolicy parameter(String name)
{
return new QEncryptionPolicy(EncryptionPolicy.class, name, ExpressionType.PARAMETER);
}
public static QEncryptionPolicy variable(String name)
{
return new QEncryptionPolicy(EncryptionPolicy.class, name, ExpressionType.VARIABLE);
}
public final io.github.qsy7.encryption.model.QEncryptionPolicy parentPolicy;
public final CollectionExpression childrenPolicies;
public final EnumExpression cipherMode;
public final EnumExpression digestAlgorithm;
public final EnumExpression encryptionAlgorithm;
public final EnumExpression paddingType;
public final EnumExpression transformationAlgorithm;
public QEncryptionPolicy(PersistableExpression parent, String name, int depth)
{
super(parent, name);
if (depth > 0)
{
this.parentPolicy = new io.github.qsy7.encryption.model.QEncryptionPolicy(this, "parentPolicy", depth-1);
}
else
{
this.parentPolicy = null;
}
this.childrenPolicies = new CollectionExpressionImpl(this, "childrenPolicies");
this.cipherMode = new EnumExpressionImpl(this, "cipherMode");
this.digestAlgorithm = new EnumExpressionImpl(this, "digestAlgorithm");
this.encryptionAlgorithm = new EnumExpressionImpl(this, "encryptionAlgorithm");
this.paddingType = new EnumExpressionImpl(this, "paddingType");
this.transformationAlgorithm = new EnumExpressionImpl(this, "transformationAlgorithm");
}
public QEncryptionPolicy(Class> type, String name, ExpressionType exprType)
{
super(type, name, exprType);
this.parentPolicy = new io.github.qsy7.encryption.model.QEncryptionPolicy(this, "parentPolicy", 5);
this.childrenPolicies = new CollectionExpressionImpl(this, "childrenPolicies");
this.cipherMode = new EnumExpressionImpl(this, "cipherMode");
this.digestAlgorithm = new EnumExpressionImpl(this, "digestAlgorithm");
this.encryptionAlgorithm = new EnumExpressionImpl(this, "encryptionAlgorithm");
this.paddingType = new EnumExpressionImpl(this, "paddingType");
this.transformationAlgorithm = new EnumExpressionImpl(this, "transformationAlgorithm");
}
}