org.makumba.providers.datadefinition.mdd
Class FieldNode
java.lang.Object
antlr.BaseAST
antlr.CommonAST
org.makumba.providers.datadefinition.mdd.MDDAST
org.makumba.providers.datadefinition.mdd.FieldNode
- All Implemented Interfaces:
- antlr.collections.AST, Serializable
public class FieldNode
- extends MDDAST
AST node that collects information about a MDD field
- Version:
- $Id: FieldNode.java,v 1.1 May 3, 2009 6:14:27 PM manu Exp $
- Author:
- Manuel Gay
- See Also:
- Serialized Form
Fields inherited from class antlr.BaseAST |
down, right |
Methods inherited from class antlr.CommonAST |
getText, getType, initialize, setText, setType |
Methods inherited from class antlr.BaseAST |
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
mdd
protected MDDNode mdd
name
protected String name
description
protected String description
unknownType
protected String unknownType
defaultValue
protected transient Object defaultValue
fixed
protected boolean fixed
notNull
protected boolean notNull
notEmpty
protected boolean notEmpty
unique
protected boolean unique
notNullError
protected String notNullError
NaNError
protected String NaNError
uniqueError
protected String uniqueError
notEmptyError
protected String notEmptyError
notIntError
protected String notIntError
notRealError
protected String notRealError
notBooleanError
protected String notBooleanError
intEnumValues
protected LinkedHashMap<Integer,String> intEnumValues
intEnumValuesDeprecated
protected LinkedHashMap<Integer,String> intEnumValuesDeprecated
charEnumValues
protected Vector<String> charEnumValues
charEnumValuesDeprecated
protected Vector<String> charEnumValuesDeprecated
charLength
protected int charLength
pointedType
protected String pointedType
subfield
protected MDDNode subfield
validationRules
protected Hashtable<String,ValidationRule> validationRules
FieldNode
public FieldNode(MDDNode mdd,
String name)
FieldNode
public FieldNode(MDDNode mdd,
String name,
antlr.collections.AST originAST)
- Constructor for FieldNode, originAST being an AST used for giving context to errors
getName
public String getName()
addIntEnumValue
public void addIntEnumValue(int index,
String text)
addIntEnumValueDeprecated
public void addIntEnumValueDeprecated(int index,
String text)
addCharEnumValue
public void addCharEnumValue(String text)
addCharEnumValueDeprecated
public void addCharEnumValueDeprecated(String text)
initSubfield
public MDDNode initSubfield()
initSetSubfield
public void initSetSubfield()
toString
public String toString()
- Specified by:
toString
in interface antlr.collections.AST
- Overrides:
toString
in class antlr.BaseAST