Fork me on GitHub

Résultats CPD

Le document suivant contient les résultats de l'inspection CPD CPD 6.13.0.

Duplicatas

Fichier Ligne
fr/paris/lutece/plugins/identitystore/v1/web/rs/dto/CertificateDto.java 46
fr/paris/lutece/plugins/identitystore/v2/web/rs/dto/CertificateDto.java 46
@JsonRootName( DtoFormatConstants.KEY_CERTIFICATE )
@JsonPropertyOrder( {
        DtoFormatConstants.KEY_CERTIFICATE_CERTIFIER_CODE, DtoFormatConstants.KEY_CERTIFICATE_CERTIFIER_NAME, DtoFormatConstants.KEY_CERTIFICATE_LEVEL,
        DtoFormatConstants.KEY_CERTIFICATE_EXPIRATION_DATE
} )
public class CertificateDto
{
    private String _strCertifierCode;
    private String _strCertifierName;
    private int _nCertifierLevel;
    private Date _dateCertificateExpirationDate;

    /**
     * @return the _strCertifierCode
     */
    @JsonProperty( DtoFormatConstants.KEY_CERTIFICATE_CERTIFIER_CODE )
    public String getCertifierCode( )
    {
        return _strCertifierCode;
    }

    /**
     * @param strCertifierCode
     *            the _strCertifierCode to set
     */
    @JsonProperty( DtoFormatConstants.KEY_CERTIFICATE_CERTIFIER_CODE )
    public void setCertifierCode( String strCertifierCode )
    {
        this._strCertifierCode = strCertifierCode;
    }

    /**
     * @return the _strCertifierName
     */
    @JsonProperty( DtoFormatConstants.KEY_CERTIFICATE_CERTIFIER_NAME )
    public String getCertifierName( )
    {
        return _strCertifierName;
    }

    /**
     * @param strCertifierName
     *            the _strCertifierName to set
     */
    @JsonProperty( DtoFormatConstants.KEY_CERTIFICATE_CERTIFIER_NAME )
    public void setCertifierName( String strCertifierName )
    {
        this._strCertifierName = strCertifierName;
    }

    /**
     * @return the _nCertifierLevel
     */
    @JsonProperty( DtoFormatConstants.KEY_CERTIFICATE_LEVEL )
    public int getCertifierLevel( )
    {
        return _nCertifierLevel;
    }

    /**
     * @param nCertifierLevel
     *            the _nCertifierLevel to set
     */
    @JsonProperty( DtoFormatConstants.KEY_CERTIFICATE_LEVEL )
    public void setCertifierLevel( int nCertifierLevel )
    {
        this._nCertifierLevel = nCertifierLevel;
    }

    /**
     * @return the _dateCertificateExpirationDate
     */
    @JsonProperty( DtoFormatConstants.KEY_CERTIFICATE_EXPIRATION_DATE )
    @JsonFormat( shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm a z" )
    public Date getCertificateExpirationDate( )
    {
        return _dateCertificateExpirationDate;
    }

    /**
     * @param dateCertificateExpirationDate
     *            the _dateCertificateExpirationDate to set
     */
    @JsonProperty( DtoFormatConstants.KEY_CERTIFICATE_EXPIRATION_DATE )
    @JsonFormat( shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm a z" )
    public void setCertificateExpirationDate( Date dateCertificateExpirationDate )
    {
        this._dateCertificateExpirationDate = dateCertificateExpirationDate;
    }
}
Fichier Ligne
fr/paris/lutece/plugins/identitystore/v1/web/rs/dto/IdentityDto.java 54
fr/paris/lutece/plugins/identitystore/v2/web/rs/dto/IdentityDto.java 54
    private Map<String, AttributeDto> _mapAttributes;
    private String _strConnectionId;
    private String _strCustomerId;

    /**
     * @return the _mapAttributes
     */
    @JsonProperty( DtoFormatConstants.KEY_ATTRIBUTES )
    public Map<String, AttributeDto> getAttributes( )
    {
        return _mapAttributes;
    }

    /**
     * @param mapAttributes
     *            the lstAttributes to set
     */
    @JsonProperty( DtoFormatConstants.KEY_ATTRIBUTES )
    public void setAttributes( Map<String, AttributeDto> mapAttributes )
    {
        this._mapAttributes = mapAttributes;
    }

    /**
     * @return the _connectionId
     */
    @JsonProperty( DtoFormatConstants.KEY_CONNECTION_ID )
    public String getConnectionId( )
    {
        return _strConnectionId;
    }

    /**
     * @param connectionId
     *            the connectionId to set
     */
    @JsonProperty( DtoFormatConstants.KEY_CONNECTION_ID )
    public void setConnectionId( String connectionId )
    {
        this._strConnectionId = connectionId;
    }

    /**
     * @return the _customerId
     */
    @JsonProperty( DtoFormatConstants.KEY_CUSTOMER_ID )
    public String getCustomerId( )
    {
        return _strCustomerId;
    }

    /**
     * @param strCustomerId
     *            the strCustomerId to set
     */
    @JsonProperty( DtoFormatConstants.KEY_CUSTOMER_ID )
    public void setCustomerId( String strCustomerId )
    {
        this._strCustomerId = strCustomerId;
    }
}
Fichier Ligne
fr/paris/lutece/plugins/identitystore/v1/web/rs/dto/AttributeDto.java 68
fr/paris/lutece/plugins/identitystore/v2/web/rs/dto/AttributeDto.java 75
    @JsonProperty( DtoFormatConstants.KEY_ATTRIBUTE_KEY )
    public String getKey( )
    {
        return _strKey;
    }

