delombok.io.github.qsy7.encryption.model.EncryptionPolicy Maven / Gradle / Ivy
The newest version!
// Generated by delombok at Sat Jan 13 17:02:54 EST 2024
package io.github.qsy7.encryption.model;
import io.github.qsy7.datastore.api.model.entity.AbstractNamedEntity;
import io.github.qsy7.encryption.enumeration.*;
import java.util.Set;
import javax.jdo.annotations.PersistenceCapable;
import lombok.*;
@PersistenceCapable
public class EncryptionPolicy extends AbstractNamedEntity {
@EqualsAndHashCode.Exclude
protected EncryptionPolicy parentPolicy;
@EqualsAndHashCode.Exclude
protected Set childrenPolicies;
protected CipherMode cipherMode;
protected DigestAlgorithm digestAlgorithm;
protected EncryptionAlgorithm encryptionAlgorithm;
protected PaddingType paddingType;
protected TransformationAlgorithm transformationAlgorithm;
@java.lang.SuppressWarnings("all")
public EncryptionPolicy(final EncryptionPolicy parentPolicy, final Set childrenPolicies, final CipherMode cipherMode, final DigestAlgorithm digestAlgorithm, final EncryptionAlgorithm encryptionAlgorithm, final PaddingType paddingType, final TransformationAlgorithm transformationAlgorithm) {
this.parentPolicy = parentPolicy;
this.childrenPolicies = childrenPolicies;
this.cipherMode = cipherMode;
this.digestAlgorithm = digestAlgorithm;
this.encryptionAlgorithm = encryptionAlgorithm;
this.paddingType = paddingType;
this.transformationAlgorithm = transformationAlgorithm;
}
@java.lang.SuppressWarnings("all")
public EncryptionPolicy() {
}
@java.lang.SuppressWarnings("all")
public void setParentPolicy(final EncryptionPolicy parentPolicy) {
this.parentPolicy = parentPolicy;
}
@java.lang.SuppressWarnings("all")
public void setChildrenPolicies(final Set childrenPolicies) {
this.childrenPolicies = childrenPolicies;
}
@java.lang.SuppressWarnings("all")
public void setCipherMode(final CipherMode cipherMode) {
this.cipherMode = cipherMode;
}
@java.lang.SuppressWarnings("all")
public void setDigestAlgorithm(final DigestAlgorithm digestAlgorithm) {
this.digestAlgorithm = digestAlgorithm;
}
@java.lang.SuppressWarnings("all")
public void setEncryptionAlgorithm(final EncryptionAlgorithm encryptionAlgorithm) {
this.encryptionAlgorithm = encryptionAlgorithm;
}
@java.lang.SuppressWarnings("all")
public void setPaddingType(final PaddingType paddingType) {
this.paddingType = paddingType;
}
@java.lang.SuppressWarnings("all")
public void setTransformationAlgorithm(final TransformationAlgorithm transformationAlgorithm) {
this.transformationAlgorithm = transformationAlgorithm;
}
@java.lang.SuppressWarnings("all")
public EncryptionPolicy getParentPolicy() {
return this.parentPolicy;
}
@java.lang.SuppressWarnings("all")
public Set getChildrenPolicies() {
return this.childrenPolicies;
}
@java.lang.SuppressWarnings("all")
public CipherMode getCipherMode() {
return this.cipherMode;
}
@java.lang.SuppressWarnings("all")
public DigestAlgorithm getDigestAlgorithm() {
return this.digestAlgorithm;
}
@java.lang.SuppressWarnings("all")
public EncryptionAlgorithm getEncryptionAlgorithm() {
return this.encryptionAlgorithm;
}
@java.lang.SuppressWarnings("all")
public PaddingType getPaddingType() {
return this.paddingType;
}
@java.lang.SuppressWarnings("all")
public TransformationAlgorithm getTransformationAlgorithm() {
return this.transformationAlgorithm;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "EncryptionPolicy(parentPolicy=" + this.parentPolicy + ", childrenPolicies=" + this.childrenPolicies + ", cipherMode=" + this.cipherMode + ", digestAlgorithm=" + this.digestAlgorithm + ", encryptionAlgorithm=" + this.encryptionAlgorithm + ", paddingType=" + this.paddingType + ", transformationAlgorithm=" + this.transformationAlgorithm + ")";
}
}