@ProtoMessage public class Field extends Object
Constructor and Description |
---|
Field() |
Field(ProtobufScope scope,
ProtobufType type,
String name,
boolean sortable,
boolean searchable,
String analyzer) |
Field(ProtobufScope scope,
ProtobufType type,
String name,
int index) |
Field(ProtobufScope scope,
ProtobufType type,
String name,
int index,
boolean sortable,
boolean searchable,
String analyzer) |
Field(ProtobufScope scope,
ProtobufType type,
String name,
String analyzer) |
Field(ProtobufScope scope,
String type,
String name,
int index) |
Field(ProtobufScope scope,
String type,
String name,
int index,
boolean sortable,
boolean searchable,
String analyzer) |
Modifier and Type | Method and Description |
---|---|
String |
getAnalyzer() |
Integer |
getIndex() |
String |
getName() |
ProtobufScope |
getScope() |
String |
getType() |
Boolean |
isSearchable() |
Boolean |
isSortable() |
void |
setAnalyzer(String analyzer) |
void |
setIndex(Integer index) |
void |
setName(String name) |
void |
setScope(ProtobufScope scope) |
void |
setSearchable(Boolean searchable) |
void |
setSortable(Boolean sortable) |
void |
setType(String type) |
public Field()
public Field(ProtobufScope scope, String type, String name, int index)
public Field(ProtobufScope scope, ProtobufType type, String name, String analyzer)
public Field(ProtobufScope scope, ProtobufType type, String name, boolean sortable, boolean searchable, String analyzer)
public Field(ProtobufScope scope, ProtobufType type, String name, int index)
public Field(ProtobufScope scope, ProtobufType type, String name, int index, boolean sortable, boolean searchable, String analyzer)
public Field(ProtobufScope scope, String type, String name, int index, boolean sortable, boolean searchable, String analyzer)
public ProtobufScope getScope()
@ProtoField(number=1) public void setScope(ProtobufScope scope)
public String getType()
@ProtoField(number=2) public void setType(String type)
public String getName()
@ProtoField(number=3) public void setName(String name)
public Integer getIndex()
@ProtoField(number=4) public void setIndex(Integer index)
public Boolean isSortable()
@ProtoField(number=5) public void setSortable(Boolean sortable)
public Boolean isSearchable()
@ProtoField(number=6) public void setSearchable(Boolean searchable)
public String getAnalyzer()
@ProtoField(number=7) public void setAnalyzer(String analyzer)
Copyright © 2012–2020 JBoss by Red Hat. All rights reserved.