Search in sources :

Example 6 with ClientOtherEthnicity

use of gov.ca.cwds.data.legacy.cms.entity.ClientOtherEthnicity in project api-core by ca-cwds.

the class R00742Test method createClientOtherEthnicity.

private static ClientOtherEthnicity createClientOtherEthnicity(Client client, Short ethnicityCode) {
    ClientOtherEthnicity clientScpEthnicity = new ClientOtherEthnicity();
    clientScpEthnicity.setClient(client);
    clientScpEthnicity.setEthnicityCode(ethnicityCode);
    return clientScpEthnicity;
}
Also used : ClientOtherEthnicity(gov.ca.cwds.data.legacy.cms.entity.ClientOtherEthnicity)

Aggregations

ClientOtherEthnicity (gov.ca.cwds.data.legacy.cms.entity.ClientOtherEthnicity)6 Client (gov.ca.cwds.data.legacy.cms.entity.Client)4 Test (org.junit.Test)4 BaseCwsCmsInMemoryPersistenceTest (gov.ca.cwds.data.legacy.cms.persistence.BaseCwsCmsInMemoryPersistenceTest)2 Session (org.hibernate.Session)2 ChildClient (gov.ca.cwds.data.legacy.cms.entity.ChildClient)1 Timestamp (java.sql.Timestamp)1 ArrayList (java.util.ArrayList)1