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 entity */
018: public final class STReportStylesheet {
019: private String mReportRef = null;
020: private String mNormalisedName = null;
021: private String mNormalisedTypedName = null;
022: private String mServiceDetailsStructureTranslatorName = null;
023: private String mInstanceIdServiceStructureAttributeName = null;
024: private String mVersionIdServiceStructureAttributeName = null;
025: private String mStateServiceStructureAttributeName = null;
026: private String mDomainInterfaceName = null;
027: private String mDomainPackageName = null;
028: private String mDomainInterfaceFullName = null;
029: private String mDomainImplementationName = null;
030: private String mDomainCollectionInterfaceName = null;
031: private String mDomainCollectionInterfaceFullName = null;
032: private String mDomainCollectionImplementationName = null;
033: private String mInstanceIdDomainObjectAttributeName = null;
034: private String mVersionIdDomainObjectAttributeName = null;
035: private String mStateDomainObjectAttributeName = null;
036: private String mInstanceIdStorageStructureAttributeName = null;
037: private String mVersionIdStorageStructureAttributeName = null;
038: private String mStateStorageStructureAttributeName = null;
039: private String mSupertypeStorageStructureAttributeName = null;
040: private String mStorageInterfaceName = null;
041: private String mStoragePackageName = null; // Used
042: private String mStorageInterfaceFullName = null;
043: private String mStorageImplementationName = null;
044: private String mStorageFactoryName = null;
045: private String mCataloguePathToTop = null;
046: private String mCataloguePathFromTop = null;
047:
048: /** Getter for the unique identifier of the corresponding entity */
049: public String getReportRef() {
050: return mReportRef;
051: }
052:
053: /** Getter for the normalised name of the element. Normalised name is a
054: * "safe to use in computing" kind of name it must be a single word consisting of
055: * the most basic set of characters (e.g. letters, numbers, underscores).
056: * Note that this name may not be unique in the namespace of the parent element, because
057: * sibling element of another type may have the same name. Consider using NormalisedTypedName to get more unique name */
058: public String getNormalisedName() {
059: return mNormalisedName;
060: }
061:
062: /** Getter for the normalised typed name of the element.
063: * Normalised typed name is similar to the normalised name, but it is derived
064: * from type name and element name which guarantees that this name is unique within parent element scope. */
065: public String getNormalisedTypedName() {
066: return mNormalisedTypedName;
067: }
068:
069: /** Setter for the normalised typed name of the element.
070: * Normalised typed name is similar to the normalised name, but it is derived
071: * from type name and element name which guarantees that this name is unique within parent element scope. */
072: public void setNormalisedTypedName(String pNormalisedTypedName) {
073: mNormalisedTypedName = pNormalisedTypedName;
074: }
075:
076: /** Getter for the name of the class translating entity contents to/from structure */
077: public String getServiceDetailsStructureTranslatorName() {
078: return mServiceDetailsStructureTranslatorName;
079: }
080:
081: /** Getter for the name of the interface representing this entity */
082: public String getDomainInterfaceName() {
083: return mDomainInterfaceName;
084: }
085:
086: /** Getter for the name of the implementation class implementing domain interface */
087: public String getDomainImplementationName() {
088: return mDomainImplementationName;
089: }
090:
091: /** Getter for the name of the package where domain interface representing this entity is located */
092: public String getDomainPackageName() {
093: return mDomainPackageName;
094: }
095:
096: /** Getter for the full name of the interface representing this entity */
097: public String getDomainInterfaceFullName() {
098: return mDomainInterfaceFullName;
099: }
100:
101: /** Getter for the name of the interface for the domain object collection */
102: public String getDomainCollectionInterfaceName() {
103: return mDomainCollectionInterfaceName;
104: }
105:
106: /** Getter for the full name of the interface for the domain object collection */
107: public String getDomainCollectionInterfaceFullName() {
108: return mDomainCollectionInterfaceFullName;
109: }
110:
111: /** Getter for the name of the implementation for the domain object collection */
112: public String getDomainCollectionImplementationName() {
113: return mDomainCollectionImplementationName;
114: }
115:
116: /** Getter for the name of the instance id attribute in the storage structure */
117: public String getInstanceIdStorageStructureAttributeName() {
118: return mInstanceIdStorageStructureAttributeName;
119: }
120:
121: /** Getter for the name of the instance id attribute in the service structure */
122: public String getInstanceIdServiceStructureAttributeName() {
123: return mInstanceIdServiceStructureAttributeName;
124: }
125:
126: /** Getter for the name of the instance id attribute in the domain object */
127: public String getInstanceIdDomainObjectAttributeName() {
128: return mInstanceIdDomainObjectAttributeName;
129: }
130:
131: /** Getter for the name of the version id attribute in the storage structure */
132: public String getVersionIdStorageStructureAttributeName() {
133: return mVersionIdStorageStructureAttributeName;
134: }
135:
136: /** Getter for the name of the version id attribute in the service structure */
137: public String getVersionIdServiceStructureAttributeName() {
138: return mVersionIdServiceStructureAttributeName;
139: }
140:
141: /** Getter for the name of the version id attribute in the domain object */
142: public String getVersionIdDomainObjectAttributeName() {
143: return mVersionIdDomainObjectAttributeName;
144: }
145:
146: /** Getter for the name of the state attribute in the storage structure */
147: public String getStateStorageStructureAttributeName() {
148: return mStateStorageStructureAttributeName;
149: }
150:
151: /** Getter for the name of the supertype structure reference in the storage structure */
152: public String getSupertypeStorageStructureAttributeName() {
153: return mSupertypeStorageStructureAttributeName;
154: }
155:
156: /** Getter for the name of the state attribute in the service structure */
157: public String getStateServiceStructureAttributeName() {
158: return mStateServiceStructureAttributeName;
159: }
160:
161: /** Getter for the name of the state attribute in the domain object */
162: public String getStateDomainObjectAttributeName() {
163: return mStateDomainObjectAttributeName;
164: }
165:
166: /** Getter for the name of the storage service interface for this entity */
167: public String getStorageInterfaceName() {
168: return mStorageInterfaceName;
169: }
170:
171: /** Getter for the name of the implementation class implementing storage service for this entity */
172: public String getStorageImplementationName() {
173: return mStorageImplementationName;
174: }
175:
176: /** Getter for the name of the package where storage service for this entity is located */
177: public String getStoragePackageName() {
178: return mStoragePackageName;
179: }
180:
181: /** Getter for the full name of the storage service interface for this entity */
182: public String getStorageInterfaceFullName() {
183: return mStorageInterfaceFullName;
184: }
185:
186: /** Getter for the relative path to the top from the catalogue where information related to this object is located.
187: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
188: * It is used for things like help files, documentation directory tree etc. */
189: public String getCataloguePathToTop() {
190: return mCataloguePathToTop;
191: }
192:
193: /** Getter for the relative path from the top to the catalogue where information related to this object is located.
194: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
195: * It is used for things like help files, documentation directory tree etc. */
196: public String getCataloguePathFromTop() {
197: return mCataloguePathFromTop;
198: }
199:
200: /** Getter for the name of the factory of the implementation class implementing storage service for this entity */
201: public String getStorageFactoryName() {
202: return mStorageFactoryName;
203: }
204:
205: /** Setter for the unique identifier of the corresponding report */
206: public void setReportRef(String pReportRef) {
207: mReportRef = pReportRef;
208: }
209:
210: /** Setter for the normalised name of the element. Normalised name is a
211: * "safe to use in computing" kind of name it must be a single word consisting of
212: * the most basic set of characters (e.g. letters, numbers, underscores)
213: * Note that this name may not be unique in the namespace of the parent element, because
214: * sibling element of another type may have the same name. Consider using NormalisedTypedName to get more unique name */
215: public void setNormalisedName(String pNormalisedName) {
216: mNormalisedName = pNormalisedName;
217: }
218:
219: /** Setter for the name of the class translating entity contents to/from structure */
220: public void setServiceDetailsStructureTranslatorName(
221: String pServiceDetailsStructureTranslatorName) {
222: mServiceDetailsStructureTranslatorName = pServiceDetailsStructureTranslatorName;
223: }
224:
225: /** Setter for the name of the interface representing this entity */
226: public void setDomainInterfaceName(String pDomainInterfaceName) {
227: mDomainInterfaceName = pDomainInterfaceName;
228: }
229:
230: /** Setter for the name of the implementation class implementing domain interface */
231: public void setDomainImplementationName(
232: String pDomainImplementationName) {
233: mDomainImplementationName = pDomainImplementationName;
234: }
235:
236: /** Setter for the name of the package where domain interface representing this entity is located */
237: public void setDomainPackageName(String pDomainPackageName) {
238: mDomainPackageName = pDomainPackageName;
239: }
240:
241: /** SGetter for the full name of the interface representing this entity */
242: public void setDomainInterfaceFullName(
243: String pDomainInterfaceFullName) {
244: mDomainInterfaceFullName = pDomainInterfaceFullName;
245: }
246:
247: /** Setter for the name of the interface for the domain object collection */
248: public void setDomainCollectionInterfaceName(
249: String pDomainCollectionInterfaceName) {
250: mDomainCollectionInterfaceName = pDomainCollectionInterfaceName;
251: }
252:
253: /** Setter for the full name of the interface for the domain object collection */
254: public void setDomainCollectionInterfaceFullName(
255: String pDomainCollectionInterfaceFullName) {
256: mDomainCollectionInterfaceFullName = pDomainCollectionInterfaceFullName;
257: }
258:
259: /** Setter for the name of the implementation for the domain object collection */
260: public void setDomainCollectionImplementationName(
261: String pDomainCollectionImplementationName) {
262: mDomainCollectionImplementationName = pDomainCollectionImplementationName;
263: }
264:
265: /** Setter for the name of the instance id attribute in the storage structure */
266: public void setInstanceIdStorageStructureAttributeName(
267: String pInstanceIdStorageStructureAttributeName) {
268: mInstanceIdStorageStructureAttributeName = pInstanceIdStorageStructureAttributeName;
269: }
270:
271: /** Setter for the name of the instance id attribute in the service structure */
272: public void setInstanceIdServiceStructureAttributeName(
273: String pInstanceIdServiceStructureAttributeName) {
274: mInstanceIdServiceStructureAttributeName = pInstanceIdServiceStructureAttributeName;
275: }
276:
277: /** Setter for the name of the instance id attribute in the domain object */
278: public void setInstanceIdDomainObjectAttributeName(
279: String pInstanceIdDomainObjectAttributeName) {
280: mInstanceIdDomainObjectAttributeName = pInstanceIdDomainObjectAttributeName;
281: }
282:
283: /** Setter for the name of the version id attribute in the storage structure */
284: public void setVersionIdStorageStructureAttributeName(
285: String pVersionIdStorageStructureAttributeName) {
286: mVersionIdStorageStructureAttributeName = pVersionIdStorageStructureAttributeName;
287: }
288:
289: /** Setter for the name of the version id attribute in the service structure */
290: public void setVersionIdServiceStructureAttributeName(
291: String pVersionIdServiceStructureAttributeName) {
292: mVersionIdServiceStructureAttributeName = pVersionIdServiceStructureAttributeName;
293: }
294:
295: /** Setter for the name of the version id attribute in the domain object */
296: public void setVersionIdDomainObjectAttributeName(
297: String pVersionIdDomainObjectAttributeName) {
298: mVersionIdDomainObjectAttributeName = pVersionIdDomainObjectAttributeName;
299: }
300:
301: /** Setter for the name of the state attribute in the storage structure */
302: public void setStateStorageStructureAttributeName(
303: String pStateStorageStructureAttributeName) {
304: mStateStorageStructureAttributeName = pStateStorageStructureAttributeName;
305: }
306:
307: /** Setter for the name of the state attribute in the service structure */
308: public void setStateServiceStructureAttributeName(
309: String pStateServiceStructureAttributeName) {
310: mStateServiceStructureAttributeName = pStateServiceStructureAttributeName;
311: }
312:
313: /** Setter for the name of the supertype reference in the storage structure */
314: public void setSupertypeStorageStructureAttributeName(
315: String pSupertypeStorageStructureAttributeName) {
316: mSupertypeStorageStructureAttributeName = pSupertypeStorageStructureAttributeName;
317: }
318:
319: /** Setter for the name of the state attribute in the domain object */
320: public void setStateDomainObjectAttributeName(
321: String pStateDomainObjectAttributeName) {
322: mStateDomainObjectAttributeName = pStateDomainObjectAttributeName;
323: }
324:
325: /** Setter for the name of the storage service interface for this entity */
326: public void setStorageInterfaceName(String pStorageInterfaceName) {
327: mStorageInterfaceName = pStorageInterfaceName;
328: }
329:
330: /** Setter for the name of the implementation class of the storage service for this entity */
331: public void setStorageImplementationName(
332: String pStorageImplementationName) {
333: mStorageImplementationName = pStorageImplementationName;
334: }
335:
336: /** Setter for the name of the package where storage service interface for this entity is located */
337: public void setStoragePackageName(String pStoragePackageName) {
338: mStoragePackageName = pStoragePackageName;
339: }
340:
341: /** Setter for the full name of the storage servide interface for this entity */
342: public void setStorageInterfaceFullName(
343: String pStorageInterfaceFullName) {
344: mStorageInterfaceFullName = pStorageInterfaceFullName;
345: }
346:
347: /** Setter for the name of the factory of the implementation class of the storage service for this entity */
348: public void setStorageFactoryName(String pStorageFactoryName) {
349: mStorageFactoryName = pStorageFactoryName;
350: }
351:
352: /** Setter for the relative path to the top from the catalogue where information related to this object is located.
353: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
354: * It is used for things like help files, documentation directory tree etc. */
355: public void setCataloguePathToTop(String pCataloguePathToTop) {
356: mCataloguePathToTop = pCataloguePathToTop;
357: }
358:
359: /** Setter for the relative path from the top to the catalogue where information related to this object is located
360: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
361: * It is used for things like help files, documentation directory tree etc. */
362: public void setCataloguePathFromTop(String pCataloguePathFromTop) {
363: mCataloguePathFromTop = pCataloguePathFromTop;
364: }
365: }
|