1 23 24 package com.sun.enterprise.admin.common; 25 26 import java.io.Serializable ; 28 29 30 31 36 public class Message implements Serializable 37 { 38 public static long serialVersionUID = 1974497368816731621L; 39 40 private ParamList mParams = null; 41 42 45 46 public Message() 47 { 48 mParams = new ParamList(); 49 } 50 51 54 public void addParam( Param param ) 55 { 56 mParams.addParam( param ); 57 } 58 59 public Param getParam( String name ) 60 { 61 return( mParams.getParam( name ) ); 62 } 63 64 65 71 public ParamList getParamList() 72 { 73 return( mParams ); 74 } 75 76 public String toString() 77 { 78 return( mParams.toString() ); 79 } 80 } | Popular Tags |