// THIS SOFTWARE IS PROVIDED BY SOFTARIS PTY.LTD. AND OTHER METABOSS
// CONTRIBUTORS ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING,
// BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
// FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SOFTARIS PTY.LTD.
// OR OTHER METABOSS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
// OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
// EVEN IF SOFTARIS PTY.LTD. OR OTHER METABOSS CONTRIBUTORS ARE ADVISED OF THE
// POSSIBILITY OF SUCH DAMAGE.
//
// Copyright 2000-2005 Softaris Pty.Ltd. All Rights Reserved.
package com.metaboss.sdlctools.services.codegenerationstylesheet;
/** This structure contains the stylesheet (set of names) pertained to the particular namespace */
public final class STNamespaceStylesheet
{
private String mNamespaceRef = null;
private String mNormalisedName = null;
private String mNormalisedTypedName = null;
private String mAdapterClassName = null;
private String mCataloguePathToTop = null;
private String mCataloguePathFromTop = null;
private String mPackageName = null;
private String mDictionarySubPackageName;
private String mNamespaceURI;
/** Getter for the unique identifier of the corresponding model element */
public String getNamespaceRef()
{
return mNamespaceRef;
}
/** Getter for the unique identifier of the corresponding model element */
public void setNamespaceRef(String pNamespaceRef)
{
mNamespaceRef = pNamespaceRef;
}
/** Getter for the normalised name of the element. Normalised name is a
* "safe to use in computing" kind of name it must be a single word consisting of
* the most basic set of characters (e.g. letters, numbers, underscores).
* Note that this name may not be unique in the namespace of the parent element, because
* sibling element of another type may have the same name. Consider using NormalisedTypedName to get more unique name */
public String getNormalisedName()
{
return mNormalisedName;
}
/** Setter for the normalised name of the element. Normalised name is a
* "safe to use in computing" kind of name it must be a single word consisting of
* the most basic set of characters (e.g. letters, numbers, underscores)
* Note that this name may not be unique in the namespace of the parent element, because
* sibling element of another type may have the same name. Consider using NormalisedTypedName to get more unique name */
public void setNormalisedName(String pNormalisedName)
{
mNormalisedName = pNormalisedName;
}
/** Getter for the normalised typed name of the element.
* Normalised typed name is similar to the normalised name, but it is derived
* from type name and element name which guarantees that this name is unique within parent element scope. */
public String getNormalisedTypedName()
{
return mNormalisedTypedName;
}
/** Setter for the normalised typed name of the element.
* Normalised typed name is similar to the normalised name, but it is derived
* from type name and element name which guarantees that this name is unique within parent element scope. */
public void setNormalisedTypedName(String pNormalisedTypedName)
{
mNormalisedTypedName = pNormalisedTypedName;
}
/** Getter for the relative path to the top from the catalogue where information related to this object is located.
* Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
* It is used for things like help files, documentation directory tree etc. */
public String getCataloguePathToTop()
{
return mCataloguePathToTop;
}
/** Getter for the relative path from the top to the catalogue where information related to this object is located.
* Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
* It is used for things like help files, documentation directory tree etc. */
public String getCataloguePathFromTop()
{
return mCataloguePathFromTop;
}
/** Setter for the relative path to the top from the catalogue where information related to this object is located.
* Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
* It is used for things like help files, documentation directory tree etc. */
public void setCataloguePathToTop(String pCataloguePathToTop)
{
mCataloguePathToTop = pCataloguePathToTop;
}
/** Setter for the relative path from the top to the catalogue where information related to this object is located
* Catalogue is a directory tree where each node is named as <owner type>_<owner normalised name>.
* It is used for things like help files, documentation directory tree etc. */
public void setCataloguePathFromTop(String pCataloguePathFromTop)
{
mCataloguePathFromTop = pCataloguePathFromTop;
}
/** Getter for the package name where contents of this Namespace are located */
public String getPackageName()
{
return mPackageName;
}
/** Setter for the package name where contents of this Namespace are located */
public void setPackageName(String pPackageName)
{
mPackageName = pPackageName;
}
/** Getter for the name of the subpackage of the dictionary package for this namespace */
public String getDictionarySubPackageName()
{
return mDictionarySubPackageName;
}
/** Setter for the name of the subpackage of the dictionary package for this namespace */
public void setDictionarySubPackageName(String pDictionarySubPackageName)
{
mDictionarySubPackageName = pDictionarySubPackageName;
}
/** Getter for the standard xml schema namespace */
public String getNamespaceURI()
{
return mNamespaceURI;
}
/** Setter for the generic xml name space URI */
public void setNamespaceURI(String pNamespaceURI)
{
mNamespaceURI = pNamespaceURI;
}
/** Getter for the name of the class, which is an adaptor / bridge between this namespace
* and some other technology. Note that this class may reside in any package as chosen by generator
* (in fact there will most probably be more than one implementation each in different package) */
public String getAdapterClassName()
{
return mAdapterClassName;
}
/** Setter for the name of the class, which is an adaptor / bridge between this namespace
* and some other technology. Note that this class may reside in any package as chosen by generator
* (in fact there will most probably be more than one implementation each in different package) */
public void setAdapterClassName(String pAdapterClassName)
{
mAdapterClassName = pAdapterClassName;
}
}
|