Exemplo n.º 1
0
 public boolean initialize(
     LoadContext context,
     SelectionCreator<Skill> sc,
     String condition,
     String value,
     boolean negate) {
   if (condition != null) {
     Logging.addParseMessage(
         Level.SEVERE,
         "Cannot make " + getTokenName() + " into a conditional Qualifier, remove =");
     return false;
   }
   negated = negate;
   if (value == null) {
     pcs = sc.getAllReference();
   } else {
     pcs = context.getPrimitiveChoiceFilter(sc, value);
     wasRestricted = true;
   }
   return pcs != null;
 }