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 association */
018: public final class STAssociationStylesheet {
019: private String mAssociationRef = null;
020: private String mNormalisedName = null;
021: private String mNormalisedTypedName = null;
022: private String mStorageRecordName = null;
023: private String mStoragePackageName = null;
024: private String mStorageRecordFullName = null;
025: private String mCataloguePathToTop = null;
026: private String mCataloguePathFromTop = null;
027:
028: /** Getter for the unique identifier of the corresponding association */
029: public String getAssociationRef() {
030: return mAssociationRef;
031: }
032:
033: /** Getter for the normalised name of the element. Normalised name is a
034: * "safe to use in computing" kind of name it must be a single word consisting of
035: * the most basic set of characters (e.g. letters, numbers, underscores).
036: * Note that this name may not be unique in the namespace of the parent element, because
037: * sibling element of another type may have the same name. Consider using NormalisedTypedName to get more unique name */
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 name of the of the storage record representing this association in the services layer.
057: * This is not always used, but if it is it should be of this name */
058: public String getStorageRecordName() {
059: return mStorageRecordName;
060: }
061:
062: /** Getter for the name of the package where storage service for this association is located */
063: public String getStoragePackageName() {
064: return mStoragePackageName;
065: }
066:
067: /** Getter for the full name of the of the storage record representing this association in the services layer.
068: * This is not always used, but if it is it should be of this name */
069: public String getStorageRecordFullName() {
070: return mStorageRecordFullName;
071: }
072:
073: /** Getter for the relative path to the top from the catalogue where information related to this object is located.
074: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
075: * It is used for things like help files, documentation directory tree etc. */
076: public String getCataloguePathToTop() {
077: return mCataloguePathToTop;
078: }
079:
080: /** Getter for the relative path from the top to the catalogue where information related to this object is located.
081: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
082: * It is used for things like help files, documentation directory tree etc. */
083: public String getCataloguePathFromTop() {
084: return mCataloguePathFromTop;
085: }
086:
087: /** Setter for the unique identifier of the corresponding association */
088: public void setAssociationRef(String pAssociationRef) {
089: mAssociationRef = pAssociationRef;
090: }
091:
092: /** Setter for the name of the of the storage record representing this association in the services layer.
093: * This is not always used, but if it is it should be of this name */
094: public void setStorageRecordName(String pStorageRecordName) {
095: mStorageRecordName = pStorageRecordName;
096: }
097:
098: /** Setter for the name of the package where storage service interface for this association is located */
099: public void setStoragePackageName(String pStoragePackageName) {
100: mStoragePackageName = pStoragePackageName;
101: }
102:
103: /** Setter for the full name of the of the storage record representing this association in the services layer.
104: * This is not always used, but if it is it should be of this name */
105: public void setStorageRecordFullName(String pStorageRecordFullName) {
106: mStorageRecordFullName = pStorageRecordFullName;
107: }
108:
109: /** Setter for the normalised name of the element. Normalised name is a
110: * "safe to use in computing" kind of name it must be a single word consisting of
111: * the most basic set of characters (e.g. letters, numbers, underscores).
112: * Note that this name may not be unique in the namespace of the parent element, because
113: * sibling element of another type may have the same name. Consider using NormalisedTypedName to get more unique name */
114: public void setNormalisedName(String pNormalisedName) {
115: mNormalisedName = pNormalisedName;
116: }
117:
118: /** Setter for the relative path to the top from the catalogue where information related to this object is located.
119: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
120: * It is used for things like help files, documentation directory tree etc. */
121: public void setCataloguePathToTop(String pCataloguePathToTop) {
122: mCataloguePathToTop = pCataloguePathToTop;
123: }
124:
125: /** Setter for the relative path from the top to the catalogue where information related to this object is located
126: * Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
127: * It is used for things like help files, documentation directory tree etc. */
128: public void setCataloguePathFromTop(String pCataloguePathFromTop) {
129: mCataloguePathFromTop = pCataloguePathFromTop;
130: }
131: }
|