public class SourceDataTrimTitle
extends java.lang.Object
implements java.io.Serializable
Specifies how to trim common words from the beginning of a field to enable title sorting by that field.
| コンストラクタと説明 |
|---|
SourceDataTrimTitle() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDefaultValue()
The value of a field or source document attribute.
|
java.lang.String |
getLanguage()
An IETF RFC 4646
language code.
|
java.lang.String |
getSeparator()
The separator that follows the text to trim.
|
java.lang.String |
getSourceName()
The name of the document source field to add to this
IndexField. |
int |
hashCode() |
void |
setDefaultValue(java.lang.String defaultValue)
The value of a field or source document attribute.
|
void |
setLanguage(java.lang.String language)
An IETF RFC 4646
language code.
|
void |
setSeparator(java.lang.String separator)
The separator that follows the text to trim.
|
void |
setSourceName(java.lang.String sourceName)
The name of the document source field to add to this
IndexField. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SourceDataTrimTitle |
withDefaultValue(java.lang.String defaultValue)
The value of a field or source document attribute.
|
SourceDataTrimTitle |
withLanguage(java.lang.String language)
An IETF RFC 4646
language code.
|
SourceDataTrimTitle |
withSeparator(java.lang.String separator)
The separator that follows the text to trim.
|
SourceDataTrimTitle |
withSourceName(java.lang.String sourceName)
The name of the document source field to add to this
IndexField. |
public java.lang.String getSourceName()
IndexField.
Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*
IndexField.public void setSourceName(java.lang.String sourceName)
IndexField.
Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*
sourceName - The name of the document source field to add to this
IndexField.public SourceDataTrimTitle withSourceName(java.lang.String sourceName)
IndexField.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*
sourceName - The name of the document source field to add to this
IndexField.public java.lang.String getDefaultValue()
Constraints:
Length: 0 - 1024
public void setDefaultValue(java.lang.String defaultValue)
Constraints:
Length: 0 - 1024
defaultValue - The value of a field or source document attribute.public SourceDataTrimTitle withDefaultValue(java.lang.String defaultValue)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
defaultValue - The value of a field or source document attribute.public java.lang.String getSeparator()
public void setSeparator(java.lang.String separator)
separator - The separator that follows the text to trim.public SourceDataTrimTitle withSeparator(java.lang.String separator)
Returns a reference to this object so that method calls can be chained together.
separator - The separator that follows the text to trim.public java.lang.String getLanguage()
Constraints:
Pattern: [a-zA-Z]{2,8}(?:-[a-zA-Z]{2,8})*
public void setLanguage(java.lang.String language)
Constraints:
Pattern: [a-zA-Z]{2,8}(?:-[a-zA-Z]{2,8})*
language - An IETF RFC 4646
language code. Only the primary language is considered. English (en)
is currently the only supported language.public SourceDataTrimTitle withLanguage(java.lang.String language)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [a-zA-Z]{2,8}(?:-[a-zA-Z]{2,8})*
language - An IETF RFC 4646
language code. Only the primary language is considered. English (en)
is currently the only supported language.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object