<?xml version="1.0" encoding="windows-1252" ?>
<!DOCTYPE Entity SYSTEM "jbo_03_01.dtd">
<!---->
<Entity
  xmlns="http://xmlns.oracle.com/bc4j"
  Name="Emp"
  Version="11.1.1.66.73"
  InheritPersonalization="merge"
  DBObjectType="table"
  DBObjectName="EMP"
  AliasName="Emp"
  BindingStyle="OracleName"
  UseGlueCode="false"
  xmlns:validation="http://xmlns.oracle.com/adfm/validation">
  <DesignTime>
    <AttrArray Name="_publishEvents"/>
  </DesignTime>
  <Attribute
    Name="Empno"
    IsNotNull="true"
    Precision="4"
    Scale="0"
    ColumnName="EMPNO"
    SQLType="NUMERIC"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    TableName="EMP"
    PrimaryKey="true">
    <DesignTime>
      <Attr Name="_DisplaySize" Value="5"/>
    </DesignTime>
  </Attribute>
  <Attribute
    Name="Ename"
    Precision="40"
    ColumnName="ENAME"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="EMP">
    <DesignTime>
      <Attr Name="_DisplaySize" Value="10"/>
    </DesignTime>
    <Properties>
      <SchemaBasedProperties>
        <AUTOSUBMIT
          Value="true"/>
      </SchemaBasedProperties>
    </Properties>
  </Attribute>
  <Attribute
    Name="Job"
    Precision="9"
    ColumnName="JOB"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="VARCHAR2"
    TableName="EMP">
    <DesignTime>
      <Attr Name="_DisplaySize" Value="9"/>
    </DesignTime>
  </Attribute>
  <Attribute
    Name="Mgr"
    Precision="4"
    Scale="0"
    ColumnName="MGR"
    SQLType="NUMERIC"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    TableName="EMP">
    <DesignTime>
      <Attr Name="_DisplaySize" Value="5"/>
    </DesignTime>
  </Attribute>
  <Attribute
    Name="Hiredate"
    ColumnName="HIREDATE"
    SQLType="TIMESTAMP"
    Type="oracle.jbo.domain.Date"
    ColumnType="DATE"
    TableName="EMP">
    <DesignTime>
      <Attr Name="_DisplaySize" Value="7"/>
    </DesignTime>
  </Attribute>
  <Attribute
    Name="Sal"
    Precision="7"
    Scale="2"
    ColumnName="SAL"
    SQLType="NUMERIC"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    TableName="EMP">
    <DesignTime>
      <Attr Name="_DisplaySize" Value="9"/>
    </DesignTime>
  </Attribute>
  <Attribute
    Name="Comm"
    Precision="7"
    Scale="2"
    ColumnName="COMM"
    SQLType="NUMERIC"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    TableName="EMP">
    <DesignTime>
      <Attr Name="_DisplaySize" Value="9"/>
    </DesignTime>
  </Attribute>
  <Attribute
    Name="Deptno"
    Precision="2"
    Scale="0"
    ColumnName="DEPTNO"
    SQLType="NUMERIC"
    Type="oracle.jbo.domain.Number"
    ColumnType="NUMBER"
    TableName="EMP">
    <DesignTime>
      <Attr Name="_DisplaySize" Value="3"/>
    </DesignTime>
  </Attribute>
  <Attribute
    Name="EMPName"
    IsQueriable="false"
    IsPersistent="false"
    ColumnName="EMPNAME"
    SQLType="VARCHAR"
    Type="java.lang.String"
    ColumnType="$none$">
    <RecalcCondition><![CDATA[true]]></RecalcCondition>
    <TransientExpression><![CDATA[Ename]]></TransientExpression>
    <Dependencies>
      <Item
        Value="Ename"/>
    </Dependencies>
    <Properties>
      <SchemaBasedProperties>
        <AUTOSUBMIT
          Value="true"/>
      </SchemaBasedProperties>
    </Properties>
  </Attribute>
  <AccessorAttribute
    Name="Dept"
    Association="model.FkDeptnoAssoc"
    AssociationEnd="model.FkDeptnoAssoc.Dept"
    AssociationOtherEnd="model.FkDeptnoAssoc.Emp"
    Type="oracle.jbo.server.EntityImpl"
    IsUpdateable="true"/>
  <Key
    Name="PkEmp"
    PrimaryKey="true">
    <DesignTime>
      <Attr Name="_DBObjectName" Value="PK_EMP"/>
    </DesignTime>
    <AttrArray Name="Attributes">
      <Item Value="model.Emp.Empno"/>
    </AttrArray>
  </Key>
  <Key
    Name="FkDeptno">
    <DesignTime>
      <Attr Name="_referencedKey" Value="PK_DEPT"/>
      <Attr Name="_isForeign" Value="true"/>
      <Attr Name="_DBObjectName" Value="FK_DEPTNO"/>
    </DesignTime>
    <AttrArray Name="Attributes">
      <Item Value="model.Emp.Deptno"/>
    </AttrArray>
  </Key>
  <validation:ListValidationBean
    Name="Emp_Rule_0"
    ResId="ENAME_ENTITY_ERROR"
    OnAttribute="EMPName"
    OperandType="SQL"
    Inverse="false"
    ListValue="select dname from dept where dname is not null">
    <validation:OnAttributes>
      <validation:Item
        Value="EMPName"/>
    </validation:OnAttributes>
  </validation:ListValidationBean>
  <ResourceBundle>
    <PropertiesBundle
      PropertiesFile="model.ModelBundle"/>
  </ResourceBundle>
</Entity>
