CPD Results

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

Duplications

File Line
org/oxerr/freeradius/domain/RadGroupCheck.java 15
org/oxerr/freeradius/domain/RadGroupReply.java 15
public class RadGroupCheck implements Serializable {

	private static final long serialVersionUID = 2016101001L;

	private long id;
	private String groupName;
	private String attribute;
	private String op;
	private String value;

	@Id
	@Column(name = "id")
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	@Column(name = "groupname")
	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	@Column(name = "attribute")
	public String getAttribute() {
		return attribute;
	}

	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}

	@Column(name = "op")
	public String getOp() {
		return op;
	}

	public void setOp(String op) {
		this.op = op;
	}

	@Column(name = "value")
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String toString() {
		return String.format("%s.%s %s %s",
			getGroupName(), getAttribute(), getOp(), getValue());
	}

}
File Line
org/oxerr/freeradius/domain/RadCheck.java 35
org/oxerr/freeradius/domain/RadReply.java 25
	@Id
	@Column(name = "id")
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	@Column(name = "username")
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "attribute")
	public String getAttribute() {
		return attribute;
	}

	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}

	@Column(name = "op")
	public String getOp() {
		return op;
	}

	public void setOp(String op) {
		this.op = op;
	}

	@Column(name = "value")
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String toString() {
		return String.format("%s.%s %s %s",
			getUserName(), getAttribute(), getOp(), getValue());
	}

}
File Line
org/oxerr/freeradius/domain/RadCheck.java 52
org/oxerr/freeradius/domain/RadGroupCheck.java 42
org/oxerr/freeradius/domain/RadGroupReply.java 42
org/oxerr/freeradius/domain/RadReply.java 42
	}

	@Column(name = "attribute")
	public String getAttribute() {
		return attribute;
	}

	public void setAttribute(String attribute) {
		this.attribute = attribute;
	}

	@Column(name = "op")
	public String getOp() {
		return op;
	}

	public void setOp(String op) {
		this.op = op;
	}

	@Column(name = "value")
	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public String toString() {
		return String.format("%s.%s %s %s",