@Override public String getValue(T item) { return item.getVersion() + ""; } },
protected Integer getDownloadSchemaColumnClickedId(T value) { return value.getVersion(); } }
/** * Create new instance of <code>Schema</code>. * * @param dto data transfer object contain data that assign on fields of new instance */ public Schema(T dto) { if (dto != null) { this.id = getLongId(dto); Long appId = getLongId(dto.getApplicationId()); this.application = appId != null ? new Application(appId) : null; this.version = dto.getVersion(); this.schema = dto.getSchema(); this.name = dto.getName(); this.description = dto.getDescription(); this.createdUsername = dto.getCreatedUsername(); this.createdTime = dto.getCreatedTime(); this.endpointCount = dto.getEndpointCount(); } }