    /**
     * @param strKey
     *            the strName to set
     */
    @JsonProperty( DtoFormatConstants.KEY_ATTRIBUTE_KEY )
    public void setKey( String strKey )
    {
        this._strKey = strKey;
    }

    /**
     * @return the _strValue
     */
    @JsonProperty( DtoFormatConstants.KEY_ATTRIBUTE_VALUE )
    public String getValue( )
    {
        return _strValue;
    }

    /**
     * @param strValue
     *            the strValue to set
     */
    @JsonProperty( DtoFormatConstants.KEY_ATTRIBUTE_VALUE )
    public void setValue( String strValue )
    {
        this._strValue = strValue;
    }

    /**
     * @return the _strType
     */
    @JsonProperty( DtoFormatConstants.KEY_ATTRIBUTE_TYPE )
    public String getType( )
    {
        return _strType;
    }

    /**
     * @param strType
     *            the _strType to set
     */
    @JsonProperty( DtoFormatConstants.KEY_ATTRIBUTE_TYPE )
    public void setType( String strType )
    {
        this._strType = strType;
    }

    /**
     * @return the _bCertified
     */
    @JsonIgnore
    public boolean getCertified( )
    {
        return _bCertified;
    }

    /**
     * @param bCertified
     *            the bCertified to set
     */
    @JsonProperty( DtoFormatConstants.KEY_ATTRIBUTE_CERTIFIED )
Fichier Ligne
fr/paris/lutece/plugins/identitystore/v1/web/rs/dto/IdentityChangeDto.java 44
fr/paris/lutece/plugins/identitystore/v2/web/rs/dto/IdentityChangeDto.java 44
@JsonRootName( value = DtoFormatConstants.KEY_IDENTITY_CHANGE )
@JsonPropertyOrder( {
        DtoFormatConstants.KEY_IDENTITY_CHANGE_IDENTITY, DtoFormatConstants.KEY_IDENTITY_CHANGE_AUTHOR
} )
public class IdentityChangeDto
{
    private IdentityDto _identity;
    private AuthorDto _author;

    /**
     * @return the _identity
     */
    @JsonProperty( value = DtoFormatConstants.KEY_IDENTITY_CHANGE_IDENTITY )
    public IdentityDto getIdentity( )
    {
        return _identity;
    }

    /**
     * @param identity
     *            the _identity to set
     */
    @JsonProperty( value = DtoFormatConstants.KEY_IDENTITY_CHANGE_IDENTITY )
    public void setIdentity( IdentityDto identity )
    {
        this._identity = identity;
    }

    /**
     * @return the _author
     */
    @JsonProperty( value = DtoFormatConstants.KEY_IDENTITY_CHANGE_AUTHOR )
    public AuthorDto getAuthor( )
    {
        return _author;
    }

    /**
     * @param author
     *            the _author to set
     */
    @JsonProperty( value = DtoFormatConstants.KEY_IDENTITY_CHANGE_AUTHOR )
    public void setAuthor( AuthorDto author )
    {
        this._author = author;
    }
}
Fichier Ligne
fr/paris/lutece/plugins/identitystore/v1/web/rs/dto/ResponseDto.java 44
fr/paris/lutece/plugins/identitystore/v2/web/rs/dto/ResponseDto.java 44
@JsonRootName( value = DtoFormatConstants.KEY_RESPONSE )
public class ResponseDto
{
    private String _strStatus;
    private String _strMessage;

    /**
     * @return the _strStatus
     */
    @JsonProperty( value = DtoFormatConstants.KEY_STATUS )
    public String getStatus( )
    {
        return _strStatus;
    }

    /**
     * @param strStatus
     *            the _strStatus to set
     */
    @JsonProperty( value = DtoFormatConstants.KEY_STATUS )
    public void setStatus( String strStatus )
    {
        this._strStatus = strStatus;
    }

    /**
     * @return the _strMessage
     */
    @JsonProperty( value = DtoFormatConstants.KEY_MESSAGE )
    public String getMessage( )
    {
        return _strMessage;
    }

    /**
     * @param strMessage
     *            the strMessage to set
     */
    @JsonProperty( value = DtoFormatConstants.KEY_MESSAGE )
    public void setMessage( String strMessage )
    {
        this._strMessage = strMessage;
    }
}