01: // THIS SOFTWARE IS PROVIDED BY SOFTARIS PTY.LTD. AND OTHER METABOSS
02: // CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING,
03: // BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
04: // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SOFTARIS PTY.LTD.
05: // OR OTHER METABOSS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
06: // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
07: // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
08: // OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
09: // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
10: // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
11: // EVEN IF SOFTARIS PTY.LTD. OR OTHER METABOSS CONTRIBUTORS ARE ADVISED OF THE
12: // POSSIBILITY OF SUCH DAMAGE.
13: //
14: // Copyright 2000-2005 © Softaris Pty.Ltd. All Rights Reserved.
15: package com.metaboss.licensing;
16:
17: /** This interface represents the iterface to the metaboss licensing service */
18: public interface LicenseService {
19: /** Naming URL of the component */
20: public static final String COMPONENT_URL = "component:/com.metaboss.licensing.LicenseService";
21:
22: /** Returns product web site url */
23: public String getProductWebSite();
24:
25: /** Returns product name. (e.g. MetaBoss) */
26: public String getProductName();
27:
28: /** Returns product version (e.g. 0.6.123 )*/
29: public String getProductVersion();
30:
31: /** Returns product build date */
32: public String getProductBuildDate();
33:
34: /** Returns product build time */
35: public String getProductBuildTime();
36:
37: /** Returns manufacturer's name (e.g. Softaris Pty. Ltd. )*/
38: public String getManufacturerName();
39:
40: /** Returns manufacturer's copyright notice text (e.g. Copyright 2000-2005 © Softaris Pty.Ltd. All Rights Reserved. ) */
41: public String getManufacturerCopyrightNotice();
42:
43: /** Returns manufacturer's license notice text, allows for multiline here. This license notice would be displayed
44: * on parts of product itself. (e.g. Design Studio in its about box would display licensing notice of MetaBoss and not of end product) */
45: public String[] getManufacturerLicenseNotice();
46:
47: /** Returns true if this is commercially registered product */
48: public boolean isProductCommerciallyLicensed();
49:
50: /** Returns author name (e.g. BigSoftwareHouse Co.)*/
51: public String getAuthorName();
52:
53: /** Returns author's copyright notice text (e.g. Copyright 2000-2005 © BigSoftwareHouse Co. All Rights Reserved. ) */
54: public String getAuthorCopyrightNotice();
55:
56: /** Returns author's license notice text applicable when describing content */
57: public String[] getAuthorLicenseNoticeForContent();
58:
59: /** Returns author's license notice text applicable when describing program */
60: public String[] getAuthorLicenseNoticeForProgram();
61:
62: /** Returns the multiline text of the header to be placed in the generated files */
63: public String[] getGeneratedFileHeader();
64: }
|