001: // THIS SOFTWARE IS PROVIDED BY SOFTARIS PTY.LTD. AND OTHER METABOSS
002: // CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING,
003: // BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
004: // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SOFTARIS PTY.LTD.
005: // OR OTHER METABOSS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
006: // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
007: // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
008: // OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
009: // LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
010: // NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
011: // EVEN IF SOFTARIS PTY.LTD. OR OTHER METABOSS CONTRIBUTORS ARE ADVISED OF THE
012: // POSSIBILITY OF SUCH DAMAGE.
013: //
014: // Copyright 2000-2005 © Softaris Pty.Ltd. All Rights Reserved.
015: package com.metaboss.sdlctools.services.codegenerationstylesheet;
016:
017: /** This structure contains the stylesheet (set of names) pertained to the particular event */
018: public final class STEventStylesheet {
019: private String mEventRef = null;
020: private String mNormalisedName = null;
021: private String mMethodName = null;
022: private String mClassName = null;
023: private String mClassFullName = null;
024: private String mProxyInnerClassName = null;
025: private String mProxyOuterClassName = null;
026: private String mProxyTranslatorInnerClassName = null;
027: private String mProxyTranslatorOuterClassName = null;
028:
029: /** Getter for the unique identifier of the corresponding event */
030: public String getEventRef() {
031: return mEventRef;
032: }
033:
034: /** Getter for the normalised name of the element. Normalised name is a
035: * "safe to use in computing" kind of name it must be a single word consisting of
036: * the most basic set of characters (e.g. letters, numbers, underscores) */
037: public String getNormalisedName() {
038: return mNormalisedName;
039: }
040:
041: /** Getter for the name of the class realising the input structure for this operation */
042: public String getClassName() {
043: return mClassName;
044: }
045:
046: /** Getter for the full name (package and service name and name) of the class realising the input structure for this operation */
047: public String getClassFullName() {
048: return mClassFullName;
049: }
050:
051: /** Getter for the name of the proxy class to the event structure of this event.
052: * Use it to name the CORBA, RMI etc proxy structures (structures which carry the
053: * same data but may use different datatypes depending on the nature of the technolgy.
054: * Note that this proxy class may reside in any package as chosen by generator
055: * (in fact there will most probably be more than one implementation each in different package)
056: * Also note that the name formed here is only unique inside the event subscription (hence the word "inner" in the name.)
057: * Use getProxyOuterClassName() to get the "outer" class name which would somehow include the event subscription name
058: * and therefore will be unique outside the event subscription */
059: public String getProxyInnerClassName() {
060: return mProxyInnerClassName;
061: }
062:
063: /** Setter for the name of the proxy class to the event structure of this event.
064: * Use it to name the CORBA, RMI etc proxy structures (structures which carry the
065: * same data but may use different datatypes depending on the nature of the technolgy.
066: * Note that this proxy class may reside in any package as chosen by generator
067: * (in fact there will most probably be more than one implementation each in different package)
068: * Also note that the name formed here is only unique inside the event subscription (hence the word "inner" in the name.)
069: * Use getProxyOuterClassName() to get the "outer" class name which would somehow include the event subscription name
070: * and therefore will be unique outside the event subscription */
071: public void setProxyInnerClassName(String pProxyInnerClassName) {
072: mProxyInnerClassName = pProxyInnerClassName;
073: }
074:
075: /** Getter for the name of the proxy class to the event structure of this event.
076: * Use it to name the CORBA, RMI etc proxy structures (structures which carry the
077: * same data but may use different datatypes depending on the nature of the technolgy.
078: * Note that this proxy class may reside in any package as chosen by generator
079: * (in fact there will most probably be more than one implementation each in different package)
080: * Also note that the name formed here is unique outside the event subscription scope (hence the word "outer" in the name.)
081: * this means that the name somehow includes the event subscription name and may therefore be longer than necessary
082: * if class is placed inside the event subscription scope. Use getProxyInnerClassName() to get the "inner"
083: * class name which will not include the event subscription name and therefore will be shorter, but not unique outside the event subscription scope. */
084: public String getProxyOuterClassName() {
085: return mProxyOuterClassName;
086: }
087:
088: /** Setter for the name of the proxy class to the event structure of this event.
089: * Use it to name the CORBA, RMI etc proxy structures (structures which carry the
090: * same data but may use different datatypes depending on the nature of the technolgy.
091: * Note that this proxy class may reside in any package as chosen by generator
092: * (in fact there will most probably be more than one implementation each in different package)
093: * Also note that the name formed here is unique outside the event subscription scope (hence the word "outer" in the name.)
094: * this means that the name somehow includes the event subscription name and may therefore be longer than necessary
095: * if class is placed inside the event subscription scope. Use getProxyInnerClassName() to get the "inner"
096: * class name which will not include the event subscription name and therefore will be shorter, but not unique outside the event subscription scope. */
097: public void setProxyOuterClassName(String pProxyOuterClassName) {
098: mProxyOuterClassName = pProxyOuterClassName;
099: }
100:
101: /** Getter for the name of the proxy translator class between input proxy structure and event structure
102: * Note that this proxy translator class may reside in any package as chosen by generator
103: * (in fact there will most probably be more than one implementation each in different package)
104: * Also note that the name formed here is only unique inside the event subscription (hence the word "inner" in the name.)
105: * Use getProxyTranslatorOuterClassName() to get the "outer" class name which would somehow include the event subscription name
106: * and therefore will be unique outside the event subscription */
107: public String getProxyTranslatorInnerClassName() {
108: return mProxyTranslatorInnerClassName;
109: }
110:
111: /** Setter for the name of the proxy translator class between input proxy structure and event structure
112: * Note that this proxy translator class may reside in any package as chosen by generator
113: * (in fact there will most probably be more than one implementation each in different package)
114: * Also note that the name formed here is only unique inside the event subscription (hence the word "inner" in the name.)
115: * Use getProxyTranslatorOuterClassName() to get the "outer" class name which would somehow include the event subscription name
116: * and therefore will be unique outside the event subscription */
117: public void setProxyTranslatorInnerClassName(
118: String pProxyTranslatorInnerClassName) {
119: mProxyTranslatorInnerClassName = pProxyTranslatorInnerClassName;
120: }
121:
122: /** Getter for the name of the proxy translator class between input proxy structure and event structure
123: * Note that this proxy translator class may reside in any package as chosen by generator
124: * (in fact there will most probably be more than one implementation each in different package)
125: * Also note that the name formed here is unique outside the event subscription scope (hence the word "outer" in the name.)
126: * this means that the name somehow includes the event subscription name and may therefore be longer than necessary
127: * if class is placed inside the event subscription scope. Use getProxyTranslatorInnerClassName() to get the "inner"
128: * class name which will not include the event subscription name and therefore will be shorter, but not unique outside the event subscription scope. */
129: public String getProxyTranslatorOuterClassName() {
130: return mProxyTranslatorOuterClassName;
131: }
132:
133: /** Setter for the name of the proxy translator class between input proxy structure and event structure
134: * Note that this proxy translator class may reside in any package as chosen by generator
135: * (in fact there will most probably be more than one implementation each in different package)
136: * Also note that the name formed here is unique outside the event subscription scope (hence the word "outer" in the name.)
137: * this means that the name somehow includes the event subscription name and may therefore be longer than necessary
138: * if class is placed inside the event subscription scope. Use getProxyTranslatorInnerClassName() to get the "inner"
139: * class name which will not include the event subscription name and therefore will be shorter, but not unique outside the event subscription scope. */
140: public void setProxyTranslatorOuterClassName(
141: String pProxyTranslatorOuterClassName) {
142: mProxyTranslatorOuterClassName = pProxyTranslatorOuterClassName;
143: }
144:
145: /** Setter for the unique identifier of the corresponding operation */
146: public void setEventRef(String pEventRef) {
147: mEventRef = pEventRef;
148: }
149:
150: /** Setter for the normalised name of the element. Normalised name is a
151: * "safe to use in computing" kind of name it must be a single word consisting of
152: * the most basic set of characters (e.g. letters, numbers, underscores) */
153: public void setNormalisedName(String pNormalisedName) {
154: mNormalisedName = pNormalisedName;
155: }
156:
157: /** Setter for the name of the class realising the input structure for this operation */
158: public void setClassName(String pClassName) {
159: mClassName = pClassName;
160: }
161:
162: /** Setter for the full name (package and service name and name) of the class realising the input structure for this operation */
163: public void setClassFullName(String pClassFullName) {
164: mClassFullName = pClassFullName;
165: }
166:
167: /** Getter for the name of the method realising event delivary */
168: public String getMethodName() {
169: return mMethodName;
170: }
171:
172: /** Setter for the name of the method realising event delivary */
173: public void setMethodName(String pMethodName) {
174: mMethodName = pMethodName;
175: }
176: }
|