Oracle NDM node$ and link$ extra attributes

Hello,
is there any way to create the network with extra attribute columns in node and link tables? I like to store other attributes in node table - without keeping them on a different table, and on link table I would like mustiple costs, etc.
Also I noticed there is a userData method in node. is it possible to save this userData to somewhere per node?
Best Regards,

Hi,
There are a few ways to have multiple cost columns. You could actually create a network on a view, and redefine the view to use the cost column you want before doing the analysis. The other way is just to create a new network, using the exising node and link tables but different cost columns. I assume this is the example you are looking for, so here is an example that adds a network called MY_NEW_NETWORK, selecting all the information from MY_OLD_NETWORK, and changing the node and link cost columns to NEW_NODE_COST_COLUMN and NEW_LINK_COST_COLUMN.
Hope this helps.
insert into user_sdo_network_metadata (
select 'MY_NEW_NETWORK',NETWORK_ID, NETWORK_CATEGORY,
GEOMETRY_TYPE, NETWORK_TYPE, NO_OF_HIERARCHY_LEVELS, NO_OF_PARTITIONS, LRS_TABLE_NAME,
LRS_GEOM_COLUMN, NODE_TABLE_NAME, NODE_GEOM_COLUMN, 'NEW_NODE_COST_COLUMN', LINK_TABLE_NAME,
LINK_GEOM_COLUMN, LINK_DIRECTION, 'NEW_LINK_COST_COLUMN', PATH_TABLE_NAME, PATH_GEOM_COLUMN,
PATH_LINK_TABLE_NAME, PARTITION_TABLE_NAME
from user_sdo_network_metadata
where network = 'MY_OLD_NETWORK');

Similar Messages

  • Nodes and links are not displaying in IE10 browser - mapviewer ps6

    Hi,
    Node and link are not visible on the IE10 browser where as in IE9 they are displaying properly.
    In IE10 browser ,
    when we set compatibility settings - Display All websites in compatibility view --> node are displaying properly.
    when we deselect this node are not displaying properly
    Is there any existing bug on mapviewer?
    Thanks in Advance
    Aruna

    DRK Montreal,
    try opening Terminal, and running the following command in the Terminal window:
    nslookup www.pinatize.me
    If you still have access to some of those other Mac computers, try running the same command on them also for comparison.
    Please include in your reply the full output from that command.

  • DRAWING NODES and LINKS

    I am trying to draw a 3-d swing that shows nodes as circles and links between them. I have used AWT API for it, but I realised that i cannot use things like tooltips to see labels on the nodes. Also i have tried unsuccessfully to ensure that the links only touch the circumference of the nodes without showing inside the centre. How can I use swing to achieve this?

    Hey, check out this thread... You may find the final post of some use. I used something similar to it to transfer a file from the server to a my hard drive via an applet.
    http://forum.java.sun.com/thread.jsp?forum=22&thread=236396

  • View for a network node or link table

    Can a view be used for a nework node or link table? The process sdo_net.validate_network hangs when I try to validate a network based on views for the node and link tables.

    I am using a logical model. The sql statement (checking link/node relationship) that hangs is:
    select count(a.link_id) from vlinks a
    where not exists
    select * from vnodes b
    where b.node_id = a.start_node_id or b.node_id = a.end_node_id
    I gather there is a concurrency issue with my links view because it joins a table with itself. I have a link table that has the start and end nodes defined on two records. Here is my view script:
    create or replace view vlinks
    (link_id, link_name, start_node_id, end_node_id, link_type, active, link_level, cost, parent_link_id)
    as
    select a.id, 'Link '||a.id, a.nodeid, b.nodeid, 'simple', 'Y',1,0,''
    from vnodes a, vnodes b
    where a.seq=1 and b.seq>1 and a.id = b.id
    I can create tables from my views and validate them successfully through sdo_net.validate_nodes_schema, sdo_net.validate_links_schema, and sdo_net.validate_network.
    I can analyze the network model through the Java API using the reachable nodes, shortest path, and spanning tree methods without any problems.
    I guess I'll validate my view links by counting the total number of links and subtracting the number of links joined successfully at the start and end nodes - if 0 then all links are valid. E.g.:
    select count(link_id) from
    select link_id from vlinks
    minus
    select a.link_id from vlinks a, vnodes b, vnodes c
    where a.start_node_id = b.node_id
    and a.end_node_id = c.node_id

  • Dynamic Table control with context nodes and attributes?

    Hi all
    I have node and attributes in context. i want to create table dynamically using this node and attributes, can anyone give code how to do this???
    Thanks
    Madhan.

    Hi
    Go through this [link|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80a3de18-ee00-2d10-bfb3-946d7e00fd91?quicklink=index&overridelayout=true].
    Regards
    Arun.P

  • Displaying a mixture of text and links in a single node of af:tree

    Hi,
    I want to display few links embedded in text as a node in <af:tree>.
    For example, I want a single node in a tree to show three links with text - "Different type of email services are gmail, yahoomail,hotmail".
    (gmail,yahoomail and hotmail are links)
    Is there a good way of displaying this? I tried following options
    1) I have a property named "linkText" in a bean instance mybean of MyBean.java. "linkText" contains required text and "a href" tags to display links. I used the following code in jsp page
    <af:tree>
    <f:facet name="nodeStamp">
    <f:verbatim>
    #{mybean.linkText>
    </f:verbatim>
    </f:facet>
    </af:tree>
    <f:verbatim> displays the EL expression as it is. I am not able to access the value.
    2) I also tried to use <af:outputFormatted>. Though it supports "a href" tag, it does not support "target" attribute of the same tag.
    Is there any other way of doing this?

