Package com.google.enterprise.connector.dctm.dfcwrap

Examples of com.google.enterprise.connector.dctm.dfcwrap.IAttr


      // the type attributes cache, and save about 2% of the
      // traversal time here by avoiding the calls to findAttrIndex
      // and getAttr.
      int attrIndex = object.findAttrIndex(name);
      if (attrIndex != -1) {
        IAttr attr = object.getAttr(attrIndex);
        getDctmAttribute(name, attr.getDataType(), values);
      } else {
        // No property by that name found.
        return false;
      }
    }
View Full Code Here


    }
  }

  public void testGetAttr() {
    try {
      IAttr attr = object.getAttr(1);
      assertEquals(attr.getName(), DmInitialize.DM_FIRST_ATTR);
    } catch (RepositoryException e) {
      // TODO: Why is this exception ignored?
    }
  }
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.dctm.dfcwrap.IAttr

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.