@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen") public class SearchContextHit extends Object
| Constructor and Description |
|---|
SearchContextHit() |
| Modifier and Type | Method and Description |
|---|---|
SearchContextHit |
annotationId(Integer annotationId) |
SearchContextHit |
context(String context) |
SearchContextHit |
edocHitCount(Integer edocHitCount) |
boolean |
equals(Object o) |
SearchContextHit |
fieldHitCount(Integer fieldHitCount) |
SearchContextHit |
fieldName(String fieldName) |
Integer |
getAnnotationId()
Returns the ID of the annotation that the context hit is in.
|
String |
getContext()
Returns the line of context for the search hit.
|
Integer |
getEdocHitCount()
Returns the number of hits in the electronic document.
|
Integer |
getFieldHitCount()
Returns the number of hits in the template.
|
String |
getFieldName()
Returns the name of a template field containing the hit.
|
Integer |
getHighlight1Length()
Returns the length of the first highlight in characters.
|
Integer |
getHighlight1Offset()
Returns the character offset from the beginning of the context line of the start of the first highlight.
|
Integer |
getHighlight2Length()
Returns the length of the second highlight in characters.
|
Integer |
getHighlight2Offset()
Returns the character offset from the beginning of the context line of the start of the second highlight.
|
Integer |
getHitNumber()
Returns the hit number.
|
HitType |
getHitType()
Returns hitType
|
Integer |
getHitWidth()
Returns the number of words in the context hit.
|
Integer |
getPageNumber()
Returns the page number in the document of the search hit's context.
|
Integer |
getPageOffset()
Returns the offset from the beginning of the page of the starting character of the search hit's context line.
|
int |
hashCode() |
SearchContextHit |
highlight1Length(Integer highlight1Length) |
SearchContextHit |
highlight1Offset(Integer highlight1Offset) |
SearchContextHit |
highlight2Length(Integer highlight2Length) |
SearchContextHit |
highlight2Offset(Integer highlight2Offset) |
SearchContextHit |
hitNumber(Integer hitNumber) |
SearchContextHit |
hitType(HitType hitType) |
SearchContextHit |
hitWidth(Integer hitWidth) |
Boolean |
isAnnotationHit()
Returns a boolean indicating if this context hit occurs on an annotation.
|
SearchContextHit |
isAnnotationHit(Boolean isAnnotationHit) |
SearchContextHit |
pageNumber(Integer pageNumber) |
SearchContextHit |
pageOffset(Integer pageOffset) |
void |
setAnnotationId(Integer annotationId) |
void |
setContext(String context) |
void |
setEdocHitCount(Integer edocHitCount) |
void |
setFieldHitCount(Integer fieldHitCount) |
void |
setFieldName(String fieldName) |
void |
setHighlight1Length(Integer highlight1Length) |
void |
setHighlight1Offset(Integer highlight1Offset) |
void |
setHighlight2Length(Integer highlight2Length) |
void |
setHighlight2Offset(Integer highlight2Offset) |
void |
setHitNumber(Integer hitNumber) |
void |
setHitType(HitType hitType) |
void |
setHitWidth(Integer hitWidth) |
void |
setIsAnnotationHit(Boolean isAnnotationHit) |
void |
setPageNumber(Integer pageNumber) |
void |
setPageOffset(Integer pageOffset) |
String |
toString() |
public SearchContextHit hitType(HitType hitType)
public HitType getHitType()
public void setHitType(HitType hitType)
public SearchContextHit isAnnotationHit(Boolean isAnnotationHit)
public Boolean isAnnotationHit()
public void setIsAnnotationHit(Boolean isAnnotationHit)
public SearchContextHit annotationId(Integer annotationId)
public Integer getAnnotationId()
public void setAnnotationId(Integer annotationId)
public SearchContextHit pageNumber(Integer pageNumber)
public Integer getPageNumber()
public void setPageNumber(Integer pageNumber)
public SearchContextHit pageOffset(Integer pageOffset)
public Integer getPageOffset()
public void setPageOffset(Integer pageOffset)
public SearchContextHit context(String context)
public String getContext()
public void setContext(String context)
public SearchContextHit highlight1Offset(Integer highlight1Offset)
public Integer getHighlight1Offset()
public void setHighlight1Offset(Integer highlight1Offset)
public SearchContextHit highlight1Length(Integer highlight1Length)
public Integer getHighlight1Length()
public void setHighlight1Length(Integer highlight1Length)
public SearchContextHit highlight2Offset(Integer highlight2Offset)
public Integer getHighlight2Offset()
public void setHighlight2Offset(Integer highlight2Offset)
public SearchContextHit highlight2Length(Integer highlight2Length)
public Integer getHighlight2Length()
public void setHighlight2Length(Integer highlight2Length)
public SearchContextHit hitWidth(Integer hitWidth)
public Integer getHitWidth()
public void setHitWidth(Integer hitWidth)
public SearchContextHit edocHitCount(Integer edocHitCount)
public Integer getEdocHitCount()
public void setEdocHitCount(Integer edocHitCount)
public SearchContextHit fieldHitCount(Integer fieldHitCount)
public Integer getFieldHitCount()
public void setFieldHitCount(Integer fieldHitCount)
public SearchContextHit fieldName(String fieldName)
public String getFieldName()
public void setFieldName(String fieldName)
public SearchContextHit hitNumber(Integer hitNumber)
public Integer getHitNumber()
public void setHitNumber(Integer hitNumber)
Copyright © 2025. All rights reserved.