org.apache.tuscany.das.rdb.config
Interface Relationship

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
RelationshipImpl

public interface Relationship
extends java.io.Serializable

A representation of the model object 'Relationship'.

The following features are supported:


Method Summary
 java.lang.String getForeignKeyTable()
          Returns the value of the 'Foreign Key Table' attribute.
 java.util.List getKeyPair()
          Returns the value of the 'Key Pair' containment reference list.
 java.lang.String getName()
          Returns the value of the 'Name' attribute.
 java.lang.String getPrimaryKeyTable()
          Returns the value of the 'Primary Key Table' attribute.
 boolean isKeyRestricted()
          Returns the value of the 'Key Restricted' attribute.
 boolean isMany()
          Returns the value of the 'Many' attribute.
 void setForeignKeyTable(java.lang.String value)
          Sets the value of the 'Foreign Key Table' attribute.
 void setKeyRestricted(boolean value)
          Sets the value of the 'Key Restricted' attribute.
 void setMany(boolean value)
          Sets the value of the 'Many' attribute.
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute.
 void setPrimaryKeyTable(java.lang.String value)
          Sets the value of the 'Primary Key Table' attribute.
 

Method Detail

getKeyPair

java.util.List getKeyPair()
Returns the value of the 'Key Pair' containment reference list. The list contents are of type KeyPair.

If the meaning of the 'Key Pair' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Key Pair' containment reference list.

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String)

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getPrimaryKeyTable

java.lang.String getPrimaryKeyTable()
Returns the value of the 'Primary Key Table' attribute.

If the meaning of the 'Primary Key Table' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Primary Key Table' attribute.
See Also:
setPrimaryKeyTable(String)

setPrimaryKeyTable

void setPrimaryKeyTable(java.lang.String value)
Sets the value of the 'Primary Key Table' attribute.

Parameters:
value - the new value of the 'Primary Key Table' attribute.
See Also:
getPrimaryKeyTable()

getForeignKeyTable

java.lang.String getForeignKeyTable()
Returns the value of the 'Foreign Key Table' attribute.

If the meaning of the 'Foreign Key Table' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Foreign Key Table' attribute.
See Also:
setForeignKeyTable(String)

setForeignKeyTable

void setForeignKeyTable(java.lang.String value)
Sets the value of the 'Foreign Key Table' attribute.

Parameters:
value - the new value of the 'Foreign Key Table' attribute.
See Also:
getForeignKeyTable()

isMany

boolean isMany()
Returns the value of the 'Many' attribute.

If the meaning of the 'Many' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Many' attribute.
See Also:
setMany(boolean)

setMany

void setMany(boolean value)
Sets the value of the 'Many' attribute.

Parameters:
value - the new value of the 'Many' attribute.
See Also:
isMany()

isKeyRestricted

boolean isKeyRestricted()
Returns the value of the 'Key Restricted' attribute.

If the meaning of the 'Key Restricted' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Key Restricted' attribute.
See Also:
setKeyRestricted(boolean)

setKeyRestricted

void setKeyRestricted(boolean value)
Sets the value of the 'Key Restricted' attribute.

Parameters:
value - the new value of the 'Key Restricted' attribute.
See Also:
isKeyRestricted()


Copyright © 2007 Apache Software Foundation. All Rights Reserved.