Added Integer binding for {runtime}
This commit is contained in:
parent
21a68272ec
commit
c99be48cf0
|
@ -573,6 +573,12 @@ public class MediaBindingBean {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Define("runtime")
|
||||||
|
public Integer getRuntime() {
|
||||||
|
Object runtime = getMetaInfo().getProperty("runtime");
|
||||||
|
return runtime instanceof Integer ? (Integer) runtime : Integer.parseInt(runtime.toString());
|
||||||
|
}
|
||||||
|
|
||||||
@Define("actors")
|
@Define("actors")
|
||||||
public Object getActors() {
|
public Object getActors() {
|
||||||
return getMetaInfo().getProperty("actors");
|
return getMetaInfo().getProperty("actors");
|
||||||
|
|
Loading…
Reference in New Issue