Package com.antlersoft.odb

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(((DBArgument)o1).m_type);
    }
View Full Code Here


   * @param db
   * @return Enumeration of DBCatch object that reference this DBClass
   */
  public Enumeration getCatchesOf( ILDB db)
  {
    return new ExactMatchIndexEnumeration( db.greaterThanOrEqualEntries(DBCatch.CATCH_TARGET, new ObjectRefKey(this)));   
  }
View Full Code Here

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

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

    return _persistentImpl;
  }
 
  private Enumeration getTypesByIndex( ILDB db, String indexName)
  {
    return new ExactMatchIndexEnumeration( db.greaterThanOrEqualEntries(indexName, new ObjectRefKey( this)));
  }
View Full Code Here

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

   * @param db ILDB for this analyzed system
   * @return an enumeration over classes in this assembly
   */
  public Enumeration getContainedClasses( ILDB db)
  {
    return new ExactMatchIndexEnumeration( db.greaterThanOrEqualEntries(DBClass.CLASS_ASSEMBLY_INDEX, new ObjectRefKey(this)));
  }
View Full Code Here

TOP

Related Classes of com.antlersoft.odb.ObjectRefKey

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.