/*******************************************************************************
* Australian National University Data Commons
* Copyright (C) 2013 The Australian National University
*
* This file is part of Australian National University Data Commons.
*
* Australian National University Data Commons is free software: you
* can redistribute it and/or modify it under the terms of the GNU
* General Public License as published by the Free Software Foundation,
* either version 3 of the License, or (at your option) any later
* version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
******************************************************************************/
package au.edu.anu.datacommons.data.db.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
* ExternalLinkPattern
*
* Australian National University Data Commons
*
* Entity class for the link_external_pattern database table
*
* JUnit Coverage:
* None
*
* <pre>
* Version Date Developer Description
* 0.1 20/11/2012 Genevieve Turner (GT) Initial
* </pre>
*
*/
@Entity
@Table(name="link_external_pattern")
public class ExternalLinkPattern {
private Long id;
private String object_type;
private String pattern;
private String description;
/**
* getId
*
* Get the id
*
* <pre>
* Version Date Developer Description
* 0.1 20/11/2012 Genevieve Turner(GT) Initial
* </pre>
*
* @return the id
*/
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
public Long getId() {
return id;
}
/**
* setId
*
* Set the id
*
* <pre>
* Version Date Developer Description
* 0.1 20/11/2012 Genevieve Turner(GT) Initial
* </pre>
*
* @param id the id to set
*/
public void setId(Long id) {
this.id = id;
}
/**
* getObject_type
*
* Get the object type
*
* <pre>
* Version Date Developer Description
* 0.1 20/11/2012 Genevieve Turner(GT) Initial
* </pre>
*
* @return the object type
*/
public String getObject_type() {
return object_type;
}
/**
* setObject_type
*
* Set the object type
*
* <pre>
* Version Date Developer Description
* 0.1 20/11/2012 Genevieve Turner(GT) Initial
* </pre>
*
* @param object_type the object type to set
*/
public void setObject_type(String object_type) {
this.object_type = object_type;
}
/**
* getPattern
*
* Get the pattern
*
* <pre>
* Version Date Developer Description
* 0.1 20/11/2012 Genevieve Turner(GT) Initial
* </pre>
*
* @return the pattern
*/
public String getPattern() {
return pattern;
}
/**
* setPattern
*
* Set the pattern
*
* <pre>
* Version Date Developer Description
* 0.1 20/11/2012 Genevieve Turner(GT) Initial
* </pre>
*
* @param pattern the pattern to set
*/
public void setPattern(String pattern) {
this.pattern = pattern;
}
/**
* getDescription
*
* Get the description
*
* <pre>
* Version Date Developer Description
* 0.1 20/11/2012 Genevieve Turner(GT) Initial
* </pre>
*
* @return the description
*/
public String getDescription() {
return description;
}
/**
* setDescription
*
* Set the description
*
* <pre>
* Version Date Developer Description
* 0.1 20/11/2012 Genevieve Turner(GT) Initial
* </pre>
*
* @param description the description to set
*/
public void setDescription(String description) {
this.description = description;
}
}