1 /* 2 * sbxb library, part of ULMgen product 3 * Copyright (C) 2003,2005 Thierry Beigbeder 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program; if not, write to the Free Software 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 */ 19 /* 20 * $Header: $ 21 * $Revision: $ 22 * $Date: $ 23 * 24 * History : 25 * Who yyyy/mm/dd Action 26 * -------- ---------- ------ 27 */ 28 29 30 package org.otvl.sbxb.binding; 31 32 33 // Insert here additional imports 34 35 /*** 36 * 37 * @author 38 * @version 39 */ 40 41 42 public class BindingSpecNamespace 43 { 44 /*------------------------------------------------------------------------- 45 * Attributes declaration 46 *-------------------------------------------------------------------------*/ 47 /*** 48 * 49 */ 50 private String prefix; 51 /*** 52 * 53 */ 54 private String uri; 55 56 57 /*------------------------------------------------------------------------- 58 * Associations declaration 59 *-------------------------------------------------------------------------*/ 60 61 62 /*------------------------------------------------------------------------- 63 * Operations 64 *-------------------------------------------------------------------------*/ 65 66 67 /*------------------------------------------------------------------------- 68 * Attribute accessors 69 *-------------------------------------------------------------------------*/ 70 //------------------------ 71 // Accessors for attribute prefix 72 //------------------------ 73 /*** 74 * Returns the prefix.<br/> 75 * 76 * @return String 77 */ 78 public String getPrefix() { 79 String vPrefix = prefix; 80 return vPrefix; 81 } 82 83 /*** 84 * Sets the prefix.<br/> 85 * 86 * @param prefix The prefix to set 87 */ 88 public void setPrefix(String prefix) { 89 this.prefix = prefix; 90 } 91 92 //------------------------ 93 // Accessors for attribute uri 94 //------------------------ 95 /*** 96 * Returns the uri.<br/> 97 * 98 * @return String 99 */ 100 public String getUri() { 101 String vUri = uri; 102 return vUri; 103 } 104 105 /*** 106 * Sets the uri.<br/> 107 * 108 * @param uri The uri to set 109 */ 110 public void setUri(String uri) { 111 this.uri = uri; 112 } 113 114 115 116 /*------------------------------------------------------------------------- 117 * Association accessors 118 *-------------------------------------------------------------------------*/ 119 120 }