@Api(allMethods=true) public class PrimitiveAttributeInfo extends AbstractEditableAttributeInfo implements IsInfo
| Constructor and Description |
|---|
PrimitiveAttributeInfo()
No-arguments constructor.
|
PrimitiveAttributeInfo(String name,
String label,
PrimitiveType type)
Creates an attribute information for the specified primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
getType()
Get type for the value of the attribute.
|
void |
setType(PrimitiveType type)
Set type for the value of the attribute.
|
getValidator, isEditable, setEditable, setValidatorgetLabel, isHidden, isIdentifying, setHidden, setIdentifying, setLabelgetFormInputType, isIncludedInForm, setFormInputType, setIncludedInFormgetName, setNamepublic PrimitiveAttributeInfo()
public PrimitiveAttributeInfo(String name, String label, PrimitiveType type)
name - attribute namelabel - attribute labeltype - the primitive typepublic PrimitiveType getType()
public void setType(PrimitiveType type)
type - typeCopyright © 2015 Geosparc. All Rights Reserved.