[Nml-wg] Grouping relations (Relations in NML)
Roman Łapacz
romradz at man.poznan.pl
Thu Jun 21 09:38:34 EDT 2012
W dniu 2012-06-21 14:57, Freek Dijkstra pisze:
> Jeroen van der Ham wrote:
>
>> Grouping is done slightly differently in XML and RDF:
>>
>> Grouping in XML:
>> Containment for elements.
>>
>> Ordering:
>> <NE> next<NE>
>>
>>
>> Grouping in RDF:
>> <Group> contains<NE>
>>
>> Ordered group is done using extra ListItem objects:
>> <ListItem> item<NE>
>> <ListItem> next<ListItem>
> I presume for RDF you mean
> <Group> contains<ListItem>
>
>
> We also have the following grouping relations:
> <Node> implementedBy<Node>
> <Topology|Node> hasNode<Node>
> <Topology> hasTopology<Topology>
> <NE> hasService<Service>
>
> While updated the UML schema, I noted we are missing a few
> group-to-element relations:
>
> <BidirectionalPort> ?????<Port>
> <BidirectionalLink> ?????<Link>
> <Topology|Node> ?????<Link|LinkGroup>
>
> (NB: Node ---> Link is used for cross connects, in case that's not
> immediately obvious.)
>
> And with the recent LinkGroup and PortGroup we also need:
> <PortGroup> ?????<Port>
> <LinkGroup> ?????<Link>
>
> Can we use hasPort/hasLink for the 5 missing relations?
>
> <NE> hasPort<Port>
> <NE> hasLink<Port>
In my opinoin we don't have to use the relation element for mentioned
cases. Simple inclusion would be enough.
example:
<BidirectionalPort>
<Port/>
<Port/>
</BidirectionalPort>
Roman
>
> Regards,
> Freek
> _______________________________________________
> nml-wg mailing list
> nml-wg at ogf.org
> https://www.ogf.org/mailman/listinfo/nml-wg
More information about the nml-wg
mailing list