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.domains.storagemodel;
016:
017: import com.metaboss.enterprise.bo.BOException;
018: import com.oldboss.framework.bo.BOObject;
019:
020: public interface BORelationalReferenceTable extends BOObject {
021: /** Retrieves associated datatype ref */
022: public String getDataTypeRef() throws BOException;
023:
024: /** Returns relational domain storage this reference table definition belongs to */
025: public BORelationalDomainStorage getDomainStorage()
026: throws BOException;
027:
028: /** Getter for the alias of the table */
029: public String getTableAlias() throws BOException;
030:
031: /** Getter for the suggested name of the table */
032: public String getNameSuggestion() throws BOException;
033:
034: /** Getter for the overriden name of the table */
035: public String getNameOverride() throws BOException;
036:
037: /** Getter for the suggested name of the column to store valid value */
038: public String getValueColumnNameSuggestion() throws BOException;
039:
040: /** Getter for the overriden name of the column to store valid value */
041: public String getValueColumnNameOverride() throws BOException;
042:
043: /** Getter for the suggested name of the column to store store valid value description */
044: public String getDescriptionColumnNameSuggestion()
045: throws BOException;
046:
047: /** Getter for the overriden name of the column to store valid value description */
048: public String getDescriptionColumnNameOverride() throws BOException;
049:
050: /** Getter for the weight column and constraint presence flag */
051: public boolean hasComparisonMechanismDefinition()
052: throws BOException;
053:
054: /** Getter for the suggested name of the column to store store valid value weight */
055: public String getWeightColumnNameSuggestion() throws BOException;
056:
057: /** Getter for the overriden name of the column to store valid value weight */
058: public String getWeightColumnNameOverride() throws BOException;
059:
060: /** Getter for the suggested name of the constraint of the weight column */
061: public String getWeightConstraintNameSuggestion()
062: throws BOException;
063:
064: /** Getter for the overriden name of the constraint of the weight column */
065: public String getWeightConstraintNameOverride() throws BOException;
066:
067: /** Getter for the name of the primary key constraint
068: * Note that table always has a primary key constraint based on value column */
069: public String getPrimaryKeyConstraintNameSuggestion()
070: throws BOException;
071:
072: /** Getter for the name of the primary key constraint
073: * Note that table always has a primary key constraint based on value column */
074: public String getPrimaryKeyConstraintNameOverride()
075: throws BOException;
076:
077: /** Setter for the alias of the table */
078: public void setTableAlias(String pName) throws BOException;
079:
080: /** Setter for the name of the table */
081: public void setNameSuggestion(String pName) throws BOException;
082:
083: /** Setter for the name of the column to store store valid value */
084: public void setValueColumnNameSuggestion(String pName)
085: throws BOException;
086:
087: /** Setter for the name of the column to store valid value description */
088: public void setDescriptionColumnNameSuggestion(String pName)
089: throws BOException;
090:
091: /** Setter for the weight column presence flag */
092: public void setHasComparisonMechanismDefinition(boolean pHasColumn)
093: throws BOException;
094:
095: /** Setter for the name of the column to store valid value weight */
096: public void setWeightColumnNameSuggestion(String pName)
097: throws BOException;
098:
099: /** Setter for the name of the constraint of weight column */
100: public void setWeightConstraintNameSuggestion(String pName)
101: throws BOException;
102:
103: /** Setter for the name of the primary key constraint
104: * Note that table always has a primary key constraint based on value column */
105: public void setPrimaryKeyConstraintNameSuggestion(String pName)
106: throws BOException;
107: }
|