Skip to contentMethod: getSoName()
      1: package libraries;
2: 
3: /**
4:  * class for libraries.
5:  * 
6:  * @author Markus,Hendrik
7:  * 
8:  */
9: public class Lib extends Module {
10: 
11:         /**
12:          * represents the name of the structured object.
13:          */
14:         private SOName soName;
15: 
16:         /**
17:          * constructor. initialize the attributes.
18:          * 
19:          * @param soName2
20:          *            the soname
21:          */
22:         public Lib(final SOName soName2) {
23:                 super();
24:                 this.soName = soName2;
25:         }
26: 
27:         /**
28:          * getter for SOName.
29:          * 
30:          * @return SONAme
31:          */
32:         public SOName getSoName() {
33:                 return this.soName;
34:         }
35: 
36:         /**
37:          * 
38:          * @param soName
39:          *            param soname.
40:          */
41:         public void setSoName(final SOName soName) {
42:                 this.soName = soName;
43:         }
44: 
45:         /*
46:          * (non-Javadoc)
47:          * 
48:          * @see java.lang.Object#toString()
49:          */
50:         @Override
51:         public String toString() {
52:                 final StringBuilder builder = new StringBuilder();
53:                 builder.append("Lib [soName=");
54:                 builder.append(this.soName);
55:                 builder.append("]");
56:                 return builder.toString();
57:         }
58: }