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 BORelationalAssociationTable extends BOObject {
021: /** Retrieves associated association ref */
022: public String getAssociationRef() throws BOException;
023:
024: /** Returns relational domain storage this association 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 role A instance id */
038: public String getRoleAInstanceIdColumnNameSuggestion()
039: throws BOException;
040:
041: /** Getter for the overriden name of the column to store role A instance id */
042: public String getRoleAInstanceIdColumnNameOverride()
043: throws BOException;
044:
045: /** Getter for the suggested name of the constraint to guard role A referential integrity */
046: public String getRoleAReferentialConstraintNameSuggestion()
047: throws BOException;
048:
049: /** Getter for the overriden name of the constraint to guard role A referential integrity */
050: public String getRoleAReferentialConstraintNameOverride()
051: throws BOException;
052:
053: /** Getter for the suggested name of the column to store role B instance id */
054: public String getRoleBInstanceIdColumnNameSuggestion()
055: throws BOException;
056:
057: /** Getter for the overriden name of the column to store role B instance id */
058: public String getRoleBInstanceIdColumnNameOverride()
059: throws BOException;
060:
061: /** Getter for the suggested name of the constraint to guard role B referential integrity */
062: public String getRoleBReferentialConstraintNameSuggestion()
063: throws BOException;
064:
065: /** Getter for the overriden name of the constraint to guard role B referential integrity */
066: public String getRoleBReferentialConstraintNameOverride()
067: throws BOException;
068:
069: /** Getter for the suggested name of the primary key constraint */
070: public String getPrimaryKeyConstraintNameSuggestion()
071: throws BOException;
072:
073: /** Getter for the overriden name of the primary key constraint */
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 role A instance id */
084: public void setRoleAInstanceIdColumnNameSuggestion(String pName)
085: throws BOException;
086:
087: /** Setter for the name of the constraint to guard role A referential integrity */
088: public void setRoleAReferentialConstraintNameSuggestion(String pName)
089: throws BOException;
090:
091: /** Setter for the name of the column to store role B instance id */
092: public void setRoleBInstanceIdColumnNameSuggestion(String pName)
093: throws BOException;
094:
095: /** Setter for the name of the constraint to guard role B referential integrity */
096: public void setRoleBReferentialConstraintNameSuggestion(String pName)
097: throws BOException;
098:
099: /** Setter for the suggested name of the primary key constraint */
100: public void setPrimaryKeyConstraintNameSuggestion(String pName)
101: throws BOException;
102: }
|