class ViewInstanceEntity implements ViewInstanceDefinition {

  public void validate(ViewEntity viewEntity, Validator.ValidationContext context) throws ValidationException {
    InstanceValidationResultImpl result = getValidationResult(viewEntity, context);
    if (!result.isValid()) {
      throw new ValidationException(result.toJson());
    }
  }

  public  ViewInstanceEntity();
  public  ViewInstanceEntity(ViewEntity view, InstanceConfig instanceConfig);
  public  ViewInstanceEntity(ViewEntity view, String name);
  public  ViewInstanceEntity(ViewEntity view, String name, String label);

}