violation = checkInt(entity, attribute, entityType); if ((violation == null) && (attribute.getRange() != null)) { violation = checkRange(entity, attribute, entityType); violation = checkLong(entity, attribute, entityType); if ((violation == null) && (attribute.getRange() != null)) { violation = checkRange(entity, attribute, entityType);