Ejemplo n.º 1
0
        public virtual void MergeImport(System.Xml.XmlReader xml)
        {
            // it may be only an empty shell to stand-in for unreadable data
            if (!CurrentAccessRights.HasReadRights())
            {
                return;
            }
            switch (xml.NamespaceURI + "|" + xml.LocalName)
            {
            case "Zetbox.App.GUI|Blob":
                this._fk_guid_Blob = XmlStreamer.ReadNullableGuid(xml);
                break;

            case "Zetbox.App.Base|ExportGuid":
                // Import must have default value set
                this._ExportGuid      = XmlStreamer.ReadGuid(xml);
                this._isExportGuidSet = true;
                break;

            case "Zetbox.App.GUI|IconFile":
                this._IconFile = XmlStreamer.ReadString(xml);
                break;

            case "Zetbox.App.GUI|Module":
                this._fk_guid_Module = XmlStreamer.ReadNullableGuid(xml);
                break;
            }
        }
Ejemplo n.º 2
0
        public override void MergeImport(System.Xml.XmlReader xml)
        {
            base.MergeImport(xml);
            // it may be only an empty shell to stand-in for unreadable data
            if (!CurrentAccessRights.HasReadRights())
            {
                return;
            }
            switch (xml.NamespaceURI + "|" + xml.LocalName)
            {
            case "Zetbox.App.GUI|FalseIcon":
                this._fk_guid_FalseIcon = XmlStreamer.ReadNullableGuid(xml);
                break;

            case "Zetbox.App.Base|FalseLabel":
                this._FalseLabel = XmlStreamer.ReadString(xml);
                break;

            case "Zetbox.App.GUI|NullIcon":
                this._fk_guid_NullIcon = XmlStreamer.ReadNullableGuid(xml);
                break;

            case "Zetbox.App.Base|NullLabel":
                this._NullLabel = XmlStreamer.ReadString(xml);
                break;

            case "Zetbox.App.GUI|TrueIcon":
                this._fk_guid_TrueIcon = XmlStreamer.ReadNullableGuid(xml);
                break;

            case "Zetbox.App.Base|TrueLabel":
                this._TrueLabel = XmlStreamer.ReadString(xml);
                break;
            }
        }
Ejemplo n.º 3
0
        public override void MergeImport(System.Xml.XmlReader xml)
        {
            base.MergeImport(xml);
            // it may be only an empty shell to stand-in for unreadable data
            if (!CurrentAccessRights.HasReadRights())
            {
                return;
            }
            switch (xml.NamespaceURI + "|" + xml.LocalName)
            {
            case "Zetbox.App.Base|HasPersistentOrder":
                this._HasPersistentOrder = XmlStreamer.ReadBoolean(xml);
                break;

            case "Zetbox.App.Base|ImplementorRoleName":
                this._ImplementorRoleName = XmlStreamer.ReadString(xml);
                break;

            case "Zetbox.App.Base|IsList":
                this._IsList = XmlStreamer.ReadBoolean(xml);
                break;

            case "Zetbox.App.Base|ItemRoleName":
                this._ItemRoleName = XmlStreamer.ReadString(xml);
                break;

            case "Zetbox.App.Base|ReferencedObjectClass":
                this._fk_guid_ReferencedObjectClass = XmlStreamer.ReadNullableGuid(xml);
                break;

            case "Zetbox.App.Base|Verb":
                this._Verb = XmlStreamer.ReadString(xml);
                break;
            }
        }
Ejemplo n.º 4
0
 public override void MergeImport(System.Xml.XmlReader xml)
 {
     base.MergeImport(xml);
     // it may be only an empty shell to stand-in for unreadable data
     if (!CurrentAccessRights.HasReadRights())
     {
         return;
     }
     switch (xml.NamespaceURI + "|" + xml.LocalName)
     {
     case "Zetbox.App.GUI|Predicate":
         this._Predicate = XmlStreamer.ReadString(xml);
         break;
     }
 }
