CPD Results

The following document contains the results of PMD's CPD 4.2.5.

Duplications

FileProjectLine
com/healthmarketscience/jackcess/cryptmodel/CTKeyData.javaJackcess Encrypt41
com/healthmarketscience/jackcess/cryptmodel/password/CTKeyData.javaJackcess Encrypt41
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CT_KeyData")
public class CTKeyData {

    @XmlAttribute(required = true)
    protected long saltSize;
    @XmlAttribute(required = true)
    protected long blockSize;
    @XmlAttribute(required = true)
    protected long keyBits;
    @XmlAttribute(required = true)
    protected long hashSize;
    @XmlAttribute(required = true)
    protected String cipherAlgorithm;
    @XmlAttribute(required = true)
    protected String cipherChaining;
    @XmlAttribute(required = true)
    protected String hashAlgorithm;
    @XmlAttribute(required = true)
    protected byte[] saltValue;

    /**
     * Gets the value of the saltSize property.
     * 
     */
    public long getSaltSize() {
        return saltSize;
    }

    /**
     * Sets the value of the saltSize property.
     * 
     */
    public void setSaltSize(long value) {
        this.saltSize = value;
    }

    /**
     * Gets the value of the blockSize property.
     * 
     */
    public long getBlockSize() {
        return blockSize;
    }

    /**
     * Sets the value of the blockSize property.
     * 
     */
    public void setBlockSize(long value) {
        this.blockSize = value;
    }

    /**
     * Gets the value of the keyBits property.
     * 
     */
    public long getKeyBits() {
        return keyBits;
    }

    /**
     * Sets the value of the keyBits property.
     * 
     */
    public void setKeyBits(long value) {
        this.keyBits = value;
    }

    /**
     * Gets the value of the hashSize property.
     * 
     */
    public long getHashSize() {
        return hashSize;
    }

    /**
     * Sets the value of the hashSize property.
     * 
     */
    public void setHashSize(long value) {
        this.hashSize = value;
    }

    /**
     * Gets the value of the cipherAlgorithm property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCipherAlgorithm() {
        return cipherAlgorithm;
    }

    /**
     * Sets the value of the cipherAlgorithm property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCipherAlgorithm(String value) {
        this.cipherAlgorithm = value;
    }

    /**
     * Gets the value of the cipherChaining property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCipherChaining() {
        return cipherChaining;
    }

    /**
     * Sets the value of the cipherChaining property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCipherChaining(String value) {
        this.cipherChaining = value;
    }

    /**
     * Gets the value of the hashAlgorithm property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getHashAlgorithm() {
        return hashAlgorithm;
    }

    /**
     * Sets the value of the hashAlgorithm property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setHashAlgorithm(String value) {
        this.hashAlgorithm = value;
    }

    /**
     * Gets the value of the saltValue property.
     * 
     * @return
     *     possible object is
     *     byte[]
     */
    public byte[] getSaltValue() {
        return saltValue;
    }

    /**
     * Sets the value of the saltValue property.
     * 
     * @param value
     *     allowed object is
     *     byte[]
     */
    public void setSaltValue(byte[] value) {
        this.saltValue = ((byte[]) value);
    }

}
FileProjectLine
com/healthmarketscience/jackcess/cryptmodel/CTKeyData.javaJackcess Encrypt66
com/healthmarketscience/jackcess/cryptmodel/password/CTPasswordKeyEncryptor.javaJackcess Encrypt78
    public long getSaltSize() {
        return saltSize;
    }

    /**
     * Sets the value of the saltSize property.
     * 
     */
    public void setSaltSize(long value) {
        this.saltSize = value;
    }

    /**
     * Gets the value of the blockSize property.
     * 
     */
    public long getBlockSize() {
        return blockSize;
    }

    /**
     * Sets the value of the blockSize property.
     * 
     */
    public void setBlockSize(long value) {
        this.blockSize = value;
    }

    /**
     * Gets the value of the keyBits property.
     * 
     */
    public long getKeyBits() {
        return keyBits;
    }

    /**
     * Sets the value of the keyBits property.
     * 
     */
    public void setKeyBits(long value) {
        this.keyBits = value;
    }

    /**
     * Gets the value of the hashSize property.
     * 
     */
    public long getHashSize() {
        return hashSize;
    }

    /**
     * Sets the value of the hashSize property.
     * 
     */
    public void setHashSize(long value) {
        this.hashSize = value;
    }

    /**
     * Gets the value of the cipherAlgorithm property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCipherAlgorithm() {
        return cipherAlgorithm;
    }

    /**
     * Sets the value of the cipherAlgorithm property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCipherAlgorithm(String value) {
        this.cipherAlgorithm = value;
    }

    /**
     * Gets the value of the cipherChaining property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCipherChaining() {
        return cipherChaining;
    }

    /**
     * Sets the value of the cipherChaining property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCipherChaining(String value) {
        this.cipherChaining = value;
    }

    /**
     * Gets the value of the hashAlgorithm property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getHashAlgorithm() {
        return hashAlgorithm;
    }

    /**
     * Sets the value of the hashAlgorithm property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setHashAlgorithm(String value) {
        this.hashAlgorithm = value;
    }

    /**
     * Gets the value of the saltValue property.
     * 
     * @return
     *     possible object is
     *     byte[]
     */
    public byte[] getSaltValue() {
        return saltValue;
    }

    /**
     * Sets the value of the saltValue property.
     * 
     * @param value
     *     allowed object is
     *     byte[]
     */
    public void setSaltValue(byte[] value) {
        this.saltValue = ((byte[]) value);
    }
