]>
git.argeo.org Git - gpl/argeo-slc.git/blob - server/org.argeo.slc.ria/src/argeo-ria-lib/jcr/class/org/argeo/jcr/ria/model/Property.js
1 qx
.Class
.define("org.argeo.jcr.ria.model.Property", {
2 extend
: org
.argeo
.jcr
.ria
.model
.AbstractItem
,
18 construct : function(propertyName
){
20 this.setName(propertyName
);
25 this.getParent().removeProperty(this.getName());
28 fromDomElement : function(domElement
){
29 if(domElement
.nodeType
!= 2) return;
30 this.setValue(domElement
.nodeValue
);
32 toXmlString : function(){
33 if(this.isLocal()) return "";
34 return this.getName()+"="+'"'+this.getValue()+'"';