Examples of ObjectRefKey


Examples of com.antlersoft.odb.ObjectRefKey

    return EmptyEnum.empty;
    }

    public Enumeration<DBCall> getCalledBy( IndexAnalyzeDB db)
    {
      return (Enumeration<DBCall>)db.retrieveByIndex( DBCall.CALL_TARGET, new ObjectRefKey(this));
    }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRefKey

   * @param db IndexAnalyzeDB for this analyzed system
   * @return an enumeration over calls to this field
   */
  public Enumeration getReferencesTo( IndexAnalyzeDB db)
  {
    return db.retrieveByIndex(DBFieldReference.FRTARGET, new ObjectRefKey(this));
 
View Full Code Here

Examples of com.antlersoft.odb.ObjectRefKey

    return result;
  }
 
  static Comparable makeBundleKey( DBAssembly assembly, String name)
  {
    return new CompoundKey( new ObjectRefKey(assembly), name);
  }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRefKey

  public static FileInclusion get( IndexObjectDB db, IncludeFile included,
                   SourceFile from, int line)
  {
    FileInclusion fi=(FileInclusion)db.findObject( UNIQUE_KEY,
      new CompoundKey( new ObjectRefKey( included),
               new ObjectRefKey( from)));
    if ( fi==null)
      fi=new FileInclusion( included, from, line);
    else
    {
      if ( fi.m_line!=line)
View Full Code Here

Examples of com.antlersoft.odb.ObjectRefKey

  {
    public Comparable generateKey( Object o)
    {
      FileInclusion fi=(FileInclusion)o;
      return new CompoundKey(
                  new ObjectRefKey( fi.m_included_file),
                  new ObjectRefKey( fi.m_file));
    }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRefKey

  }

  public static Enumeration getAnnotationsWithType( IndexObjectDB db, Persistent annotationClass)
  {
    return new ExactMatchIndexEnumeration(
        db.greaterThanOrEqualEntries(ANNOTATION_CLASS, new ObjectRefKey(annotationClass)));
  }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRefKey

    /* (non-Javadoc)
     * @see com.antlersoft.odb.KeyGenerator#generateKey(java.lang.Object)
     */
    public Comparable generateKey(Object o1) {
      return new ObjectRefKey(((AnnotationBase)o1).getAnnotationClassRef());
    }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRefKey

    /* (non-Javadoc)
     * @see com.antlersoft.odb.KeyGenerator#generateKey(java.lang.Object)
     */
    public Comparable generateKey(Object o1) {
      return new ObjectRefKey(((DBStringResource)o1)._value);
    }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRefKey

    /* (non-Javadoc)
     * @see com.antlersoft.odb.KeyGenerator#generateKey(java.lang.Object)
     */
    public Comparable generateKey(Object o1) {
      return new ObjectRefKey(((DBStringResource)o1)._name);
    }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRefKey

   * @param db ILDB for this analyzed system
   * @return an enumeration over references to this string
   */
  public Enumeration getReferencesTo( IndexObjectDB db)
  {
    return new ExactMatchIndexEnumeration( db.greaterThanOrEqualEntries(SRTARGET, new ObjectRefKey(this)));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.