[jboss-user] [JBoss Web Services Users] - Re: Problem of polymorphism of JBoss WebService

xiangyingbing do-not-reply at jboss.com
Wed Nov 4 05:12:37 EST 2009


package com.ybxiang.ejbws;
  | 
  | public class Human extends Animal implements java.io.Serializable{
  | 	private String email;
  | 
  | 	public void setEmail(String email) {
  | 		this.email = email;
  | 	}
  | 
  | 	public String getEmail() {
  | 		return email;
  | 	}
  | 	
  | 	public String toString(){
  | 		return "Human-->name:"+this.getName()+",age:"+this.getAge()+","+"email:"+email;
  | 	}
  | 	
  | }
  | 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263899#4263899

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263899



More information about the jboss-user mailing list