Enterprise Java
Writing a Reusable Implementation of the MVC Design Pattern
by Prashant Sarode
Listing 3. EventParam.java.

package com.framework;

public class EventParam{

private String debugMsg;
private String name;
private String type;
private boolean readOnly;
private String scope;
private Object value;

public EventParam(Node eventParam){

//Set the properties of the Event Object


public String getName() {
return name;

public String getType() {
return this.type;

public boolean getReadOnly() {
return this.readOnly;

public String getScope() {
return this.scope;

public Object getValue() {
return this.value;

public void setValue(Object value) {
this.value = value;
private void setEventParamProperties(Node eventParam){
. . . . . .


Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events