View Javadoc

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  import java.util.HashSet;
11  import java.util.Set;
12  
13  /**
14   * The meta information of a class.
15   */
16  public class ClassMetaInfo {
17  
18  	/**
19  	 * XXX javadoc.
20  	 */
21    protected String className = null;
22    
23    /**
24     * XXX Javadoc.
25     */
26    protected String superClassName = null;
27  
28    /**
29     * XXX Javadoc.
30     */
31    protected Set<String> interfaces = new HashSet<String>();
32  
33    /**
34     * XXX Javadoc.
35     */
36    protected boolean serializable = false;
37    
38    /**
39     * XXX Javadoc.
40     */
41    protected Long classSerialVersionUid = null;
42  
43    /**
44     * Constructor.
45     */
46    public ClassMetaInfo() {
47      // NOP
48    }
49  
50    // getter and setter
51  
52    
53    /**
54     * @return  The return
55     */
56    public String getClassName() {
57      return className;
58    }
59    
60    /**
61     * @param className  The class name
62     */
63    public void setClassName(String className) {
64      this.className = className;
65    }
66    
67    /**
68     * @return  The return
69     */
70    public Long getClassSerialVersionUid() {
71      return classSerialVersionUid;
72    }
73  
74    /**
75     * @param classSerialVersionUid  The class serial version Uid
76     */
77    public void setClassSerialVersionUid(Long classSerialVersionUid) {
78      this.classSerialVersionUid = classSerialVersionUid;
79    }
80    
81    /**
82     * @return  The return
83     */
84    public boolean isSerializable() {
85      return serializable;
86    }
87    
88  /**
89   * @param serializable  The serializable
90   */
91    public void setSerializable(boolean serializable) {
92      this.serializable = serializable;
93    }
94    
95    /**
96     * @return  The return
97     */
98    public String getSuperClassName() {
99      return superClassName;
100   }
101   
102   /**
103    * @param superClassName  The super class name
104    */
105   public void setSuperClassName(String superClassName) {
106    this.superClassName = superClassName;
107   }
108   
109   /**
110    * @return  The return
111    */
112   public Set<String> getInterfaces() {
113     return interfaces;
114   }
115   
116   /**
117    * @param interfaces  The interfaces
118    */
119   public void setInterfaces(Set<String> interfaces) {
120     this.interfaces = interfaces;
121   }
122 
123 }