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()
ScriptAttribute
UScript
.getCode
in interface ScriptAttribute
public void setCode(int code)
ScriptAttribute
UScript
.setCode
in interface ScriptAttribute
code
- numeric codepublic java.lang.String getName()
ScriptAttribute
getName
in interface ScriptAttribute
public java.lang.String getShortName()
ScriptAttribute
getShortName
in interface ScriptAttribute
public void clear()
clear
in class org.apache.lucene.util.AttributeImpl
public void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo
in class org.apache.lucene.util.AttributeImpl
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public ScriptAttributeImpl clone()
clone
in class org.apache.lucene.util.AttributeImpl
public int hashCode()
hashCode
in class java.lang.Object
public void reflectWith(org.apache.lucene.util.AttributeReflector reflector)
reflectWith
in class org.apache.lucene.util.AttributeImpl