Package com.alibaba.citrus.service.mappingrule

Examples of com.alibaba.citrus.service.mappingrule.MappingRule


            rules = emptyMap();
        }
    }

    public String getMappedName(String ruleType, String name) {
        MappingRule rule = rules.get(ruleType);

        if (rule == null) {
            if (parent == null) {
                throw new MappingRuleNotFoundException("Failed to get mapping rule of \"" + ruleType + "\"");
            } else {
                return parent.getMappedName(ruleType, name);
            }
        }

        return rule.getMappedName(name);
    }
View Full Code Here


            rules = emptyMap();
        }
    }

    public String getMappedName(String ruleType, String name) {
        MappingRule rule = rules.get(ruleType);

        if (rule == null) {
            if (parent == null) {
                throw new MappingRuleNotFoundException("Failed to get mapping rule of \"" + ruleType + "\"");
            } else {
                return parent.getMappedName(ruleType, name);
            }
        }

        return rule.getMappedName(name);
    }
View Full Code Here

            rules = emptyMap();
        }
    }

    public String getMappedName(String ruleType, String name) {
        MappingRule rule = rules.get(ruleType);

        if (rule == null) {
            if (parent == null) {
                throw new MappingRuleNotFoundException("Failed to get mapping rule of \"" + ruleType + "\"");
            } else {
                return parent.getMappedName(ruleType, name);
            }
        }

        return rule.getMappedName(name);
    }
View Full Code Here

TOP

Related Classes of com.alibaba.citrus.service.mappingrule.MappingRule

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.