public class Category extends Object
get
method.Modifier and Type | Field and Description |
---|---|
protected String |
id |
protected static String |
LONG_NAME_SUFFIX |
protected String |
longName |
protected static ResourceBundle |
names |
protected static String |
SHORT_NAME_SUFFIX |
protected String |
shortName |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Category |
get(String id)
Get the part of speech attribute value with the given id.
|
String |
getId() |
String |
getLongName()
Long name or explanation of this value.
|
protected ResourceBundle |
getNames()
Return the resource bundle from which the attribute value names will be fetched.
|
protected String |
getResourcePrefix()
Return a string which will be used as prefix to the resource key.
|
String |
getShortName()
Short or abbreviated name of this value.
|
protected void |
setNames()
Load the short and long name from the resources.
|
String |
toString() |
protected static final ResourceBundle names
protected static final String SHORT_NAME_SUFFIX
protected static final String LONG_NAME_SUFFIX
protected String id
protected String shortName
protected String longName
public static Category get(String id)
MissingResourceException
- if the id is not defined.protected ResourceBundle getNames()
protected String getResourcePrefix()
protected void setNames()
public String getId()
public String getShortName()
CategoryAttributeValue
getShortName
in interface CategoryAttributeValue
public String getLongName()
CategoryAttributeValue
getLongName
in interface CategoryAttributeValue
Copyright © 2001-2013 the JGloss developers. All Rights Reserved.