Defining a Method

Previous Next

Methods of RDMI J2EE components can have any name except the name of the component itself. The method names are in upper case. The physical methods chosen using the Method Lookup wizard can refer to class methods, instance methods, class fields, or instance fields. Class methods and fields are recognized by the Java package name in front of the method itself whereas instance methods and fields are recognized by the default instance name "this" in front of their method name. Some examples:

A physical class method:

locale=java.util.Locale.getDefault()

A physical instance method:

this.parse(:0)

A physical class field:

datestyle=java.text.DateFormat.MEDIUM

A physical instance field:

max=this.MAX