boolean function ( ) { if ( foreignKeys . size ( ) != 2 ) { return false ; } for ( Attribute loc0 : getAttributesArray ( ) ) { if ( ! loc0 . isKeyElement ( ) ) { return false ; } } for ( Attribute loc0 : getAttributesArray ( ) ) { if ( ! loc0 . isFK ( ) ) { return false ; } } return true ; }
returns true if the entity can be considered as a `` join table '' conditions : . the entity has 2 foreign keys . all the columns are in the primary key . all the columns are in a foreign key concode_field_sep String databaseSchema concode_elem_sep String databaseType concode_elem_sep String databaseCatalog concode_elem_sep Hashtable<String,Attribute> attributes concode_elem_sep String databaseTable concode_elem_sep Hashtable<String,Link> links concode_elem_sep String className concode_elem_sep long serialVersionUID concode_elem_sep Hashtable<String,ForeignKey> foreignKeys concode_field_sep List<Link> getLinks concode_elem_sep List<Link> getLinksTo concode_elem_sep void removeForeignKey concode_elem_sep Link[] getLinksArray concode_elem_sep List<String> getWarnings concode_elem_sep void setClassName concode_elem_sep int compareTo concode_elem_sep void setDatabaseTable concode_elem_sep String getDatabaseType concode_elem_sep Attribute[] getAttributesArray concode_elem_sep void removeAttribute concode_elem_sep String getFullName concode_elem_sep List<Attribute> getAttributes concode_elem_sep String getDatabaseSchema concode_elem_sep List<ForeignKey> getDatabaseForeignKeys concode_elem_sep Boolean isTableType concode_elem_sep void storeAttribute concode_elem_sep int removeLink concode_elem_sep void removeAllLinks concode_elem_sep void setDatabaseCatalog concode_elem_sep void storeLink concode_elem_sep Attribute getAttributeByColumnName concode_elem_sep void storeForeignKey concode_elem_sep ForeignKey[] getForeignKeys concode_elem_sep Link getLink concode_elem_sep String getDatabaseCatalog concode_elem_sep void setDatabaseSchema concode_elem_sep void setDatabaseType concode_elem_sep Boolean isViewType concode_elem_sep String getDatabaseTable concode_elem_sep ForeignKey getForeignKey concode_elem_sep String toString concode_elem_sep String getClassName concode_elem_sep String getPackageName