mirror of
https://github.com/ethauvin/rife2.git
synced 2025-05-01 11:08:11 -07:00
Minor tweaks to cmf example
This commit is contained in:
parent
a5d9484438
commit
f4c1297162
1 changed files with 0 additions and 6 deletions
|
@ -34,11 +34,6 @@ public class NewsItem extends MetaData {
|
|||
.mimeType(MimeType.IMAGE_JPEG)
|
||||
.contentAttribute("width", 480)
|
||||
.editable(false));
|
||||
|
||||
addConstraint(new ConstrainedProperty("id")
|
||||
.editable(false)
|
||||
.saved(false)
|
||||
.identifier(true));
|
||||
}
|
||||
|
||||
public void setId(Integer id) { id_ = id; }
|
||||
|
@ -59,5 +54,4 @@ public class NewsItem extends MetaData {
|
|||
public byte[] getImageSmall() { return newsImage_; }
|
||||
public void setImageMedium(byte[] imageMedium) { } // dummy setter
|
||||
public byte[] getImageMedium() { return newsImage_; }
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue