/** * Check if the association is a one to one in the logical model (either a shared-pk * or unique fk). * * @param type The type representing the attribute metadata * * @return True if the attribute represents a logical one to one association */ private static boolean isLogicalOneToOne(Type type) { return type.isEntityType() && ( (EntityType) type ).isLogicalOneToOne(); }
/** * Check if the association is a one to one in the logical model (either a shared-pk * or unique fk). * * @param type The type representing the attribute metadata * * @return True if the attribute represents a logical one to one association */ private boolean isLogicalOneToOne(Type type) { return type.isEntityType() && ( (EntityType) type ).isLogicalOneToOne(); }
/** * Check if the association is a one to one in the logical model (either a shared-pk * or unique fk). * * @param type The type representing the attribute metadata * * @return True if the attribute represents a logical one to one association */ private boolean isLogicalOneToOne(Type type) { return type.isEntityType() && ( (EntityType) type ).isLogicalOneToOne(); }