示例#1
0
 /**
  * Returns a micro-species with the specified name or null otherwise.
  *
  * @param microSpeciesName
  * @return a species or null
  */
 @Override
 public ISpecies getMicroSpecies(final String microSpeciesName) {
   final ISpecies retVal = microSpecies.get(microSpeciesName);
   if (retVal != null) {
     return retVal;
   }
   final ISpecies parentSpecies = this.getParentSpecies();
   if (parentSpecies != null) {
     return parentSpecies.getMicroSpecies(microSpeciesName);
   }
   return null;
 }
示例#2
0
 @Override
 public IExecutable getAspect(final String n) {
   return aspects.get(n);
 }
示例#3
0
 @Override
 public WithArgs getAction(final String name) {
   return actions.get(name);
 }
示例#4
0
 @Override
 public IVariable getVar(final String n) {
   return variables.get(n);
 }