code: public boolean addKeyPart(String name, Basic_Field_Types type) throws IOException {
          return addKeyPart(name, type.size);
      }
docs: Adds a new KeyPart. This is a wrapper method for <code>addKeyPart(String, int)</code>.
  
  @param name
  the name of the key part. With this name you can access this part
  @param type
  the type of the key part.
  @return true if adding the key part was successful
  @throws IOException