1 /**************************************************************************** 2 * Copyright (c) 2005, 2006, 2007, 2008, 2009 Imola Informatica. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the LGPL License v2.1 5 * which accompanies this distribution, and is available at 6 * http://www.gnu.org/licenses/lgpl.html 7 ****************************************************************************/ 8 package it.imolinfo.jbi4corba.webservice.generator; 9 10 11 /** 12 * 13 * class InterfaceType - define union type class 14 * @author lacquaviva 15 */ 16 17 18 public class InterfaceType implements SearchedType{ 19 20 private String typeName; 21 22 /** 23 * Constructor 24 */ 25 public InterfaceType() { 26 27 } 28 29 /** 30 * Constructor 31 * @param name - name of the Interface 32 * 33 */ 34 public InterfaceType(String name) { 35 typeName = name; 36 37 } 38 39 /** 40 * 41 * @return typeName 42 */ 43 public String getTypeName() { 44 return typeName; 45 } 46 47 /** 48 * 49 * @param typeName 50 */ 51 public void setTypeName(String typeName) { 52 this.typeName = typeName; 53 } 54 55 56 57 }