public class ParameterType extends Object implements com.google.gwt.user.client.rpc.IsSerializable
| Constructor and Description |
|---|
ParameterType() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getEnumConstants() |
String |
getName() |
boolean |
isEnum() |
void |
setEnumConstants(Map<String,String> enumConstants)
Sets the values that can be assigned to parameter of this type.
|
void |
setName(String name)
Sets the parameter type name.
|
public String getName()
public void setName(String name)
name - the new name for this parameter typepublic boolean isEnum()
true if this type is an enumeration, i.e. its values are explicitly specified, false
otherwisepublic Map<String,String> getEnumConstants()
Copyright © 2004–2015 XWiki. All rights reserved.