FileProjectLine
com/healthmarketscience/jackcess/cryptmodel/CTEncryption.javaJackcess Encrypt38
com/healthmarketscience/jackcess/cryptmodel/password/CTEncryption.javaJackcess Encrypt38
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CT_Encryption", propOrder = {
    "keyData",
    "dataIntegrity",
    "keyEncryptors"
})
public class CTEncryption {

    @XmlElement(required = true)
    protected CTKeyData keyData;
    protected CTDataIntegrity dataIntegrity;
    @XmlElement(required = true)
    protected CTKeyEncryptors keyEncryptors;

    /**
     * Gets the value of the keyData property.
     * 
     * @return
     *     possible object is
     *     {@link CTKeyData }
     *     
     */
    public CTKeyData getKeyData() {
        return keyData;
    }

    /**
     * Sets the value of the keyData property.
     * 
     * @param value
     *     allowed object is
     *     {@link CTKeyData }
     *     
     */
    public void setKeyData(CTKeyData value) {
        this.keyData = value;
    }

    /**
     * Gets the value of the dataIntegrity property.
     * 
     * @return
     *     possible object is
     *     {@link CTDataIntegrity }
     *     
     */
    public CTDataIntegrity getDataIntegrity() {
        return dataIntegrity;
    }

    /**
     * Sets the value of the dataIntegrity property.
     * 
     * @param value
     *     allowed object is
     *     {@link CTDataIntegrity }
     *     
     */
    public void setDataIntegrity(CTDataIntegrity value) {
        this.dataIntegrity = value;
    }

    /**
     * Gets the value of the keyEncryptors property.
     * 
     * @return
     *     possible object is
     *     {@link CTKeyEncryptors }
     *     
     */
    public CTKeyEncryptors getKeyEncryptors() {
        return keyEncryptors;
    }

    /**
     * Sets the value of the keyEncryptors property.
     * 
     * @param value
     *     allowed object is
     *     {@link CTKeyEncryptors }
     *     
     */
    public void setKeyEncryptors(CTKeyEncryptors value) {
        this.keyEncryptors = value;
    }

}
FileProjectLine
com/healthmarketscience/jackcess/cryptmodel/CTDataIntegrity.javaJackcess Encrypt35
com/healthmarketscience/jackcess/cryptmodel/password/CTDataIntegrity.javaJackcess Encrypt35
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CT_DataIntegrity")
public class CTDataIntegrity {

    @XmlAttribute(required = true)
    protected byte[] encryptedHmacKey;
    @XmlAttribute(required = true)
    protected byte[] encryptedHmacValue;

    /**
     * Gets the value of the encryptedHmacKey property.
     * 
     * @return
     *     possible object is
     *     byte[]
     */
    public byte[] getEncryptedHmacKey() {
        return encryptedHmacKey;
    }

    /**
     * Sets the value of the encryptedHmacKey property.
     * 
     * @param value
     *     allowed object is
     *     byte[]
     */
    public void setEncryptedHmacKey(byte[] value) {
        this.encryptedHmacKey = ((byte[]) value);
    }

    /**
     * Gets the value of the encryptedHmacValue property.
     * 
     * @return
     *     possible object is
     *     byte[]
     */
    public byte[] getEncryptedHmacValue() {
        return encryptedHmacValue;
    }

    /**
     * Sets the value of the encryptedHmacValue property.
     * 
     * @param value
     *     allowed object is
     *     byte[]
     */
    public void setEncryptedHmacValue(byte[] value) {
        this.encryptedHmacValue = ((byte[]) value);
    }

}
FileProjectLine
com/healthmarketscience/jackcess/cryptmodel/CTKeyEncryptor.javaJackcess Encrypt42
com/healthmarketscience/jackcess/cryptmodel/password/CTKeyEncryptor.javaJackcess Encrypt42
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CT_KeyEncryptor", propOrder = {
    "any"
})
public class CTKeyEncryptor {

    @XmlAnyElement(lax = true)
    protected Object any;
    @XmlAttribute
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlSchemaType(name = "token")
    protected String uri;

    /**
     * Gets the value of the any property.
     * 
     * @return
     *     possible object is
     *     {@link Element }
     *     {@link Object }
     *     
     */
    public Object getAny() {
        return any;
    }

    /**
     * Sets the value of the any property.
     * 
     * @param value
     *     allowed object is
     *     {@link Element }
     *     {@link Object }
     *     
     */
    public void setAny(Object value) {
        this.any = value;
    }

    /**
     * Gets the value of the uri property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getUri() {
        return uri;
    }

    /**
     * Sets the value of the uri property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setUri(String value) {
        this.uri = value;
    }

}