1 23 24 29 30 package com.sun.enterprise.tools.guiframework.model; 31 32 import java.util.Map ; 33 import java.util.HashMap ; 34 35 36 39 public class ModelBinding { 40 41 private String name, mappedName; 42 private Map parameters = new HashMap (); 43 44 public ModelBinding(String name, String mappedName) { 45 this.name = name; 46 this.mappedName = mappedName; 47 } 48 49 public void addParameter(String name, Object value) { 50 parameters.put(name, value); 51 } 52 53 public Object getParameter(String name) { 54 return parameters.get(name); 55 } 56 57 public String getName() { 58 return name; 59 } 60 61 public String getMappedName() { 62 return mappedName; 63 } 64 } 65 | Popular Tags |