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