com.netgrif.application.engine.elastic.domain.I18nField Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of application-engine Show documentation
Show all versions of application-engine Show documentation
System provides workflow management functions including user, role and data management.
package com.netgrif.application.engine.elastic.domain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Field;
import java.util.Set;
import static org.springframework.data.elasticsearch.annotations.FieldType.Text;
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class I18nField extends TextField {
@Field(type = Text)
public String[] keyValue;
public I18nField(Set keys, Set values) {
super(new String[0]);
this.keyValue = keys.toArray(new String[0]);
this.textValue = values.toArray(new String[0]);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy