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 design library */
018: public final class STDesignLibraryStylesheet {
019: private String mName = null;
020: private String mNormalisedName = null;
021: private String mNormalisedTypedName = null;
022: private String mNamespaceURI;
023: private String mRootPackageName = null;
024: private String mTypesRootPackageName = null;
025: private String mAdaptersRootPackageName;
026: private String mDataDictionaryModuleName = null;
027: private String mCataloguePathToTop = null;
028: private String mCataloguePathFromTop = null;
029:
030: /** Getter for the name of the design library */
031: public String getName() {
032: return mName;
033: }
034:
035: /** Getter for the normalised name of the element. Normalised name is a
036: * "safe to use in computing" kind of name it must be a single word consisting of
037: * the most basic set of characters (e.g. letters, numbers, underscores) */
038: public String getNormalisedName() {
039: return mNormalisedName;
040: }
041:
042: /** Getter for the normalised typed name of the element.
043: * Normalised typed name is similar to the normalised name, but it is derived
044: * from type name and element name which guarantees that this name is unique within parent element scope. */
045: public String getNormalisedTypedName() {
046: return mNormalisedTypedName;
047: }
048:
049: /** Setter 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 void setNormalisedTypedName(String pNormalisedTypedName) {
053: mNormalisedTypedName = pNormalisedTypedName;
054: }
055:
056: /** Getter for the relative path to the top from the catalogue where information related to this object is located.
057: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
058: * It is used for things like help files, documentation directory tree etc. */
059: public String getCataloguePathToTop() {
060: return mCataloguePathToTop;
061: }
062:
063: /** Getter for the relative path from the top to the catalogue where information related to this object is located.
064: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
065: * It is used for things like help files, documentation directory tree etc. */
066: public String getCataloguePathFromTop() {
067: return mCataloguePathFromTop;
068: }
069:
070: /** Setter for the relative path to the top from the catalogue where information related to this object is located.
071: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
072: * It is used for things like help files, documentation directory tree etc. */
073: public void setCataloguePathToTop(String pCataloguePathToTop) {
074: mCataloguePathToTop = pCataloguePathToTop;
075: }
076:
077: /** Setter for the relative path from the top to the catalogue where information related to this object is located
078: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
079: * It is used for things like help files, documentation directory tree etc. */
080: public void setCataloguePathFromTop(String pCataloguePathFromTop) {
081: mCataloguePathFromTop = pCataloguePathFromTop;
082: }
083:
084: /** Getter for the package name where whole library source code is located */
085: public String getRootPackageName() {
086: return mRootPackageName;
087: }
088:
089: /** Getter for the package name where types for this design library are located */
090: public String getTypesRootPackageName() {
091: return mTypesRootPackageName;
092: }
093:
094: /** Setter for the name of the design library */
095: public void setName(String pName) {
096: mName = pName;
097: }
098:
099: /** Setter for the normalised name of the element. Normalised name is a
100: * "safe to use in computing" kind of name it must be a single word consisting of
101: * the most basic set of characters (e.g. letters, numbers, underscores) */
102: public void setNormalisedName(String pNormalisedName) {
103: mNormalisedName = pNormalisedName;
104: }
105:
106: /** Setter for the package name where whole design library source code is located */
107: public void setRootPackageName(String pRootPackageName) {
108: mRootPackageName = pRootPackageName;
109: }
110:
111: /** Setter for the package name where types for this system are located */
112: public void setTypesRootPackageName(String pTypesRootPackageName) {
113: mTypesRootPackageName = pTypesRootPackageName;
114: }
115:
116: /** Getter for the name of the package for the adapters of the design library */
117: public String getAdaptersRootPackageName() {
118: return mAdaptersRootPackageName;
119: }
120:
121: /** Setter for the name of the package for the adapters of the design library */
122: public void setAdaptersRootPackageName(
123: String pAdaptersRootPackageName) {
124: mAdaptersRootPackageName = pAdaptersRootPackageName;
125: }
126:
127: /** Getter for the standard xml schema namespace */
128: public String getNamespaceURI() {
129: return mNamespaceURI;
130: }
131:
132: /** Setter for the generic xml namespace URI */
133: public void setNamespaceURI(String pNamespaceURI) {
134: mNamespaceURI = pNamespaceURI;
135: }
136:
137: /** Getter for the name of the module where data dictionaries for whole enterprise are located */
138: public String getDataDictionaryModuleName() {
139: return mDataDictionaryModuleName;
140: }
141:
142: /** Setter for the name of the module where data dictionaries for whole enterprise are located */
143: public void setDataDictionaryModuleName(
144: String pDataDictionaryModuleName) {
145: mDataDictionaryModuleName = pDataDictionaryModuleName;
146: }
147: }
|