*/
@Override
public Group createObject(ResultSet resultSet) throws SQLException {
- return new LazyGroup(resultSet.getString("GROUPS.ID")).setName(resultSet.getString("GROUPS.NAME")).setUrl(resultSet.getString("GROUPS.URL"));
+ return new LazyGroup(resultSet.getString("GROUPS.ID")).setName(resultSet.getString("GROUPS.NAME"));
}
}
* {@inheritDoc}
*/
@Override
- public String getUrl() {
- return getValue("url", String.class).get();
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public Group setUrl(String url) {
- getValue("url", String.class).set(url);
- return this;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
@SuppressWarnings("unchecked")
public Collection<Artist> getArtists() {
return getValue("artists", Collection.class).get();
public Group setName(String name);
/**
- * Returns the URL of this group’s website.
- *
- * @return The URL of this group’s website
- */
- public String getUrl();
-
- /**
- * Sets the URL of this group’s website.
- *
- * @param url
- * The URL of this group’s website
- * @return This group
- */
- public Group setUrl(String url);
-
- /**
* Returns all artists belonging to this group.
*
* @return All artists belonging to this group