Package org.lilyproject.indexer.model.indexerconf

Examples of org.lilyproject.indexer.model.indexerconf.VariantPropertyTemplatePart


                } else {
                    throw new NameTemplateEvaluationException(
                            "Error evaluating name template: Record does not have field " + fieldName);
                }
            } else if (part instanceof VariantPropertyTemplatePart) {
                VariantPropertyTemplatePart vpPart = (VariantPropertyTemplatePart) part;
                return contexts.peek().contextRecord.getId().getVariantProperties().get(vpPart.getName());
            } else if (part instanceof LiteralTemplatePart) {
                return ((LiteralTemplatePart) part).getString();
            } else {
                throw new NameTemplateEvaluationException("Unsupported TemplatePart type " + part.getClass().getName());
            }
View Full Code Here

TOP

Related Classes of org.lilyproject.indexer.model.indexerconf.VariantPropertyTemplatePart

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.