* @throws InvalidNameException
*/
protected RefAssociation getRefAssociationByConceptName(String conceptName)
throws InvalidNameException
{
RefPackage extent = getOutermostRefPackage();
String[] names = conceptName.split("\\.");
int i = 0;
try
{
for(i = 0; i<names.length-1; i++)
{
extent = (RefPackage)extent.refPackage(names[i]);
} // end loop
return extent.refAssociation(names[i]);
}
catch(IndexOutOfBoundsException ex)
{
throw new InvalidNameException("Bad concept name '"+conceptName
+"': Can't split name in subnames.");