public class FieldIndexingLimit
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
fieldName |
int |
maxNbWords |
Constructor and Description |
---|
FieldIndexingLimit() |
FieldIndexingLimit(FieldIndexingLimit o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this FieldIndexingLimit.
|
static FieldIndexingLimit |
fromString(java.lang.String s)
String representation of this FieldIndexingLimit.
|
java.lang.String |
getFieldName()
Field to limit.
|
int |
getMaxNbWords()
Maximum number of words for this field.
|
FieldIndexingLimit |
makeCopy()
Creates and returns a deep copy of this FieldIndexingLimit.
|
static FieldIndexingLimit |
readFrom(java.io.InputStream is)
Read this FieldIndexingLimit from an XML fragment.
|
void |
setFieldName(java.lang.String fieldName)
Field to limit.
|
void |
setMaxNbWords(int maxNbWords)
Maximum number of words for this field.
|
java.lang.String |
toString()
String representation of this FieldIndexingLimit.
|
FieldIndexingLimit |
withFieldName(java.lang.String fieldName) |
FieldIndexingLimit |
withMaxNbWords(int maxNbWords) |
FieldIndexingLimit |
withMaxNbWords(java.lang.Integer maxNbWords) |
void |
writeTo(java.io.OutputStream os)
Write this FieldIndexingLimit as an XML fragment
|
public FieldIndexingLimit()
public FieldIndexingLimit(FieldIndexingLimit o)
public void setFieldName(java.lang.String fieldName)
public java.lang.String getFieldName()
public FieldIndexingLimit withFieldName(java.lang.String fieldName)
public void setMaxNbWords(int maxNbWords)
public int getMaxNbWords()
public FieldIndexingLimit withMaxNbWords(int maxNbWords)
public FieldIndexingLimit withMaxNbWords(java.lang.Integer maxNbWords)
public FieldIndexingLimit makeCopy()
public static FieldIndexingLimit readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static FieldIndexingLimit fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.