code: public static AttributeType create(String name, AttributeValueType valueType) {
        AttributeType toReturn = DynamicEnum.register(new AttributeType(name));
        if (valueType != null && toReturn.valueType == AttributeValueType.DEFAULT) {
           Config.setProperty(typeName + "." + toReturn.name() + ".type", valueType.toString());
           toReturn.valueType = valueType;
        } else if (valueType != null && toReturn.valueType != valueType) {
           throw new IllegalArgumentException("Attempting to change value type of " + name + " from " + toReturn.getValueType());
        }
        values.add(toReturn);
        return toReturn;
     }
docs: <p>Creates a new or retrieves an existing instance of AttributeType with the given name.</p>
  
  @param name      the specified name of the AttributeType
  @param valueType the type of value the attribute is
  @return The instance of AttributeType corresponding th the give name.