public class ScriptAttributeImpl extends org.apache.lucene.util.AttributeImpl implements ScriptAttribute, Cloneable, Serializable
ScriptAttribute that stores the script
as an integer.| Constructor and Description |
|---|
ScriptAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
copyTo(org.apache.lucene.util.AttributeImpl target) |
boolean |
equals(Object other) |
int |
getCode()
Get the numeric code for this script value.
|
String |
getName()
Get the full name.
|
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 String getName()
ScriptAttributegetName in interface ScriptAttributepublic 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 void reflectWith(org.apache.lucene.util.AttributeReflector reflector)
reflectWith in class org.apache.lucene.util.AttributeImplCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.