Apache log4j logo Apache logging services logo

CPD Results

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

Duplications

File Line
org/apache/logging/log4j/catalog/jpa/model/AttributeModel.java 87
org/apache/logging/log4j/catalog/jpa/model/EventModel.java 65
    public AttributeModel() {
        catalogId = "DEFAULT";
    }


    /**
     * Returns the id of the AttributeDto.
     * @return
     */
    public Long getId() {
        return id;
    }

    /**
     * Set the id of the AttributeDto.
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * Returns the name of the AttributeDto.
     */
    public String getName() {
        return name;
    }

    /**
     * Set the name of the AttributeDto.
     * @param name the name of the attribute.
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * Returns the name used when displaying the attribute.
     * @return the display name of the attribute.
     */
    public String getDisplayName() {
        return displayName;
    }

    /**
     * Set the name to be displayed for this attribute.
     * @param name the display name for the attribute.
     */
    public void setDisplayName(String name) {
        this.displayName = name;
    }

    /**
     * Returns the description of the attribute.
     * @return the description of the attribute.
     */
    public String getDescription() {
        return description;
    }

    /**
     * Set the description of the attribute.
     * @param description the description of the attribute.
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * Returns the data type of this attribute.
     * @return the data type of the attribute.
     */
    public DataType getDataType() {