X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=mythtv%2Fwar%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fmythtv%2FChannel.java;fp=mythtv%2Fwar%2Fsrc%2Fmain%2Fjava%2Forg%2Fwamblee%2Fmythtv%2FChannel.java;h=0000000000000000000000000000000000000000;hb=03947cccfab5ffc636d5ce8262438cbed258ab5a;hp=104e3aac368a8902613a6075da0c7cfd3307e850;hpb=3882f585f7bc464a4fe4b227f7ad5f043332aaa7;p=utils 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 index 104e3aac..00000000 --- a/mythtv/war/src/main/java/org/wamblee/mythtv/Channel.java +++ /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; - } - -}