This commit is contained in:
Lucio Lelii 2018-10-15 13:39:29 +00:00
parent 7c89eac1ea
commit 3071eb0ee1
2 changed files with 3 additions and 3 deletions

View File

@ -10,5 +10,5 @@ import java.lang.annotation.Target;
public @interface Attribute {
String value();
boolean isReadOnly() default false;
boolean isReadOnly() default true;
}

View File

@ -38,7 +38,7 @@ public class Item {
boolean locked;
@Attribute("jcr:title")
@Attribute(value ="jcr:title")
String title;
@Attribute("jcr:description")
@ -68,7 +68,7 @@ public class Item {
@NodeAttribute(value=ACCOUNTING_NAME, isReadOnly=true)
Accounting accounting;
@NodeAttribute(value=METADATA_NAME, isReadOnly=true)
@NodeAttribute(value=METADATA_NAME, isReadOnly=false)
Metadata propertyMap;
public String getOwner() {