• Type: Task
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Component/s: Spec
    • None
    • Hide

      Directional proposal:

      1.) Amend the TypeDefinition resource to contain an array of Links to other TypeDefinition resources. The resource type described by this TypeDefinition is a sub-type of the types referenced by these Links - it is substitutable for those types.

      2.) Add language to clarify that the types referenced in this array cannot define attributes of the same name unless those attributes are inherited from a common ancestor (e.g. Resource).

      3.) Re-factor the "common attributes" (e.g. "name", "type", etc.) as attributes of a base resource type called "Resource" that every other resource inherits from.

      Inlined proposal based on agreements on previous calls: https://www.oasis-open.org/committees/download.php/51688/camp-spec-v1.1-wd32-issue44rev2.doc

      Updated version of inlined proposal at https://www.oasis-open.org/committees/document.php?document_id=51791&wg_abbrev=camp
      This resolves comments by AlexM and Gil

      Updated to v4 based on comment on the 2013-12-18 call https://www.oasis-open.org/committees/document.php?document_id=51799&wg_abbrev=camp

      4) Updated to v5: Removed example. The example is the source of too many issues. It causes more problems than it solves.
      https://www.oasis-open.org/committees/document.php?document_id=51885&wg_abbrev=camp

      Show
      Directional proposal: 1.) Amend the TypeDefinition resource to contain an array of Links to other TypeDefinition resources. The resource type described by this TypeDefinition is a sub-type of the types referenced by these Links - it is substitutable for those types. 2.) Add language to clarify that the types referenced in this array cannot define attributes of the same name unless those attributes are inherited from a common ancestor (e.g. Resource). 3.) Re-factor the "common attributes" (e.g. "name", "type", etc.) as attributes of a base resource type called "Resource" that every other resource inherits from. Inlined proposal based on agreements on previous calls: https://www.oasis-open.org/committees/download.php/51688/camp-spec-v1.1-wd32-issue44rev2.doc Updated version of inlined proposal at https://www.oasis-open.org/committees/document.php?document_id=51791&wg_abbrev=camp This resolves comments by AlexM and Gil Updated to v4 based on comment on the 2013-12-18 call https://www.oasis-open.org/committees/document.php?document_id=51799&wg_abbrev=camp 4) Updated to v5: Removed example. The example is the source of too many issues. It causes more problems than it solves. https://www.oasis-open.org/committees/document.php?document_id=51885&wg_abbrev=camp
    • Show
      Proposal added to WD35: https://www.oasis-open.org/apps/org/workgroup/camp/download.php/51922/camp-spec-v1.1-wd35.doc

      There were several key questions about types that have come up in today's F2F:

      What type hierarchy will we use? Mark requests ability to define e.g. MyGreatDatabase which extends Database. (We could also have multiple inheritance / interface / etc.)

      How do we explore the type hierarchy? (The apidoc suggestion in CAMP-1 could come in here.)

      And do we permit dynamic attribute extensions – e.g. a resource instance has values for other attributes not on its type? (Yes please!)

            Assignee:
            Unassigned
            Reporter:
            Alex Heneveld (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: