code: public List<String> validate(Entity entity) throws APIException, ConnectionException, OidException {
      	Asset asset = v1Instance.getAsset(entity.getInstanceKey()) != null ? v1Instance.getAsset(entity.getInstanceKey()) : v1Instance.getAsset(entity.getID());
          return validate(asset);
      }
docs: Validate single Entity.
  @param entity - Entity to validate.
  @return Collection of invalid attribute names.
  @throws OidException
  @throws ConnectionException
  @throws APIException