Package org.springframework.data.repository.query.EvaluationContextExtensionInformation

Examples of org.springframework.data.repository.query.EvaluationContextExtensionInformation.RootObjectInformation


      Assert.notNull(extension, "Extenstion must not be null!");
      Assert.notNull(information, "Extension information must not be null!");

      Object target = extension.getRootObject();
      ExtensionTypeInformation extensionTypeInformation = information.getExtensionTypeInformation();
      RootObjectInformation rootObjectInformation = information.getRootObjectInformation(target);

      this.functions = new HashMap<String, Function>();
      this.functions.putAll(extensionTypeInformation.getFunctions());
      this.functions.putAll(rootObjectInformation.getFunctions(target));
      this.functions.putAll(extension.getFunctions());

      this.properties = new HashMap<String, Object>();
      this.properties.putAll(extensionTypeInformation.getProperties());
      this.properties.putAll(rootObjectInformation.getProperties(target));
      this.properties.putAll(extension.getProperties());

      this.extension = extension;
    }
View Full Code Here

TOP

Related Classes of org.springframework.data.repository.query.EvaluationContextExtensionInformation.RootObjectInformation

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.