Ejemplo n.º 5
0
        public virtual void MergeImport(System.Xml.XmlReader xml)
        {
            // it may be only an empty shell to stand-in for unreadable data
            if (!CurrentAccessRights.HasReadRights())
            {
                return;
            }
            switch (xml.NamespaceURI + "|" + xml.LocalName)
            {
            case "Zetbox.App.Base|ChangedOn":
                // Import must have default value set
                this._ChangedOn      = XmlStreamer.ReadDateTime(xml);
                this._isChangedOnSet = true;
                break;

            case "Zetbox.App.Base|CreatedOn":
                // Import must have default value set
                this._CreatedOn      = XmlStreamer.ReadDateTime(xml);
                this._isCreatedOnSet = true;
                break;

            case "Zetbox.App.Base|ExportGuid":
                // Import must have default value set
                this._ExportGuid      = XmlStreamer.ReadGuid(xml);
                this._isExportGuidSet = true;
                break;

            case "Zetbox.App.Base|MimeType":
                this._MimeType = XmlStreamer.ReadString(xml);
                break;

            case "Zetbox.App.Base|OriginalName":
                this._OriginalName = XmlStreamer.ReadString(xml);
                break;

            case "Zetbox.App.Base|StoragePath":
                this._StoragePath = XmlStreamer.ReadString(xml);
                break;
            }
        }
Ejemplo n.º 6
0
        public virtual void MergeImport(System.Xml.XmlReader xml)
        {
            // it may be only an empty shell to stand-in for unreadable data
            if (!CurrentAccessRights.HasReadRights())
            {
                return;
            }
            switch (xml.NamespaceURI + "|" + xml.LocalName)
            {
            case "at.dasz.DocumentManagement|ChangedOn":
                // Import must have default value set
                this._ChangedOn      = XmlStreamer.ReadDateTime(xml);
                this._isChangedOnSet = true;
                break;

            case "at.dasz.DocumentManagement|CreatedOn":
                // Import must have default value set
                this._CreatedOn      = XmlStreamer.ReadDateTime(xml);
                this._isCreatedOnSet = true;
                break;

            case "at.dasz.DocumentManagement|ExportGuid":
                // Import must have default value set
                this._ExportGuid      = XmlStreamer.ReadGuid(xml);
                this._isExportGuidSet = true;
                break;

            case "at.dasz.DocumentManagement|MachineName":
                this._MachineName = XmlStreamer.ReadString(xml);
                break;

            case "at.dasz.DocumentManagement|PickupDirectory":
                this._PickupDirectory = XmlStreamer.ReadString(xml);
                break;
            }
        }
Ejemplo n.º 7
0
        public override IEnumerable <IPersistenceObject> FromStream(System.Xml.XmlReader xml)
        {
            var baseResult = base.FromStream(xml);

            switch (xml.NamespaceURI + "|" + xml.LocalName)
            {
            case "Zetbox.App.Test|MyIntProperty":
                this._MyIntProperty = XmlStreamer.ReadNullableInt32(xml);
                break;

            case "http://dasz.at/Zetbox|ObjectProp":
                this._fk_ObjectProp = XmlStreamer.ReadNullableInt32(xml);
                break;

            case "Zetbox.App.Test|StringProp":
                this._StringProp = XmlStreamer.ReadString(xml);
                break;

            case "Zetbox.App.Test|TestEnumProp":
                this.TestEnumProp = (Zetbox.App.Test.TestEnum)XmlStreamer.ReadInt32(xml);
                break;
            }
            return(baseResult);
        }
Ejemplo n.º 8
0
        public virtual void MergeImport(System.Xml.XmlReader xml)
        {
            // it may be only an empty shell to stand-in for unreadable data
            if (!CurrentAccessRights.HasReadRights())
            {
                return;
            }
            switch (xml.NamespaceURI + "|" + xml.LocalName)
            {
            case "Zetbox.App.Test|Any":
                XmlStreamer.FromStream(this.AnyImpl, xml);
                break;

            case "Zetbox.App.Test|DisplayName":
                this._DisplayName = XmlStreamer.ReadString(xml);
                break;

            case "Zetbox.App.Test|ExportGuid":
                // Import must have default value set
                this._ExportGuid      = XmlStreamer.ReadGuid(xml);
                this._isExportGuidSet = true;
                break;
            }
        }