View Javadoc

1   /*******************************************************************************
2    *  Copyright (c) 2005, 2006, 2007 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.jbi4ejb.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    /** The class name. */
19    private String className = null;
20    
21    /** The super class name. */
22    private String superClassName = null;
23  
24    /** The interfaces. */
25    private Set<String> interfaces = new HashSet<String>();
26  
27    /** The serializable. */
28    private boolean serializable = false;
29    
30    /** The class serial version uid. */
31    private Long classSerialVersionUid = null;
32  
33    /**
34      * Constructor.
35      */
36    public ClassMetaInfo() {
37      // NOP
38    }
39  
40    // getter and setter
41  
42    /**
43       * Gets the class name.
44       * 
45       * @return the class name
46       */
47    public String getClassName() {
48      return className;
49    }
50    
51    /**
52       * Sets the class name.
53       * 
54       * @param className
55       *            the new class name
56       */
57    public void setClassName(String className) {
58      this.className = className;
59    }
60    
61    /**
62       * Gets the class serial version uid.
63       * 
64       * @return the class serial version uid
65       */
66    public Long getClassSerialVersionUid() {
67      return classSerialVersionUid;
68    }
69    
70    /**
71       * Sets the class serial version uid.
72       * 
73       * @param classSerialVersionUid
74       *            the new class serial version uid
75       */
76    public void setClassSerialVersionUid(Long classSerialVersionUid) {
77      this.classSerialVersionUid = classSerialVersionUid;
78    }
79    
80    /**
81       * Checks if is serializable.
82       * 
83       * @return true, if is serializable
84       */
85    public boolean isSerializable() {
86      return serializable;
87    }
88    
89    /**
90       * Sets the serializable.
91       * 
92       * @param serializable
93       *            the new serializable
94       */
95    public void setSerializable(boolean serializable) {
96      this.serializable = serializable;
97    }
98    
99    /**
100      * Gets the super class name.
101      * 
102      * @return the super class name
103      */
104   public String getSuperClassName() {
105     return superClassName;
106   }
107   
108   /**
109      * Sets the super class name.
110      * 
111      * @param superClassName
112      *            the new super class name
113      */
114   public void setSuperClassName(String superClassName) {
115    this.superClassName = superClassName;
116   }
117   
118   /**
119      * Gets the interfaces.
120      * 
121      * @return the interfaces
122      */
123   public Set<String> getInterfaces() {
124     return interfaces;
125   }
126   
127   /**
128      * Sets the interfaces.
129      * 
130      * @param interfaces
131      *            the new interfaces
132      */
133   public void setInterfaces(Set<String> interfaces) {
134     this.interfaces = interfaces;
135   }
136 
137 }