
org.jresearch.commons.base.domain.CommonProfileAttributeValue Maven / Gradle / Ivy
The newest version!
package org.jresearch.commons.base.domain;
import javax.annotation.Generated;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import org.hibernate.annotations.GenericGenerator;
import com.google.common.base.MoreObjects;
@Entity
public class CommonProfileAttributeValue extends ProfileAttributeValue {
@Id
@GenericGenerator(name = "increment", strategy = "increment")
@GeneratedValue(generator = "increment")
@Column(insertable = false, updatable = false)
private Long id;
@Override
public Long getId() {
return id;
}
@Override
public void setId(final Long id) {
this.id = id;
}
@Override
@SuppressWarnings({ "nls", "null" })
@Generated(value = "GuavaEclipsePlugin")
public String toString() {
return MoreObjects.toStringHelper(this)
.omitNullValues()
.add("super", super.toString())
.add("id", id)
.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy