source: trunk/java-client/org/nzdl/gsdl/service/NzdlCollectionInfo.java@ 2055

Last change on this file since 2055 was 2055, checked in by paynter, 23 years ago

Initial revision

  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1
2package org.nzdl.service;
3
4/** gsdl corba stuff */
5import org.nzdl.corba.gsdlInterface.*;
6import org.nzdl.util.*;
7
8public class NzdlCollectionInfo extends Object {
9
10 /** */
11 private corbaColInfoResponse m_Info = null;
12
13 public NzdlCollectionInfo( corbaColInfoResponse _info ) {
14 m_Info = _info;
15 }
16
17 /** */
18 public String getName() {
19 return NzdlCorbaFactory.toString( m_Info.shoftInfo.name ) ;
20 }
21
22 public boolean isPublic() {
23 return m_Info.isPublic;
24 }
25
26 public boolean isBeta() {
27 return m_Info.isBeta;
28 }
29
30 public int getBuildDate() {
31 return m_Info.buildDate;
32 }
33
34 public int getNumOfDocs() {
35 return m_Info.numDocs;
36 }
37
38 public int getNumOfWords() {
39 return m_Info.numWords;
40 }
41
42 public int getNumOfBytes() {
43 return m_Info.numBytes;
44 }
45
46 /** */
47 public void print() {
48 /* [email protected] */
49 //System.out.println("Collection Information--------------");
50 //System.out.println("Collection Name = " + this.getName());
51 //System.out.println("Collection Name = " + m_info.getName());
52
53 }
54
55}
Note: See TracBrowser for help on using the repository browser.