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 system */
018: public final class STSystemStylesheet {
019: private String mSystemRef;
020: private String mNormalisedName;
021: private String mNormalisedTypedName;
022: private String mRootPackageName;
023: private String mAdaptersRootPackageName;
024: private String mNamespaceURI;
025: private String mTypesRootPackageName;
026: private String mBusinessServicesInterfaceModuleName;
027: private String mBusinessServicesImplementationModuleName;
028: private String mBusinessServicesDistributionModuleName = null;
029: private String mBusinessDomainImplementationModuleName = null;
030: private String mWebServicesServerModuleName = null;
031: private String mDataDictionaryModuleName = null;
032: private String mCataloguePathToTop = null;
033: private String mCataloguePathFromTop = null;
034:
035: /** Getter for the unique identifier of the corresponding system */
036: public String getSystemRef() {
037: return mSystemRef;
038: }
039:
040: /** Getter for the normalised name of the element. Normalised name is a
041: * "safe to use in computing" kind of name it must be a single word consisting of
042: * the most basic set of characters (e.g. letters, numbers, underscores).
043: * Note that this name may not be unique in the namespace of the parent element, because
044: * sibling element of another type may have the same name. Consider using NormalisedTypedName to get more unique name */
045: public String getNormalisedName() {
046: return mNormalisedName;
047: }
048:
049: /** Getter for the normalised typed name of the element.
050: * Normalised typed name is similar to the normalised name, but it is derived
051: * from type name and element name which guarantees that this name is unique within parent element scope. */
052: public String getNormalisedTypedName() {
053: return mNormalisedTypedName;
054: }
055:
056: /** Setter for the normalised typed name of the element.
057: * Normalised typed name is similar to the normalised name, but it is derived
058: * from type name and element name which guarantees that this name is unique within parent element scope. */
059: public void setNormalisedTypedName(String pNormalisedTypedName) {
060: mNormalisedTypedName = pNormalisedTypedName;
061: }
062:
063: /** Getter for the package name where whole system source code is located */
064: public String getRootPackageName() {
065: return mRootPackageName;
066: }
067:
068: /** Getter for the standard xml schema namespace */
069: public String getNamespaceURI() {
070: return mNamespaceURI;
071: }
072:
073: /** Getter for the package name where types for this system are located */
074: public String getTypesRootPackageName() {
075: return mTypesRootPackageName;
076: }
077:
078: /** Getter for the name of the module where business service interfaces for whole system are located */
079: public String getBusinessServicesInterfaceModuleName() {
080: return mBusinessServicesInterfaceModuleName;
081: }
082:
083: /** Getter for the name of the module where business service implementations for whole system are located */
084: public String getBusinessServicesImplementationModuleName() {
085: return mBusinessServicesImplementationModuleName;
086: }
087:
088: /** Getter for the name of the module where business domain implementations for whole system are located */
089: public String getBusinessDomainImplementationModuleName() {
090: return mBusinessDomainImplementationModuleName;
091: }
092:
093: /** Getter for the name of the module where business service distribution code for whole system are located */
094: public String getBusinessServicesDistributionModuleName() {
095: return mBusinessServicesDistributionModuleName;
096: }
097:
098: /** Getter for the name of the module where web services server for the system are located */
099: public String getWebServicesServerModuleName() {
100: return mWebServicesServerModuleName;
101: }
102:
103: /** Getter for the relative path to the top from the catalogue where information related to this object is located.
104: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
105: * It is used for things like help files, documentation directory tree etc. */
106: public String getCataloguePathToTop() {
107: return mCataloguePathToTop;
108: }
109:
110: /** Getter for the relative path from the top to the catalogue where information related to this object is located.
111: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
112: * It is used for things like help files, documentation directory tree etc. */
113: public String getCataloguePathFromTop() {
114: return mCataloguePathFromTop;
115: }
116:
117: /** Getter for the name of the module where data dictionaries for whole enterprise are located */
118: public String getDataDictionaryModuleName() {
119: return mDataDictionaryModuleName;
120: }
121:
122: /** Setter for the name of the module where data dictionaries for whole enterprise are located */
123: public void setDataDictionaryModuleName(
124: String pDataDictionaryModuleName) {
125: mDataDictionaryModuleName = pDataDictionaryModuleName;
126: }
127:
128: /** Setter for the unique identifier of the corresponding ssystem */
129: public void setSystemRef(String pSystemRef) {
130: mSystemRef = pSystemRef;
131: }
132:
133: /** Setter for the normalised name of the element. Normalised name is a
134: * "safe to use in computing" kind of name it must be a single word consisting of
135: * the most basic set of characters (e.g. letters, numbers, underscores).
136: * Note that this name may not be unique in the namespace of the parent element, because
137: * sibling element of another type may have the same name. Consider using NormalisedTypedName to get more unique name */
138: public void setNormalisedName(String pNormalisedName) {
139: mNormalisedName = pNormalisedName;
140: }
141:
142: /** Setter for the package name where whole system source code is located */
143: public void setRootPackageName(String pRootPackageName) {
144: mRootPackageName = pRootPackageName;
145: }
146:
147: /** Setter for the generic xml namespace URI */
148: public void setNamespaceURI(String pNamespaceURI) {
149: mNamespaceURI = pNamespaceURI;
150: }
151:
152: /** Setter for the package name where types for this system are located */
153: public void setTypesRootPackageName(String pTypesRootPackageName) {
154: mTypesRootPackageName = pTypesRootPackageName;
155: }
156:
157: /** Setter for the name of the module where business service interfaces for whole system are located */
158: public void setBusinessServicesInterfaceModuleName(
159: String pBusinessServicesInterfaceModuleName) {
160: mBusinessServicesInterfaceModuleName = pBusinessServicesInterfaceModuleName;
161: }
162:
163: /** Setter for the name of the module where business service implementations for whole system are located */
164: public void setBusinessServicesImplementationModuleName(
165: String pBusinessServicesImplementationModuleName) {
166: mBusinessServicesImplementationModuleName = pBusinessServicesImplementationModuleName;
167: }
168:
169: /** Setter for the name of the module where business domain implementations for whole system are located */
170: public void setBusinessDomainImplementationModuleName(
171: String pBusinessDomainImplementationModuleName) {
172: mBusinessDomainImplementationModuleName = pBusinessDomainImplementationModuleName;
173: }
174:
175: /** Setter for the name of the module where business service distribution for whole system are located */
176: public void setBusinessServicesDistributionModuleName(
177: String pBusinessServicesDistributionModuleName) {
178: mBusinessServicesDistributionModuleName = pBusinessServicesDistributionModuleName;
179: }
180:
181: /** Setter for the name of the module where web services server for whole system are located */
182: public void setWebServicesServerModuleName(
183: String pWebServicesServerModuleName) {
184: mWebServicesServerModuleName = pWebServicesServerModuleName;
185: }
186:
187: /** Setter for the relative path to the top from the catalogue where information related to this object is located.
188: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
189: * It is used for things like help files, documentation directory tree etc. */
190: public void setCataloguePathToTop(String pCataloguePathToTop) {
191: mCataloguePathToTop = pCataloguePathToTop;
192: }
193:
194: /** Setter for the relative path from the top to the catalogue where information related to this object is located
195: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
196: * It is used for things like help files, documentation directory tree etc. */
197: public void setCataloguePathFromTop(String pCataloguePathFromTop) {
198: mCataloguePathFromTop = pCataloguePathFromTop;
199: }
200:
201: /** Getter for the name of the package for the adapters of the system dictionary types */
202: public String getAdaptersRootPackageName() {
203: return mAdaptersRootPackageName;
204: }
205:
206: /** Setter for the name of the package for the adapters of the system dictionary types */
207: public void setAdaptersRootPackageName(
208: String pAdaptersRootPackageName) {
209: mAdaptersRootPackageName = pAdaptersRootPackageName;
210: }
211: }
|