equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
56 } |
56 } |
57 |
57 |
58 } |
58 } |
59 |
59 |
60 /** |
60 /** |
61 * Returns the catalog attribute as an URI String. |
61 * Returns the catalog attribute as a URI String. |
62 * @return The value of the catalog attribute |
62 * @return The value of the catalog attribute |
63 */ |
63 */ |
64 String getCatalogId() { |
64 String getCatalogId() { |
65 return catalogURI.toASCIIString(); |
65 return catalogURI.toASCIIString(); |
66 } |
66 } |
67 |
67 |
68 /** |
68 /** |
69 * Returns the catalog attribute as an URI. |
69 * Returns the catalog attribute as a URI. |
70 * @return The value of the catalog attribute |
70 * @return The value of the catalog attribute |
71 */ |
71 */ |
72 URI getCatalogURI() { |
72 URI getCatalogURI() { |
73 return catalogURI; |
73 return catalogURI; |
74 } |
74 } |