A: Displaying a mixture of text and links in a single node of <af:tree>

On a related note ...is it possible to call a commandLink to call an existing java bean/function within an outputText?
For example:
Say I had an outputText that dumped a /etc/hosts file and I wanted to put in a command link to ping each host and pass the particular IP address to it. What would be the best method for doing that?
135.122.29.122 host1.me.com {color:#ff0000}_PingMeLink_
{color}135.122.29.117 host2.sd.me.com _{color:#ff0000}PingMeLink{color}_
So can I embed this in an outputText somehow or is there a better way to do this?
&lt;af:commandLink text="PingMeLink"
action="#{NetworkController.PingAHost}"/&gt;
Thanks for your help!

On a related note ...is it possible to call a commandLink to call an existing java bean/function within an outputText?
For example:
Say I had an outputText that dumped a /etc/hosts file and I wanted to put in a command link to ping each host and pass the particular IP address to it. What would be the best method for doing that?
135.122.29.122 host1.me.com {color:#ff0000}_PingMeLink_
{color}135.122.29.117 host2.sd.me.com _{color:#ff0000}PingMeLink{color}_
So can I embed this in an outputText somehow or is there a better way to do this?
&lt;af:commandLink text="PingMeLink"
action="#{NetworkController.PingAHost}"/&gt;
Thanks for your help!

  • How to get nodes and its attributes of an XML file usiong DOM parsing?

    how to get nodes and its attributes of an XML file usiong DOM parsing?
    i am new to XML parsing.......
    Thanking you........

    import org.w3c.dom.Document;
    import org.w3c.dom.*;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;      ...
    //Setup the document
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
         DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
         Document doc = docBuilder.parse (new File("MY_XML_FILE.xml"));
    //get elemets by name
         String elementValue = doc.getElementsByTagName("MY_ELEMENT").item(0).getTextContent();
    //This method can return multiple nodes, in this instance I get item(0) , first nodeRead the api for other methods of getting data.

  • How To Display  attributes of Child Node and Parent Node in same view

    Suppose I have two view Carview and CarDetail View...IN Component context I have Parent Node Called Cars and It have its attribute as Price,Warranty,Year and also One Child Node Called as Brand Name Whose attribute are PrimaryBrand and SecondaryBrand..Now If I do Mapping of My First View i.e CarView with Child node of BrandName..and then I Have To Show Whole Detail of Car in CarDetailView.......How Can I Achieve it..

    Hi Vinay,
    You can map the child node and even the paren tnode to the same view if u want to display in the same window..
    If not if ur requirment is to dispaly in the sme view but should not map the child and parent to the Same view then you can take another new view.. and insert 2 view containers and then add the Child view and parent view in that view containers and then Diaplay the newly created view.
    Regards,
    Raju Bonagiri

  • Create dinamic nodes and attributes

    Hi Forum!
    I have created a WDA with 2 views. On the START_VIEW, the user can input details from an installation.  I want to display an error on the START_VIEW when a condition is false.
    How I can create a node with an attribute dinamically to display this error if the message Text View is not defined on the view?
    Could you give me a any sample of code, please?
    Thank you very mucha and regards,
    Manuel.

    Hi Manuel,
    Pleaes try this out. This is how to create an attribute dynamically.
    DATA: attribute      TYPE wdr_context_attribute_info.
    DATA: main_node  TYPE REF TO if_wd_context_node_info.
      "get main node
      main_node = wd_context->get_node_info( ).
      "set name for this attribute
      attribute-name = 'SOME_NAME_4_ATTR'.
      "set data type for this attribute
      attribute-type_name = 'SOME_DATA_TYPE'.
      "add attribute into context node
      main_node->add_attribute( attribute_info = attribute ).
    Thanks.
    Regards,
    Georgy Norkin

  • Running Oracle database 10g and 11g on same 5 RAC nodes

    Hello Gurus,
    Could any body throw light if I can install and sucessfully run Oracle database 10g and 11g on the same Oracle RAC installation setup.My setup is below
    Number of nodes-5
    OS- windows 2003 or RHEL5
    storage- DELL EMC SAN
    Clusterware- oracle version11g
    File system-Automatic storage management(ASM)
    After I successfully setup clusterware,ASM on the nodes,I would want to install 11g database on all 5 nodes .
    Then Install 10g database on only 3 of the nodes using the same clusterware.
    What are your views on the same.
    Also FYI... as per metalink node 220970.1(RAC: Frequently Asked Questions) one can do such a setup.
    what iam looking for is practical experience if anyone has implemented this in production system,if yes any issues faced and how tough it is to support.
    Thanks,
    Imtiyaz

    You could run an 11g database and 10g database on the same cluster as long as you use Clusterware 11g.
    The administration aspect will drastically change according to the platform you run on. As of now, it appears you don't know whether it will be Linux or Windows.
    It would be practical to support the same database release.

  • Nodes and attributes

    Hi,
    I want to know that is there any restrictions to declare nodes and attributes that come under these nodes?
    For Eg, the requirement is to create a miscellaneos invoice through a ABAP web dynpro screen.There are many fields like Vendor name , Invoice number, VAT  etc.How i can group these in to nodes and attributes? It is as we like or is there any standards to group?
    Regards,
    Charumathi.B

    hi charumathi.......
               the attributes can be combined into any node you wish..
    but if you are going to represent a table or need to have a set of values for a single attribute then put it under a node and mention the cardinality as 0...n. its always better to create an attribute under a node rather directly under a context, for attributes canoot be mapped directly from comonent controller. only nodes can be mapped. so it is always bettter to have attributes under nodes.
    ---regards,
       alex b justin

  • Data storage in a context node and in a context attribute.

    Hi All,
    I want to know how exactly the data is stored in context node (internal table) and in context attribute (single value) in memory during the runtime.
    Regards,
    Yugesh A

    Hi Andrea,
    Sorry I got it wrong , for lr_comp you will have to take reference from controller IMPL class.
    DATA:
              lr_entity TYPE REF TO cl_crm_bol_entity,
            lr_comp TYPE REF TO ( component controller IMPL class),
             lv_ref_guid     TYPE        crmt_object_guid,
             lr_collection TYPE REF TO cl_crm_bol_bo_col,
             lr_bdc type ref to  if_crm_ui_data_context,
             comp_controller type cl_bsp_wd_component_controller.
    lr_comp  ?= me->comp_controller.
    IF lr_comp IS BOUND.
        TRY.
    lr_entity ?= lr_comp->ZTYPED_CONTEXT->ZBTCUSTOMERH->collection_wrapper->get_current( ).
         lv_ref_guid = lr_entity->get_property_as_string( iv_attr_name = 'REF_GUID' ).
          CATCH cx_sy_ref_is_initial.
          ENDTRY.
    ENDIF.
    Hope it helps.
    Regards,
    Manjeet Singh.

  • Mapping Node and Attributes

    Hello all,
                I am using Process Composer for a process design.
    I have a human activity and an automated acitivity.
    Human Activity                                                 Automated Activity
    + Type Code (node)----
    Type Code (node)
       - TypeCode (attribute)----
    text() (attirbute)
    Above shows the mapping. Now I map the node and then i map the attribute. I save it.
    The above mapping is for input mapping of the automated activity. Suppose if leave the mapping screen and come back, the mapping is automatically gone. Though i saved it. The TypeCode (node) is mapped to text() with an error (after i change screen. That will be error of course).
    Have any of you faced any similar issue before?

    Problem solved.
    1. The cardinality of the nodes was not matching.
    2. Attributes were matched instead of matching nodes.
    Thnks

  • Difference between the binding and the value attribute of an Oracle ADF com

    Can somebody please tell me the difference between
    the binding attribute and the value attribute of any oracle ADF component such as inputText and when would we use one over the other.
    THanks,

    Value represent the value that is going to be displayed by the item.
    Binding indicate the backing bean object that represents the instance of the component.

  • Create New Oracle R12 Server with multi nodes and migrate the Production Data on it ?

    Good Day,
    I have New Task and I don't know how to start.
    Am working on Oracle Application 12.1.3
    And Database 11.2.3
    OS Redhat Linux 6.1
    My Production Server have the database and the application on the same Server (Single node),
    I want to create another 2 Servers with same Operating system to separate the application and the Database to be each one on separate server (Multi Nodes),
    And Migrate the Production Server Data on It?
    And i need to know how many days it will takes because we are live now ?
    Regards 

    Install the OS on the new servers -- Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86-64 (Doc ID 761566.1)
    Use Rapid Clone to move the application/database to the new server.
    Rapid Clone Documentation Resources For Release 11i and 12 (Doc ID 799735.1)
    Cloning Oracle Applications Release 12 with Rapid Clone (Doc ID 406982.1)
    For the duration, it depends on the size of your application/database and how long it takes to copy the files.
    Thanks,
    Hussein

  • Maybe you are looking for

    • Passing a variable from one class to another

      Hello: I am new to java programming. I am developing an application in Java At a particular JTextField call it jtf3, I am invoking Calendar application by clikcing a jbutton. I would like to set text in jtf by obtaining the date clicked by the user.

    • Arabic words not displaying correct in flex 4

      Hello All, Please find the attached image with this post. Arabic words are not displaying completely/correctly. I have makred it with red line, you can see that in the attached image. <s:TextArea text="{_str}"  width="100%"                 height="10

    • HAL - Unabled to write or access Vignette's HAL log file (access denied)

      Hi everybody, In Vignette in the EXE, in "LOGGING" tab, I choose "Enabled logging" "Log Messages to" "File" \mfqhaldv01\RAPFIN\DEVL\TRAITEMENT\RAPFIN02_BALVER.log if I have a access denied on this file, how can I do to know if I have a problem I can'

    • Help: Slow Crucial C300 256GB SSD in 17" MacBook Pro (2011) via SATA III 6Gb/s

      Computer: 2011 17" MacBook Pro Drive: Crucial C300 256GB Drive Firmware: Revision 7 Bay: Main Drive Bay (6Gb/s) OS: Lion 10.7.1 I did a fresh install of 10.7.1 and I'm getting these speeds on the above configuration: Here is the same test run on my p

    • Security rules in apps EUL

      Hi, It is possible to implement in apps EUL security rules set for Key Flexfield? If yes, how do that? rgds, Krystian