aheinecke@5060: package de.intevation.flys.model;
aheinecke@5060: 
aheinecke@5060: import java.io.Serializable;
aheinecke@5060: 
aheinecke@5060: import javax.persistence.Column;
aheinecke@5060: import javax.persistence.Entity;
aheinecke@5060: import javax.persistence.Id;
aheinecke@5060: import javax.persistence.Table;
aheinecke@5060: 
aheinecke@5060: @Entity
aheinecke@5060: @Table(name = "boundary_kinds")
aheinecke@5060: public class BoundaryKind implements Serializable {
teichmann@5081: 
aheinecke@5060:     private Integer id;
aheinecke@5064:     private String name;
aheinecke@5060: 
aheinecke@5060:     @Id
aheinecke@5060:     @Column(name = "id")
aheinecke@5060:     public Integer getId() {
aheinecke@5060:         return id;
aheinecke@5060:     }
aheinecke@5060: 
aheinecke@5060:     public void setId(Integer id) {
aheinecke@5060:         this.id = id;
aheinecke@5060:     }
aheinecke@5060: 
aheinecke@5060:     /**
aheinecke@5060:      * Get name.
aheinecke@5060:      *
aheinecke@5060:      * @return name of the kind of boundary as String.
aheinecke@5060:      */
aheinecke@5060:     @Column(name = "name")
teichmann@5081:     public String getName() {
aheinecke@5060:         return name;
aheinecke@5060:     }
aheinecke@5060: 
aheinecke@5060:     /**
aheinecke@5060:      * Set name.
aheinecke@5060:      *
aheinecke@5060:      * @param name the value to set.
aheinecke@5060:      */
teichmann@5081:     public void setName(String name) {
aheinecke@5060:         this.name = name;
aheinecke@5060:     }
teichmann@5081: }