summaryrefslogtreecommitdiff
path: root/orkbasej/java/net/sf/oreka/persistent/Service.java
diff options
context:
space:
mode:
authorRalph Atallah <ralphat@users.sourceforge.net>2008-11-17 18:34:22 +0000
committerRalph Atallah <ralphat@users.sourceforge.net>2008-11-17 18:34:22 +0000
commit5768f0fa6a9f6a13183336e2587ca99e7a43936b (patch)
tree73022494d9b6db118b508302935b2f13760ba4e1 /orkbasej/java/net/sf/oreka/persistent/Service.java
parent8278fd69bdca293e4e8a094dcdb7d985c97f3b7d (diff)
IMPORTANT NOTE: With this commit, OrkWeb and OrkTrack are NO LONGER COMPATIBLE WITH PREVIOUS VERSIONS!
- Modified classes and underlying SQL table names by prefixing them with "ork". This allows oreka to run in any database without risk of collision with existing tables. - Now using MySQLInnoDBDialect to access DB instead of MySQLMyISAMDialect. - Fixed Browse page filtering to allow open-ended start and end dates git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@570 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasej/java/net/sf/oreka/persistent/Service.java')
-rw-r--r--orkbasej/java/net/sf/oreka/persistent/Service.java176
1 files changed, 0 insertions, 176 deletions
diff --git a/orkbasej/java/net/sf/oreka/persistent/Service.java b/orkbasej/java/net/sf/oreka/persistent/Service.java
deleted file mode 100644
index 701948e..0000000
--- a/orkbasej/java/net/sf/oreka/persistent/Service.java
+++ /dev/null
@@ -1,176 +0,0 @@
-/*
- * Oreka -- A media capture and retrieval platform
- *
- * Copyright (C) 2005, orecx LLC
- *
- * http://www.orecx.com
- *
- * This program is free software, distributed under the terms of
- * the GNU General Public License.
- * Please refer to http://www.gnu.org/copyleft/gpl.html
- *
- */
-
-/**
- *
- */
-package net.sf.oreka.persistent;
-
-import java.io.Serializable;
-
-import javax.persistence.Entity;
-import javax.persistence.GeneratorType;
-import javax.persistence.Id;
-import javax.persistence.Table;
-
-import net.sf.oreka.ServiceClass;
-
-/**
- * @hibernate.class
- */
-@Entity
-@Table(name = "service")
-public class Service implements Serializable {
-
- private int id;
- private String name = "";
- private String hostname = "";
- private int tcpPort = 0;
- private String fileServeProtocol = "";
- private int fileServeTcpPort = 0;
- private String fileServePath = "";
- private ServiceClass serviceClass;
- private boolean recordMaster = false;
-
- /**
- *
- */
- public Service() {
- serviceClass = ServiceClass.UNKN;
- }
-
- /**
- *
- * @hibernate.property
- * not-null="true"
- * @return Returns the fileServePath.
- */
- public String getFileServePath() {
- return fileServePath;
- }
-
-
- /**
- * @param fileServePath The fileServePath to set.
- */
- public void setFileServePath(String fileServePath) {
- this.fileServePath = fileServePath;
- }
-
- public int getFileServeTcpPort() {
- return fileServeTcpPort;
- }
-
- public void setFileServeTcpPort(int fileServeTcpPort) {
- this.fileServeTcpPort = fileServeTcpPort;
- }
-
- public int getTcpPort() {
- return tcpPort;
- }
-
- public void setTcpPort(int tcpPort) {
- this.tcpPort = tcpPort;
- }
-
- /**
- * @hibernate.property
- * not-null="true"
- * @return Returns the fileServeProtocol.
- */
- public String getFileServeProtocol() {
- return fileServeProtocol;
- }
-
-
- /**
- * @param fileServeProtocol The fileServeProtocol to set.
- */
- public void setFileServeProtocol(String fileServeProtocol) {
- this.fileServeProtocol = fileServeProtocol;
- }
-
-
- /**
- * @hibernate.property
- * unique="true"
- * not-null="true"
- * @return Returns the gUID.
- */
- public String getName() {
- return name;
- }
-
-
- /**
- * @param name The name to set.
- */
- public void setName(String name) {
- this.name = name;
- }
-
-
- /**
- * @hibernate.property
- * not-null="true"
- * @return Returns the hostname.
- */
- public String getHostname() {
- return hostname;
- }
-
-
- /**
- * @param hostname The hostname to set.
- */
- public void setHostname(String hostname) {
- this.hostname = hostname;
- }
-
-
- /**
- * @hibernate.id
- * generator-class="native"
- * @return Returns the id.
- */
- @Id(generate=GeneratorType.AUTO)
- public int getId() {
- return id;
- }
-
-
- /**
- * @param id The id to set.
- */
- public void setId(int id) {
- this.id = id;
- }
-
- public ServiceClass getServiceClass() {
- return serviceClass;
- }
-
- public void setServiceClass(ServiceClass serviceClass) {
- this.serviceClass = serviceClass;
- }
-
- public boolean isRecordMaster() {
- return recordMaster;
- }
-
- public void setRecordMaster(boolean cdrMaster) {
- this.recordMaster = cdrMaster;
- }
-
-
-}