Examples of ObjectRef


Examples of com.antlersoft.odb.ObjectRef

    protected int lineNumber;
   
    DBReference( DBMethod s, Persistent t, int l)
    {
    source=new ObjectRef<DBMethod>( s);
    target=new ObjectRef(t);
    lineNumber=l;
    _impl=new PersistentImpl();
    }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRef

    return getMethod().getLineNumber();
  }
 
  DBArgument( DBMethod method, int ordinal, DBType type)
  {
    _dbmethod=new ObjectRef( method);
    _ordinal=ordinal;
    _dbtype=new ObjectRef( type);
    _name="";
    _annotationCollection=new AnnotationCollection();
    ObjectDB.makePersistent( this);
  }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRef

    read_class.setVisited( true);
    applyCurrentAttributes(read_class);
    ObjectKeyHashSet base=new ObjectKeyHashSet();
    try
    {
      base.add( new ObjectRef( DBClass.get( m_db, ITypeInterpreter.Factory.getClassKey(extendsType))));
      for ( Iterator i=implementsList.iterator(); i.hasNext();)
      {
        base.add( new ObjectRef( DBClass.get( m_db, ITypeInterpreter.Factory.getClassKey((ReadType)i.next()))));
      }
    }
    catch ( ITypeInterpreter.TIException ti)
    {
      LoggingDBDriver.logger.info( ti.getMessage());
View Full Code Here

Examples of com.antlersoft.odb.ObjectRef

  static final String UNIQUE_KEY="FileInclusion.uk";

  private FileInclusion( IncludeFile included, SourceFile from, int line)
  {
    super( from, line);
    m_included_file=new ObjectRef( included);
    ObjectDB.makePersistent( this);
  }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRef

  ObjectRef m_file;
  int m_line;

  SourceObject( SourceFile file, int line)
  {
    m_file=new ObjectRef( file);
    m_line=line;
  }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRef

    for ( int i=0; i<size; ++i)
    {
      ReadArg arg=(ReadArg)arg_list.get(i);
      if ( i>=m_arguments.size())
      {
        m_arguments.add( new ObjectRef( new DBArgument( this, getArgType( db, arg), arg.getName(), i)));
        updated=true;
      }
      else
      {
        if ( arg.getName()!=null)
View Full Code Here

Examples of com.antlersoft.odb.ObjectRef

  private ObjectRef m_unit, m_entry;
  private Date m_update_date;

  private UnitEntry( TranslationUnit unit, Persistent entry)
  {
    m_unit=new ObjectRef();
    m_entry=new ObjectRef();
    m_unit.setReferenced( unit);
    m_entry.setReferenced( entry);
    m_update_date=unit.getTranslationDate();
    ObjectDB.makePersistent( this);
  }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRef

  ObjectRef m_assembly_ref;
 
  private DBModule( String name)
  {
    m_module_name=name;
    m_assembly_ref=new ObjectRef();
    ObjectDB.makePersistent( this);
  }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRef

 
  private transient PersistentImpl _persistentImpl;
 
  DBArgument( DBMethod method, DBType type, String name, int index)
  {
    m_type=new ObjectRef( type);
    m_method=new ObjectRef( method);
    m_name=( name==null ? "" : name);
    m_index=index;
   
    ObjectDB.makePersistent(this);
  }
View Full Code Here

Examples of com.antlersoft.odb.ObjectRef

   * @return Field with that name
   */
  DBField getField( String name, DBType type)
  {
    DBField result;
    ObjectRef ref=(ObjectRef)m_fields.get( name);
    if ( ref==null)
    {
      result=new DBField( this, name, type);
      m_fields.put(name, new ObjectRef( result));
      ObjectDB.makeDirty(this);
    }
    else
    {
      result=(DBField)ref.getReferenced();
      result.setDBType(type);
    }
    return result;
  }
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.