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 domain */
018: public final class STDomainStylesheet {
019: private String mDomainRef = null;
020: private String mNormalisedName = null;
021: private String mNormalisedTypedName = null;
022: private String mSupportServicemoduleName = null;
023: private String mDataManagementServiceName = null;
024: private String mDomainInterfaceName = null;
025: private String mDomainPackageName = null;
026: private String mDomainInterfaceFullName = null;
027: private String mDomainImplementationName = null;
028: private String mImplementationFactoryClassName = null;
029: private String mImplementationPackageName = null;
030: private String mImplementationPackageDir = null;
031: private String mStoragePackageName = null;
032: private String mStorageInterfaceName = null;
033: private String mStorageInterfaceFullName = null;
034: private String mStorageImplementationName = null;
035: private String mStorageFactoryName = null;
036: private String mBusinessDomainImplementationModuleName = null;
037: private String mCataloguePathToTop = null;
038: private String mCataloguePathFromTop = null;
039:
040: /** Getter for the unique identifier of the corresponding domain */
041: public String getDomainRef() {
042: return mDomainRef;
043: }
044:
045: /** Getter for the normalised name of the element. Normalised name is a
046: * "safe to use in computing" kind of name it must be a single word consisting of
047: * the most basic set of characters (e.g. letters, numbers, underscores).
048: * Note that this name may not be unique in the namespace of the parent element, because
049: * sibling element of another type may have the same name. Consider using NormalisedTypedName to get more unique name */
050: public String getNormalisedName() {
051: return mNormalisedName;
052: }
053:
054: /** Getter for the normalised typed name of the element.
055: * Normalised typed name is similar to the normalised name, but it is derived
056: * from type name and element name which guarantees that this name is unique within parent element scope. */
057: public String getNormalisedTypedName() {
058: return mNormalisedTypedName;
059: }
060:
061: /** Setter for the normalised typed name of the element.
062: * Normalised typed name is similar to the normalised name, but it is derived
063: * from type name and element name which guarantees that this name is unique within parent element scope. */
064: public void setNormalisedTypedName(String pNormalisedTypedName) {
065: mNormalisedTypedName = pNormalisedTypedName;
066: }
067:
068: /** Getter for the name of the object factory class instantiating this domain.
069: * Note that this class may reside in any package as chosen by generator */
070: public String getImplementationFactoryClassName() {
071: return mImplementationFactoryClassName;
072: }
073:
074: /** Getter for the name of the servicemodule where support services are located
075: * (i.e. Data management service, Reporting service etc.) */
076: public String getSupportServicemoduleName() {
077: return mSupportServicemoduleName;
078: }
079:
080: /** Getter for the name of the service where data management operations are located
081: * this service is always a part of support servicemodule (and this must be
082: * reflected in the reference) */
083: public String getDataManagementServiceName() {
084: return mDataManagementServiceName;
085: }
086:
087: /** Getter for the name of the interface representing this domain in the bo layer */
088: public String getDomainInterfaceName() {
089: return mDomainInterfaceName;
090: }
091:
092: /** Getter for the name of the implementation class implementing domain interface */
093: public String getDomainImplementationName() {
094: return mDomainImplementationName;
095: }
096:
097: /** Getter for the name of the package where domain interface representing this domain in the bo layer is located */
098: public String getDomainPackageName() {
099: return mDomainPackageName;
100: }
101:
102: /** Getter for the name of the package where domain storage interface is located */
103: public String getStoragePackageName() {
104: return mStoragePackageName;
105: }
106:
107: /** Getter for the name of the package where domain implementation code is located */
108: public String getImplementationPackageName() {
109: return mImplementationPackageName;
110: }
111:
112: /** Getter for the name of the directory where domain implementation code is located */
113: public String getImplementationPackageDir() {
114: return mImplementationPackageDir;
115: }
116:
117: /** Getter for the name of the domain storage service interface */
118: public String getStorageInterfaceName() {
119: return mStorageInterfaceName;
120: }
121:
122: /** Getter for the full name of the domain storage service interface */
123: public String getStorageInterfaceFullName() {
124: return mStorageInterfaceFullName;
125: }
126:
127: /** Getter for the name of the domain storage service implementation */
128: public String getStorageImplementationName() {
129: return mStorageImplementationName;
130: }
131:
132: /** Getter for the name of the domain storage service implementation factory */
133: public String getStorageFactoryName() {
134: return mStorageFactoryName;
135: }
136:
137: /** Getter for the full name of the interface representing this domain in the bo layer */
138: public String getDomainInterfaceFullName() {
139: return mDomainInterfaceFullName;
140: }
141:
142: /** Getter for the name of the module where business domain implementation is located */
143: public String getBusinessDomainImplementationModuleName() {
144: return mBusinessDomainImplementationModuleName;
145: }
146:
147: /** Getter for the relative path to the top from the catalogue where information related to this object is located.
148: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
149: * It is used for things like help files, documentation directory tree etc. */
150: public String getCataloguePathToTop() {
151: return mCataloguePathToTop;
152: }
153:
154: /** Getter for the relative path from the top to the catalogue where information related to this object is located.
155: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
156: * It is used for things like help files, documentation directory tree etc. */
157: public String getCataloguePathFromTop() {
158: return mCataloguePathFromTop;
159: }
160:
161: /** Setter for the unique identifier of the corresponding domain */
162: public void setDomainRef(String pDomainRef) {
163: mDomainRef = pDomainRef;
164: }
165:
166: /** Setter for the normalised name of the element. Normalised name is a
167: * "safe to use in computing" kind of name it must be a single word consisting of
168: * the most basic set of characters (e.g. letters, numbers, underscores).
169: * Note that this name may not be unique in the namespace of the parent element, because
170: * sibling element of another type may have the same name. Consider using NormalisedTypedName to get more unique name */
171: public void setNormalisedName(String pNormalisedName) {
172: mNormalisedName = pNormalisedName;
173: }
174:
175: /** Setter for the name of the object factory class instantiating this domain.
176: * Note that this class may reside in any package as chosen by generator */
177: public void setImplementationFactoryClassName(
178: String pImplementationFactoryClassName) {
179: mImplementationFactoryClassName = pImplementationFactoryClassName;
180: }
181:
182: /** Setter for the reference of the servicemodule where support services are located */
183: public void setSupportServicemoduleName(
184: String pSupportServicemoduleName) {
185: mSupportServicemoduleName = pSupportServicemoduleName;
186: }
187:
188: /** Setter for the name of the service where data management operations are located
189: * this service is always a part of support servicemodule (and this must be
190: * reflected in the reference) */
191: public void setDataManagementServiceName(
192: String pDataManagementServiceName) {
193: mDataManagementServiceName = pDataManagementServiceName;
194: }
195:
196: /** Setter for the name of the interface representing this domain in the bo layer */
197: public void setDomainInterfaceName(String pDomainInterfaceName) {
198: mDomainInterfaceName = pDomainInterfaceName;
199: }
200:
201: /** Setter for the name of the implementation class implementing domain interface */
202: public void setDomainImplementationName(
203: String pDomainImplementationName) {
204: mDomainImplementationName = pDomainImplementationName;
205: }
206:
207: /** Setter for the name of the package where domain interface representing this domain in the bo layer */
208: public void setDomainPackageName(String pDomainPackageName) {
209: mDomainPackageName = pDomainPackageName;
210: }
211:
212: /** Setter for the name of the package where domain storage interface is located */
213: public void setStoragePackageName(String pStoragePackageName) {
214: mStoragePackageName = pStoragePackageName;
215: }
216:
217: /** Setter for the name of the package where domain implementation is located */
218: public void setImplementationPackageName(
219: String pImplementationPackageName) {
220: mImplementationPackageName = pImplementationPackageName;
221: }
222:
223: /** Setter for the name of the directory where domain implementation is located */
224: public void setImplementationPackageDir(
225: String pImplementationPackageDir) {
226: mImplementationPackageDir = pImplementationPackageDir;
227: }
228:
229: /** Setter for the name of the domain storage service interface */
230: public void setStorageInterfaceName(String pStorageInterfaceName) {
231: mStorageInterfaceName = pStorageInterfaceName;
232: }
233:
234: /** Setter for the full name of the domain storage service interface */
235: public void setStorageInterfaceFullName(
236: String pStorageInterfaceFullName) {
237: mStorageInterfaceFullName = pStorageInterfaceFullName;
238: }
239:
240: /** Setter for the name of the domain storage service implementation */
241: public void setStorageImplementationName(
242: String pStorageImplementationName) {
243: mStorageImplementationName = pStorageImplementationName;
244: }
245:
246: /** Setter for the name of the domain storage service implementation factory */
247: public void setStorageFactoryName(String pStorageFactoryName) {
248: mStorageFactoryName = pStorageFactoryName;
249: }
250:
251: /** Setter for the full name of the interface representing this domain in the bo layer */
252: public void setDomainInterfaceFullName(
253: String pDomainInterfaceFullName) {
254: mDomainInterfaceFullName = pDomainInterfaceFullName;
255: }
256:
257: /** Setter for the name of the module where business domain implementation is located */
258: public void setBusinessDomainImplementationModuleName(
259: String pBusinessDomainImplementationModuleName) {
260: mBusinessDomainImplementationModuleName = pBusinessDomainImplementationModuleName;
261: }
262:
263: /** Setter for the relative path to the top from the catalogue where information related to this object is located.
264: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
265: * It is used for things like help files, documentation directory tree etc. */
266: public void setCataloguePathToTop(String pCataloguePathToTop) {
267: mCataloguePathToTop = pCataloguePathToTop;
268: }
269:
270: /** Setter for the relative path from the top to the catalogue where information related to this object is located
271: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
272: * It is used for things like help files, documentation directory tree etc. */
273: public void setCataloguePathFromTop(String pCataloguePathFromTop) {
274: mCataloguePathFromTop = pCataloguePathFromTop;
275: }
276:
277: }
|