Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Examples of Resource Update RDF/XML

This topic provides two examples of the RDF/XML representation of Resource Update XML.

Update the name of an element

Update the name of the Actor 'Actor1' (with the Enterprise Architect GUID {567854C2-6A89-46d7-AB7E-F192668010CA}) to 'Actor 1_New'.

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/"

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <oslc_am:Resource>

          <!--Required Properties-->

          <dcterms:identifier>el_{567854C2-6A89-46d7-AB7E-F192668010CA}</dcterms:identifier>

          <!--Updateable Properties-->

          <dcterms:title>Actor1_New</dcterms:identifier>

     </oslc_am:Resource>

</rdf:RDF>

Update the Properties of a Resource Allocation

In the Actor 'Actor1' (with the Enterprise Architect GUID {567854C2-6A89-46d7-AB7E-F192668010CA}), on a Resource Allocation with the name 'Sparx' and the Role 'Business Analyst', update the Start Date, End Date and Percent Complete.

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:oslc_am="http://open-services.net/ns/am#"

                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

                xmlns:dcterms="http://purl.org/dc/terms/"

                xmlns:foaf="http://xmlns.com/foaf/0.1/"

                xmlns:ss="http://www.sparxsystems.com.au/oslc_am#">

     <ss:resourceallocation>

          <!--Required Property-->

          <dcterms:identifier>ra_{567854C2-6A89-46d7-AB7E-F192668010CA}_Business%20Analyst_Sparx</dcterms:identifier>

          <!--Updateable Properties-->

          <ss:startdate>2020-02-01</ss:startdate>

          <ss:enddate>2020-02-15</ss:enddate>

          <ss:percentagecomplete>0</ss:percentagecomplete>

     </ss:resourceallocation>

</rdf:RDF>