Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Implementation Guide for Oracle Billing Insight > Customizing the Payment Consolidator Integration Module > Creating Customized Payment Consolidation Templates > Accessing an Object's Public Fields and MethodsYou can access an object's public fields and methods. The valid reference is:
Each parameter of the method can be one of the following:
The number of parameters is unlimited and an arbitrary level of method nesting is allowed. Nesting means that a method's return value is used as a parameter when calling another method. For example, if there are two objects in contexts, buf (a StringBuffer), and str (a String), then the following references are valid:
You can access a static field or method directly without instantiating an object, for example: %java.lang.Integer.parseInt("12.34")% You must preset all variables by calling In addition to preconfigured variables, you can put the Java object into context by writing:
%template.putToContext("buf", new java.lang.StringBuffer())% This puts a new |
![]() |
![]() ![]() |
Implementation Guide for Oracle Billing Insight | Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |