(no commit message)
[utils] / mythtv / war / src / main / java / org / wamblee / mythtv / Channel.java
diff --git a/mythtv/war/src/main/java/org/wamblee/mythtv/Channel.java b/mythtv/war/src/main/java/org/wamblee/mythtv/Channel.java
deleted file mode 100644 (file)
index 104e3aa..0000000
+++ /dev/null
@@ -1,74 +0,0 @@
-/*
- * Copyright 2006 the original author or authors.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.wamblee.mythtv;
-
-/**
- * 
- */
-public class Channel {
-
-    private int _id;
-
-    private String _name;
-
-    protected Channel() {
-        // Empty
-    }
-
-    /**
-     * @return the id
-     */
-    public int getId() {
-        return _id;
-    }
-
-    /**
-     * @return the name
-     */
-    public String getName() {
-        return _name;
-    }
-    
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
-    @Override
-    public String toString() {
-        return "Channel(" + _id + "," + _name + ")"; 
-    }
-    
-    /* (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
-    @Override
-    public boolean equals(Object aObj) {
-        if ( !(aObj instanceof Channel)) { 
-            return false;
-        }
-        Channel recording = (Channel)aObj; 
-        return _id == recording._id;  
-    }
-    
-    /* (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
-    @Override
-    public int hashCode() {
-        return _id;
-    }
-
-}