// Add a new element returning its index in the list with a boolean flag
public int addElementProperty(ElementProperty value, boolean overwrite)
throws ConfigException{
ElementProperty old = getElementPropertyByName(value.getName());
if(old != null) {
throw new ConfigException(StringManager.getManager(AvailabilityService.class).getString("cannotAddDuplicate", "ElementProperty"));
}
return this.addValue(ELEMENT_PROPERTY, value, overwrite);
}