Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/the/test/Test3Core.java


1   package com.the.test;
2   import java.util.*;
3   import java.math.*;
4   import java.sql.*;
5   import com.gopas.rt.util.*;
6   import com.gopas.rt.model.*;
7   import com.gopas.tangox.pers.reldb.*;
8   public abstract class Test3Core extends EntityImpl
9     implements Test3, RT
10  {
11    public Test3Core() 
12    {
13      super(Test3.typeDesc);
14    }
15    public Test3Core(Object uid) 
16    {
17      super(uid, CREATED_STATUS, Test3.typeDesc);
18    }
19    public Test3Core(Object uid, int status) 
20    {
21      super(uid, status, Test3.typeDesc);
22    }
23    public Test3Core(Object uid, int status, TypeDesc pTypeDesc) 
24    {
25      super(uid, status, pTypeDesc);
26    }
27  
28    // --- attr bridge ---
29    private Object iaBridge;
30    public EntityBridge getBridge() {
31      if (iaBridge instanceof EntityRef) {
32        iaBridge = ((EntityRef)iaBridge).getEntity();
33      }
34      return (EntityBridge)iaBridge;
35    }
36    public void setBridge(EntityBridge p) {
37      Object oldVal = this.iaBridge;
38      this.iaBridge = p;
39      Object newVal = this.iaBridge;
40      setObjectModified();
41      firePropertyChange(bridge_ATTR, oldVal, newVal);
42    }
43    public static ColumnDesc[] getColumnDescArr() {
44      return ColumnDesc.concat(
45        EntityImpl.getColumnDescArr(),
46        Test3.columnDescArr);
47    }
48    public TypeDesc getTypeDesc() { return Test3.typeDesc; }
49  }