public class ScriptAttributeImpl extends org.apache.lucene.util.AttributeImpl implements ScriptAttribute, java.lang.Cloneable
ScriptAttribute that stores the script as an integer.| Constructor and Description |
|---|
ScriptAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
ScriptAttributeImpl |
clone() |
void |
copyTo(org.apache.lucene.util.AttributeImpl target) |
boolean |
equals(java.lang.Object other) |
int |
getCode()
Get the numeric code for this script value.
|
java.lang.String |
getName()
Get the full name.
|
java.lang.String |
getShortName()
Get the abbreviated name.
|
int |
hashCode() |
void |
reflectWith(org.apache.lucene.util.AttributeReflector reflector) |
void |
setCode(int code)
Set the numeric code for this script value.
|
public int getCode()
ScriptAttributeUScript.getCode in interface ScriptAttributepublic void setCode(int code)
ScriptAttributeUScript.setCode in interface ScriptAttributecode - numeric codepublic java.lang.String getName()
ScriptAttributegetName in interface ScriptAttributepublic java.lang.String getShortName()
ScriptAttributegetShortName in interface ScriptAttributepublic void clear()
clear in class org.apache.lucene.util.AttributeImplpublic void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo in class org.apache.lucene.util.AttributeImplpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic ScriptAttributeImpl clone()
clone in class org.apache.lucene.util.AttributeImplpublic int hashCode()
hashCode in class java.lang.Objectpublic void reflectWith(org.apache.lucene.util.AttributeReflector reflector)
reflectWith in class org.apache.lucene.util.AttributeImpl