Commit 3662ccd0 by Nilu

Adding countries mapping with currency

parent 028af8ca
...@@ -30,8 +30,6 @@ import performa.orm.types.*; ...@@ -30,8 +30,6 @@ import performa.orm.types.*;
import performa.orm.types.TimeZone; import performa.orm.types.TimeZone;
import oneit.business.shopping.orm.*;
public abstract class BaseClient extends BaseBusinessClass public abstract class BaseClient extends BaseBusinessClass
......
...@@ -30,8 +30,6 @@ import performa.orm.types.*; ...@@ -30,8 +30,6 @@ import performa.orm.types.*;
import performa.orm.types.TimeZone; import performa.orm.types.TimeZone;
import oneit.business.shopping.orm.*;
public abstract class BaseCompany extends BaseBusinessClass public abstract class BaseCompany extends BaseBusinessClass
......
...@@ -30,8 +30,6 @@ import performa.orm.types.*; ...@@ -30,8 +30,6 @@ import performa.orm.types.*;
import performa.orm.types.TimeZone; import performa.orm.types.TimeZone;
import oneit.business.shopping.orm.*;
public abstract class BaseHiringTeam extends BaseBusinessClass public abstract class BaseHiringTeam extends BaseBusinessClass
......
...@@ -30,8 +30,6 @@ import performa.orm.types.*; ...@@ -30,8 +30,6 @@ import performa.orm.types.*;
import oneit.security.*; import oneit.security.*;
import oneit.business.shopping.orm.*;
public abstract class BaseJob extends BaseBusinessClass public abstract class BaseJob extends BaseBusinessClass
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
<IMPORT value="performa.orm.types.*"/> <IMPORT value="performa.orm.types.*"/>
<IMPORT value="performa.orm.types.TimeZone"/> <IMPORT value="performa.orm.types.TimeZone"/>
<IMPORT value="oneit.business.shopping.orm.*"/>
<MULTIPLEREFERENCE name="Jobs" type="Job" backreferenceName="Client" /> <MULTIPLEREFERENCE name="Jobs" type="Job" backreferenceName="Client" />
......
...@@ -16,7 +16,6 @@ import oneit.utils.*; ...@@ -16,7 +16,6 @@ import oneit.utils.*;
import oneit.utils.threading.*; import oneit.utils.threading.*;
import performa.orm.types.*; import performa.orm.types.*;
import performa.orm.types.TimeZone; import performa.orm.types.TimeZone;
import oneit.business.shopping.orm.*;
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
<IMPORT value="performa.orm.types.*"/> <IMPORT value="performa.orm.types.*"/>
<IMPORT value="performa.orm.types.TimeZone"/> <IMPORT value="performa.orm.types.TimeZone"/>
<IMPORT value="oneit.business.shopping.orm.*"/>
<MULTIPLEREFERENCE name="Users" type="CompanyUser" backreferenceName="Company" /> <MULTIPLEREFERENCE name="Users" type="CompanyUser" backreferenceName="Company" />
<MULTIPLEREFERENCE name="Clients" type="Client" backreferenceName="Company" /> <MULTIPLEREFERENCE name="Clients" type="Client" backreferenceName="Company" />
......
...@@ -16,7 +16,6 @@ import oneit.utils.*; ...@@ -16,7 +16,6 @@ import oneit.utils.*;
import oneit.utils.threading.*; import oneit.utils.threading.*;
import performa.orm.types.*; import performa.orm.types.*;
import performa.orm.types.TimeZone; import performa.orm.types.TimeZone;
import oneit.business.shopping.orm.*;
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
<IMPORT value="performa.orm.types.*"/> <IMPORT value="performa.orm.types.*"/>
<IMPORT value="performa.orm.types.TimeZone"/> <IMPORT value="performa.orm.types.TimeZone"/>
<IMPORT value="oneit.business.shopping.orm.*"/>
<MULTIPLEREFERENCE name="Users" type="CompanyUserHiringTeamLink" backreferenceName="HiringTeam" /> <MULTIPLEREFERENCE name="Users" type="CompanyUserHiringTeamLink" backreferenceName="HiringTeam" />
<MULTIPLEREFERENCE name="Clients" type="Client" backreferenceName="HiringTeam" /> <MULTIPLEREFERENCE name="Clients" type="Client" backreferenceName="HiringTeam" />
......
...@@ -16,7 +16,6 @@ import oneit.utils.*; ...@@ -16,7 +16,6 @@ import oneit.utils.*;
import oneit.utils.threading.*; import oneit.utils.threading.*;
import performa.orm.types.*; import performa.orm.types.*;
import performa.orm.types.TimeZone; import performa.orm.types.TimeZone;
import oneit.business.shopping.orm.*;
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
<BUSINESSCLASS name="Job" package="performa.orm"> <BUSINESSCLASS name="Job" package="performa.orm">
<IMPORT value="performa.orm.types.*"/> <IMPORT value="performa.orm.types.*"/>
<IMPORT value="oneit.security.*"/> <IMPORT value="oneit.security.*"/>
<IMPORT value="oneit.business.shopping.orm.*"/>
<MULTIPLEREFERENCE name="JobApplications" type="JobApplication" backreferenceName="Job" /> <MULTIPLEREFERENCE name="JobApplications" type="JobApplication" backreferenceName="Job" />
<MULTIPLEREFERENCE name="AssessmentCriterias" type="AssessmentCriteria" backreferenceName="Job" /> <MULTIPLEREFERENCE name="AssessmentCriterias" type="AssessmentCriteria" backreferenceName="Job" />
......
...@@ -16,7 +16,6 @@ import oneit.utils.*; ...@@ -16,7 +16,6 @@ import oneit.utils.*;
import oneit.utils.threading.*; import oneit.utils.threading.*;
import performa.orm.types.*; import performa.orm.types.*;
import oneit.security.*; import oneit.security.*;
import oneit.business.shopping.orm.*;
......
...@@ -31,9 +31,11 @@ public class CurrencyType extends AbstractEnumerated ...@@ -31,9 +31,11 @@ public class CurrencyType extends AbstractEnumerated
public static final CurrencyType USD = new CurrencyType ("USD", "USD", "USD", false); public static final CurrencyType USD = new CurrencyType ("USD", "USD", "USD", false);
public static final CurrencyType SGD = new CurrencyType ("SGD", "SGD", "SGD", false); public static final CurrencyType SGD = new CurrencyType ("SGD", "SGD", "SGD", false);
public static final CurrencyType CAD = new CurrencyType ("CAD", "CAD", "CAD", false);
private static final CurrencyType[] allCurrencyTypes = private static final CurrencyType[] allCurrencyTypes =
new CurrencyType[] { AUD,NZD,EUR,GBP,USD,SGD}; new CurrencyType[] { AUD,NZD,EUR,GBP,USD,SGD,CAD};
private static CurrencyType[] getAllCurrencyTypes () private static CurrencyType[] getAllCurrencyTypes ()
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<VALUE name="GBP" description="GBP" /> <VALUE name="GBP" description="GBP" />
<VALUE name="USD" description="USD" /> <VALUE name="USD" description="USD" />
<VALUE name="SGD" description="SGD" /> <VALUE name="SGD" description="SGD" />
<VALUE name="CAD" description="CAD" />
</CONSTANT> </CONSTANT>
</ROOT> </ROOT>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment