OneReality.MyGoals Source

Sample Document

The OneReality.MyGoals project stores information about technology competencies, current and planned, and progress towards the latter.

Source XML File
<?xml version="1.0" ?>
<lz:project xmlns:lz="http://schemas.icitadel.com/Lazarus/Source.xsd"
	name="Lazarus" namespace="OR.MyGoals" owner="dbo" user="jmuharsky" namespaceprefix="lz" namespaceuri="http://schemas.icitadel.com/projects/MyGoals.xsd">
  <lz:description></lz:description>
  <lz:datasource location="JOEMU-VS1" schema="MyGoals" />
  <lz:defaults>
    <lz:fields>
      <lz:field name="Id" type="Identity">
        <lz:indexes>
          <lz:index type="Primary" />
        </lz:indexes>
      </lz:field>
    </lz:fields>
  </lz:defaults>
  <lz:objects>
    <!-- Picklist/Data Dictionary Pattern -->
    <lz:object name="Picklist" title-field="Name">
      <lz:fields>
        <lz:field name="Name" type="Varchar" size="50" />
        <lz:field name="Table" type="Varchar" size="50" />
        <lz:field name="Parent" type="Varchar">
          <lz:indexes>
            <lz:index type="Foreign" object="Picklist" />
          </lz:indexes>
        </lz:field>
      </lz:fields>
      <lz:methods>
        <lz:method type="Create" />
        <lz:method type="Update" />
        <lz:method type="Get" />
        <lz:method type="List" />
      </lz:methods>
    </lz:object>
    <lz:object name="PicklistItem" title-field="Title">
      <lz:fields>
        <lz:field name="Title" type="Varchar" size="50" />
      </lz:fields>
      <lz:methods>
        <lz:method type="Create" />
        <lz:method type="Update" />
        <lz:method type="Get" />
        <lz:method type="List" />
      </lz:methods>
    </lz:object>
    <lz:object name="SortablePicklistItem">
      <lz:implements>
        <lz:implement ref="PicklistItem" db-method="Aggregate" />
      </lz:implements>
      <lz:fields>
        <lz:field name="SortIndex" type="Int" required="true" />
      </lz:fields>
      <lz:methods>
        <lz:method type="Create" />
        <lz:method type="Update" />
        <lz:method type="Get" />
        <lz:method type="List" />
      </lz:methods>
    </lz:object>

    <!-- Business System Data -->
    <lz:object name="TechnologyFocus">
      <lz:description>Specifies a technology focus that you are interested in tracking.  This provides an area to rate and assess your competencies.</lz:description>
      <lz:fields>
        <lz:field name="Technology" required="true">
          <lz:description>Specifies the related Technology.</lz:description>
          <lz:indexes>
            <lz:index type="Foreign" object="PicklistItem" />
          </lz:indexes>
        </lz:field>
        <lz:field name="ExpertiseLevel">
          <lz:description>Specifies the level of Expertise you have in the current technology.</lz:description>
          <lz:indexes>
            <lz:index type="Foreign" object="PicklistItem" />
          </lz:indexes>
        </lz:field>
      </lz:fields>
      <lz:methods>
        <lz:method type="Create" />
        <lz:method type="Update" />
        <lz:method type="Get" />
        <lz:method type="List" />
      </lz:methods>
    </lz:object>

    <lz:object name="Goal">
      <lz:description>Defines a goal or milestone.  This may involve one or more of your chosen Technology Focuses.</lz:description>
      <lz:fields>
        <lz:field name="Title" type="Varchar" size="50" required="true">
          <lz:description>Specifies the title of the goal.  This should be a terse description.</lz:description>
        </lz:field>
        <lz:field name="Status" required="true">
          <lz:description>Specifies the status of the goal.  The identifies whether or not you have reached your milestone or goal in totality, or are working towards it.</lz:description>
          <lz:indexes>
            <lz:index type="Foreign" object="PicklistItem" />
          </lz:indexes>
        </lz:field>
      </lz:fields>
      <lz:methods>
        <lz:method type="Create" />
        <lz:method type="Update" />
        <lz:method type="Get" />
        <lz:method type="List" />
      </lz:methods>
    </lz:object>

    <lz:object name="GoalRequiredExpertise">
      <lz:description>Defines which Technology Focuses are is required to satisfy your various goals.</lz:description>
      <lz:fields>
        <lz:field name="Goal" required="true">
          <lz:indexes>
            <lz:index type="Foreign" object="Goal" />
          </lz:indexes>
        </lz:field>
        <lz:field name="TechnologyFocus" required="true">
          <lz:indexes>
            <lz:index type="Foreign" object="TechnologyFocus" />
          </lz:indexes>
        </lz:field>
      </lz:fields>
      <lz:methods>
        <lz:method type="Create" />
        <lz:method type="Update" />
        <lz:method type="Get" />
        <lz:method type="List" />
      </lz:methods>
    </lz:object>
  </lz:objects>
</lz:project>

Last edited Jan 11, 2008 at 7:53 PM by JoeMu, version 2

Comments

No comments yet.