Arcturus-Community/src/main/java/com/eu/habbo/habbohotel/items/SoundTrack.java

47 lines
971 B
Java
Raw Normal View History

2018-07-06 15:30:00 +02:00
package com.eu.habbo.habbohotel.items;
import java.sql.ResultSet;
import java.sql.SQLException;
2019-05-26 20:14:53 +02:00
public class SoundTrack {
2018-07-06 15:30:00 +02:00
private int id;
private String name;
private String author;
private String code;
private String data;
private int length;
2019-05-26 20:14:53 +02:00
public SoundTrack(ResultSet set) throws SQLException {
2018-07-06 15:30:00 +02:00
this.id = set.getInt("id");
this.name = set.getString("name");
this.author = set.getString("author");
this.code = set.getString("code");
this.data = set.getString("track");
this.length = set.getInt("length");
}
2019-05-26 20:14:53 +02:00
public int getId() {
2019-03-18 02:22:00 +01:00
return this.id;
2018-07-06 15:30:00 +02:00
}
2019-05-26 20:14:53 +02:00
public String getName() {
2019-03-18 02:22:00 +01:00
return this.name;
2018-07-06 15:30:00 +02:00
}
2019-05-26 20:14:53 +02:00
public String getAuthor() {
2019-03-18 02:22:00 +01:00
return this.author;
2018-07-06 15:30:00 +02:00
}
2019-05-26 20:14:53 +02:00
public String getCode() {
2019-03-18 02:22:00 +01:00
return this.code;
2018-07-06 15:30:00 +02:00
}
2019-05-26 20:14:53 +02:00
public String getData() {
2019-03-18 02:22:00 +01:00
return this.data;
2018-07-06 15:30:00 +02:00
}
2019-05-26 20:14:53 +02:00
public int getLength() {
2019-03-18 02:22:00 +01:00
return this.length;
2018-07-06 15:30:00 +02:00
}
}