Hi,
  I have  ben trying to use SDO 2.0 implementation to transform an XML file 
into a DataGraph.
  But on examinig the files, i find that the DataObjectUtil Class 
  public static Property getProperty(DataObject dataObject, int propertyIndex)
  {
    List typeProperties = dataObject.getType().getProperties();
    
    Property property = propertyIndex < typeProperties.size() ?
        (Property)typeProperties.get(propertyIndex) :
        (Property)dataObject.getInstanceProperties().get(propertyIndex);
    
    //FB maybe should catch bad index exception and throw 
IllegalArgumentException?
    return property;
  }
  the follwing method calls the getInstanceProperties() of the Property in the 
commonj.sdo package.
  But the Property Class found in this package has no such method.
  Its only the Property Model Class interface that has such a method.
  Any help?
  Thanks in advance
  Preethi

                
---------------------------------
Get your email and more, right on the  new Yahoo.com 

Reply via email to