|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectantlr.BaseAST
antlr.CommonAST
org.makumba.providers.datadefinition.mdd.MDDNode
public class MDDNode
AST node that collects information for building a DataDefinition
Field Summary | |
---|---|
(package private) static String |
createName
|
protected String |
fieldNameInParent
name of the field in the parent MDD, if this is a ptrOne or setComplex |
protected LinkedHashMap<String,FieldNode> |
fields
|
protected LinkedHashMap<String,DataDefinition.QueryFragmentFunction> |
functions
|
protected String |
indexName
name of the index field |
protected boolean |
isFileSubfield
indicator if this is MDD is a file subfield |
(package private) static String |
modifyName
|
protected LinkedHashMap<Object,DataDefinition.MultipleUniqueKeyDefinition> |
multiFieldUniqueList
|
protected String |
name
name of the data definition |
protected URL |
origin
origin of the data definition |
protected String |
parent
name of the parent MDD of the subfield |
protected String |
ptrSubfield
name of the pointer to the subfield, for building names dynamically |
protected TitleFieldNode |
titleField
the title field |
protected LinkedHashMap<String,ValidationRule> |
validationRules
|
Fields inherited from class antlr.BaseAST |
---|
down, right |
Constructor Summary | |
---|---|
MDDNode(MDDNode parent,
String subFieldName)
constructor for the creation of subfields |
|
MDDNode(String name,
URL origin)
|
Method Summary | |
---|---|
void |
addField(FieldNode fi)
|
void |
addFunction(FunctionNode funct,
antlr.collections.AST parsedFunction)
|
void |
addMultiUniqueKey(DataDefinition.MultipleUniqueKeyDefinition definition)
|
void |
addValidationRule(ValidationRuleNode vn)
|
String |
getName()
|
void |
removeField(String name)
|
void |
setName(String name)
|
protected void |
setTitleField(TitleFieldNode title)
|
String |
toString()
|
Methods inherited from class antlr.CommonAST |
---|
getText, getType, initialize, initialize, initialize, setText, setType |
Methods inherited from class antlr.BaseAST |
---|
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getColumn, getFirstChild, getLine, getNextSibling, getNumberOfChildren, getTokenNames, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
static final String createName
static final String modifyName
protected String name
protected String ptrSubfield
protected String indexName
protected TitleFieldNode titleField
protected URL origin
protected String parent
protected String fieldNameInParent
protected boolean isFileSubfield
protected LinkedHashMap<String,FieldNode> fields
protected LinkedHashMap<String,ValidationRule> validationRules
protected LinkedHashMap<Object,DataDefinition.MultipleUniqueKeyDefinition> multiFieldUniqueList
protected LinkedHashMap<String,DataDefinition.QueryFragmentFunction> functions
Constructor Detail |
---|
public MDDNode(String name, URL origin)
public MDDNode(MDDNode parent, String subFieldName)
Method Detail |
---|
public void setName(String name)
public String getName()
protected void setTitleField(TitleFieldNode title)
public void addField(FieldNode fi)
public void removeField(String name)
public void addValidationRule(ValidationRuleNode vn)
public void addMultiUniqueKey(DataDefinition.MultipleUniqueKeyDefinition definition)
public void addFunction(FunctionNode funct, antlr.collections.AST parsedFunction)
public String toString()
toString
in interface antlr.collections.AST
toString
in class antlr.BaseAST
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |