Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/flexstor/common/data/ejb/exporttemplate/ExportTemplateData.java


1   /*
2    * ExportTemplateData.java
3    *
4    * Copyright $Date: 2003/08/11 02:22:49 $ FLEXSTOR.net Inc.
5    *
6    * This work is licensed for use and distribution under license terms found at
7    * http://www.flexstor.org/license.html
8    *
9    */
10  
11  package com.flexstor.common.data.ejb.exporttemplate;
12  
13  import com.flexstor.common.data.ejb.Data;
14  import com.flexstor.common.keys.ejb.ExportTemplateKey;
15  
16  /**
17   * This will be the Client "Read" object for
18   * retrieving Data from the object. This
19   * will contain information for one ExportTemplate
20   * object.
21   *
22   *
23   * @author Daniel J. Nickel 2/10/99
24   * @version 1.0
25   * @since FlexDB 3.0
26   * @see com.flexstor.ejb.dataobject.Data
27   */
28  
29  public class ExportTemplateData extends Data
30  {
31  
32      /* MKS Identifier */
33      public final static String IDENTIFIER="$Id: ExportTemplateData.java,v 1.3 2003/08/11 02:22:49 aleric Exp $";
34      static final long serialVersionUID = -3432611391520399722L;
35      
36      /**
37       * This is an ExportTemplateKey
38       *
39       * @since FlexDB 3.0
40       */
41      protected String name = null;
42  
43      /**
44       * The ExportTemplate reference for this object
45       *
46       * @since FlexDB 3.0
47       * @see com.flexstor.ejb.key.ExportTemplateKey
48       */
49      protected ExportTemplateKey key = null;
50  
51  
52      /**
53       * Constructor : default
54       *
55       * @since FlexDB 3.0
56       */
57      public ExportTemplateData()
58      {
59          super();
60      }
61  
62      /**
63       * Constructor setting name of Export.
64       *
65       * @since FlexDB 3.0
66       */
67      public ExportTemplateData(String name)
68      {
69          super();
70          this.name = name;
71      }
72  
73      /**
74       * This will return the Name of the ExportTemplate.
75       *
76       * @return java.lang.String Name of ExportTemplate
77       * <br> null if no name set
78       * @since FlexDB 3.0
79       * @see java.lang.String
80       */
81  
82      public String getName()
83      {
84          return name;
85      }
86  
87     /**
88       * This will get the key for this
89       * ExportTemplate object.
90       *
91       * @return com.flexstor.ejb.key.ExportTemplateKey
92       * @since FlexDB 3.0
93       * @see com.flexstor.ejb.key.ExportTemplateKey
94       */
95  
96      public ExportTemplateKey getKey()
97      {
98          return key;
99      }
100 }