@Deprecated public class SourceData extends Object implements Serializable
The source attribute name and an optional default value to use if a document doesn't have an attribute of that name.
Constructor and Description |
---|
SourceData()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
String |
getDefaultValue()
Deprecated.
The default value to use if the source attribute is not specified in a
document.
|
String |
getSourceName()
Deprecated.
The name of the document source field to add to this
IndexField . |
int |
hashCode()
Deprecated.
|
void |
setDefaultValue(String defaultValue)
Deprecated.
The default value to use if the source attribute is not specified in a
document.
|
void |
setSourceName(String sourceName)
Deprecated.
The name of the document source field to add to this
IndexField . |
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
SourceData |
withDefaultValue(String defaultValue)
Deprecated.
The default value to use if the source attribute is not specified in a
document.
|
SourceData |
withSourceName(String sourceName)
Deprecated.
The name of the document source field to add to this
IndexField . |
public String getSourceName()
IndexField
.
Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*
IndexField
.public void setSourceName(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 SourceData withSourceName(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 String getDefaultValue()
Constraints:
Length: 0 - 1024
public void setDefaultValue(String defaultValue)
Constraints:
Length: 0 - 1024
defaultValue
- The default value to use if the source attribute is not specified in a
document. Optional.public SourceData withDefaultValue(String defaultValue)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
defaultValue
- The default value to use if the source attribute is not specified in a
document. Optional.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.