@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen") public class ContextHit extends Object
| Constructor and Description |
|---|
ContextHit() |
| Modifier and Type | Method and Description |
|---|---|
ContextHit |
annotationId(Integer annotationId) |
ContextHit |
context(String context) |
ContextHit |
edocHitCount(Integer edocHitCount) |
boolean |
equals(Object o) |
ContextHit |
fieldHitCount(Integer fieldHitCount) |
ContextHit |
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() |
ContextHit |
highlight1Length(Integer highlight1Length) |
ContextHit |
highlight1Offset(Integer highlight1Offset) |
ContextHit |
highlight2Length(Integer highlight2Length) |
ContextHit |
highlight2Offset(Integer highlight2Offset) |
ContextHit |
hitNumber(Integer hitNumber) |
ContextHit |
hitType(HitType hitType) |
ContextHit |
hitWidth(Integer hitWidth) |
Boolean |
isAnnotationHit()
Returns a boolean indicating if this context hit occurs on an annotation.
|
ContextHit |
isAnnotationHit(Boolean isAnnotationHit) |
ContextHit |
pageNumber(Integer pageNumber) |
ContextHit |
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 ContextHit hitType(HitType hitType)
public HitType getHitType()
public void setHitType(HitType hitType)
public ContextHit isAnnotationHit(Boolean isAnnotationHit)
public Boolean isAnnotationHit()
public void setIsAnnotationHit(Boolean isAnnotationHit)
public ContextHit annotationId(Integer annotationId)
public Integer getAnnotationId()
public void setAnnotationId(Integer annotationId)
public ContextHit pageNumber(Integer pageNumber)
public Integer getPageNumber()
public void setPageNumber(Integer pageNumber)
public ContextHit pageOffset(Integer pageOffset)
public Integer getPageOffset()
public void setPageOffset(Integer pageOffset)
public ContextHit context(String context)
public String getContext()
public void setContext(String context)
public ContextHit highlight1Offset(Integer highlight1Offset)
public Integer getHighlight1Offset()
public void setHighlight1Offset(Integer highlight1Offset)
public ContextHit highlight1Length(Integer highlight1Length)
public Integer getHighlight1Length()
public void setHighlight1Length(Integer highlight1Length)
public ContextHit highlight2Offset(Integer highlight2Offset)
public Integer getHighlight2Offset()
public void setHighlight2Offset(Integer highlight2Offset)
public ContextHit highlight2Length(Integer highlight2Length)
public Integer getHighlight2Length()
public void setHighlight2Length(Integer highlight2Length)
public ContextHit hitWidth(Integer hitWidth)
public Integer getHitWidth()
public void setHitWidth(Integer hitWidth)
public ContextHit edocHitCount(Integer edocHitCount)
public Integer getEdocHitCount()
public void setEdocHitCount(Integer edocHitCount)
public ContextHit fieldHitCount(Integer fieldHitCount)
public Integer getFieldHitCount()
public void setFieldHitCount(Integer fieldHitCount)
public ContextHit fieldName(String fieldName)
public String getFieldName()
public void setFieldName(String fieldName)
public ContextHit hitNumber(Integer hitNumber)
public Integer getHitNumber()
public void setHitNumber(Integer hitNumber)
Copyright © 2025. All rights reserved.