EventParam.java.

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
setEventParamProperties(eventParam);

}

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){
. . . . . .
}
}