1 4 package com.nightlabs.ipanema.trade; 5 6 import java.util.HashMap ; 7 import java.util.Map ; 8 9 import com.nightlabs.ipanema.transfer.Anchor; 10 11 21 public class OrganisationLegalEntity extends LegalEntity 22 { 23 public static String getPrimaryKey(String organisationID) 24 { 25 return Anchor.getPrimaryKey(organisationID, OrganisationLegalEntity.class.getName()); 26 } 27 28 42 private Map orders = new HashMap (); 43 44 47 public OrganisationLegalEntity() { } 48 49 public OrganisationLegalEntity(com.nightlabs.ipanema.organisation.Organisation organisation) 50 { 51 super(organisation.getOrganisationID(), OrganisationLegalEntity.class.getName()); 52 this.organisation = organisation; 53 } 59 60 63 private com.nightlabs.ipanema.organisation.Organisation organisation; 64 65 68 public com.nightlabs.ipanema.organisation.Organisation getOrganisation() 69 { 70 return organisation; 71 } 72 73 74 } 89 | Popular Tags |