mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
Refactor enum to string
This commit is contained in:
parent
d07440897d
commit
1605bcd8e1
1 changed files with 4 additions and 5 deletions
|
|
@ -63,8 +63,8 @@ public class Child {
|
||||||
protected String albumId;
|
protected String albumId;
|
||||||
@Attribute
|
@Attribute
|
||||||
protected String artistId;
|
protected String artistId;
|
||||||
@Element
|
@Attribute
|
||||||
protected MediaType type;
|
protected String type;
|
||||||
@Attribute
|
@Attribute
|
||||||
protected Long bookmarkPosition;
|
protected Long bookmarkPosition;
|
||||||
@Attribute
|
@Attribute
|
||||||
|
|
@ -72,7 +72,6 @@ public class Child {
|
||||||
@Attribute
|
@Attribute
|
||||||
protected Integer originalHeight;
|
protected Integer originalHeight;
|
||||||
|
|
||||||
@Attribute
|
|
||||||
public String getId() {
|
public String getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
|
@ -289,11 +288,11 @@ public class Child {
|
||||||
this.artistId = value;
|
this.artistId = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MediaType getType() {
|
public String getType() {
|
||||||
return type;
|
return type;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setType(MediaType value) {
|
public void setType(String value) {
|
||||||
this.type = value;
|
this.type = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue