package au.gov.ga.geodesy.igssitelog.domain.model;

import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.validation.Valid;
import javax.validation.constraints.Size;

/**
 * http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/equipment/2564/frequencyStandard.xsd:frequenceStandardType
 */
@Entity
@Table(name = "FREQUENCE_STANDARD")
public class FrequencyStandard {

    @Id
    @GeneratedValue(generator = "surrogateKeyGenerator")
    @SequenceGenerator(name = "surrogateKeyGenerator", sequenceName = "SEQ_SITELOGFREQUENCYSTANDARD")
    private Integer id;

    @Size(max = 256)
    @Column(name = "STANDARD_TYPE", length = 256)
    protected String standardType;

    @Size(max = 256)
    @Column(name = "INPUT_FREQUENCY", length = 256)
    protected String inputFrequency;

    @Valid
    @Embedded
    protected EffectiveDates effectiveDates;

    @Size(max = 4096)
    @Column(name = "NOTES", length = 4096)
    protected String notes;

    @SuppressWarnings("unused")
    private Integer getId() {
        return id;
    }

    @SuppressWarnings("unused")
    private void setId(Integer id) {
        this.id = id;
    }

    /**
     * Return standard type.
     */
    public String getStandardType() {
        return standardType;
    }

    /**
     * Set standard type.
     */
    public void setStandardType(String value) {
        this.standardType = value;
    }

    /**
     * Return input frequency.
     */
    public String getInputFrequency() {
        return inputFrequency;
    }

    /**
     * Set input frequency.
     */
    public void setInputFrequency(String value) {
        this.inputFrequency = value;
    }

    /**
     * Return effective dates.
     */
    public EffectiveDates getEffectiveDates() {
        return effectiveDates;
    }

    /**
     * Set effective dates.
     */
    public void setEffectiveDates(EffectiveDates value) {
        this.effectiveDates = value;
    }

    /**
     * Return notes.
     */
    public String getNotes() {
        return notes;
    }

    /**
     * Set notes.
     */
    public void setNotes(String value) {
        this.notes = value;
    }
}

package au.gov.ga.geodesy.igssitelog.domain.model;

import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.validation.Valid;
import javax.validation.constraints.Size;

/**
 * http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/equipment/2564/frequencyStandard.xsd:frequenceStandardType
 */
@Entity
@Table(name = "FREQUENCY_STANDARD")
public class FrequencyStandard {

    @Id
    @GeneratedValue(generator = "surrogateKeyGenerator")
    @SequenceGenerator(name = "surrogateKeyGenerator", sequenceName = "SEQ_SITELOGFREQUENCYSTANDARD")
    private Integer id;

    @Size(max = 256)
    @Column(name = "STANDARD_TYPE", length = 256)
    protected String standardType;

    @Size(max = 256)
    @Column(name = "INPUT_FREQUENCY", length = 256)
    protected String inputFrequency;

    @Valid
    @Embedded
    protected EffectiveDates effectiveDates;

    @Size(max = 4096)
    @Column(name = "NOTES", length = 4096)
    protected String notes;

    @SuppressWarnings("unused")
    private Integer getId() {
        return id;
    }

    @SuppressWarnings("unused")
    private void setId(Integer id) {
        this.id = id;
    }

    /**
     * Return standard type.
     */
    public String getStandardType() {
        return standardType;
    }

    /**
     * Set standard type.
     */
    public void setStandardType(String value) {
        this.standardType = value;
    }

    /**
     * Return input frequency.
     */
    public String getInputFrequency() {
        return inputFrequency;
    }

    /**
     * Set input frequency.
     */
    public void setInputFrequency(String value) {
        this.inputFrequency = value;
    }

    /**
     * Return effective dates.
     */
    public EffectiveDates getEffectiveDates() {
        return effectiveDates;
    }

    /**
     * Set effective dates.
     */
    public void setEffectiveDates(EffectiveDates value) {
        this.effectiveDates = value;
    }

    /**
     * Return notes.
     */
    public String getNotes() {
        return notes;
    }

    /**
     * Set notes.
     */
    public void setNotes(String value) {
        this.notes = value;
    }
}

Fix spelling.