Sha256: 347548304419208d7b1305a27b98889bd84ac9e6d98438ac2cfe106d66be1958
Contents?: true
Size: 604 Bytes
Versions: 1
Compression:
Stored size: 604 Bytes
Contents
package <%= models_package %>; import org.codehaus.jackson.annotate.JsonCreator; import org.codehaus.jackson.annotate.JsonProperty; import org.fusesource.restygwt.client.Json; import org.fusesource.restygwt.client.Json.Style; @Json(style = Style.RAILS) public class Application { private final String name; private final String url; @JsonCreator public Application(@JsonProperty("name") String name, @JsonProperty("url") String url){ this.url = url; this.name = name; } public String getName(){ return name; } public String getUrl(){ return url; } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
resty-generators-0.7.3 | lib/generators/resty/setup/templates/Application.java |