public class XFTDataField extends XFTField
SequenceComparator
Constructor and Description |
---|
XFTDataField(Node node,
String header,
String prefix,
XFTSchema s,
XFTNode parent)
Used to construct and populate a Data Field from the supplied node.
|
Modifier and Type | Method and Description |
---|---|
XFTField |
clone(XFTElement e,
boolean accessLayers) |
static XFTDataField |
GetEmptyField()
Constructs an empty data field.
|
static XFTDataField |
GetEmptyKey(String prefix,
XFTSchema s)
Constructs a new empty primary key field.
|
String |
getId() |
String |
getName()
local xml name of the field.
|
String |
getSQLName()
If this field has a specified sql name, it is returned (lower case).
|
String |
getXMLSqlNameValue()
If this field has a specified sql name it is returned, Else an empty string is returned.
|
XMLType |
getXMLType()
XMLType of the field (i.e.
|
void |
setName(String string) |
void |
setProperties(Node node,
String prefix,
XFTSchema s) |
void |
setXMLType(XMLType t) |
String |
toString() |
String |
toString(String header) |
Document |
toXML() |
Node |
toXML(Document doc) |
void |
validateSQLName()
Validates the SQL name of the field.
|
addChildField, AddField, AddField, displayAttribute, getBaseCol, getBaseElement, getChildFields, getDescription, getDisplayName, GetElementCount, getExpose, GetFields, getFinalSqlName, getFixed, getFullName, getMaxOccurs, getMinOccurs, getPreventLoop, GetRefName, getRelation, getRequired, getRule, getSequence, getSize, getSortedFields, getSqlField, getUnique, getUniqueComposite, getUse, getWebAppField, getXmlDisplay, getXmlOnly, HandleComplexType, hasAttributes, hasBase, hasChildren, isAttribute, isExtension, isFilter, isLocalMap, isOnlyRoot, isPossibleLoop, IsRefOnly, setAttribute, setBaseCol, setBaseElement, setChildFields, setDescription, setDisplayName, setExpose, setExtension, setFilter, setFinalSqlName, setFixed, setFullName, setLocalMap, setMaxOccurs, setMinOccurs, setOnDelete, setOnlyRoot, setPossibleLoop, setPreventLoop, setPrimaryKey, setRelation, setRequired, setRule, setSequence, setSize, setSqlField, setUnique, setUniqueComposite, setUse, setWebAppField, setXmlDisplay, setXmlOnly
getAbsoluteParent, getParent, getParentElement, hasParent, setParent
public XFTDataField(Node node, String header, String prefix, XFTSchema s, XFTNode parent)
node
- corresponding XML Nodeheader
- header used for full name specificationprefix
- of schema XMLNSs
- parent schemapublic void validateSQLName()
public String getXMLSqlNameValue()
public String getSQLName()
public String getName()
public XMLType getXMLType()
getXMLType
in class XFTField
public void setName(String string)
public void setXMLType(XMLType t)
setXMLType
in class XFTField
string
- public Document toXML()
public static XFTDataField GetEmptyKey(String prefix, XFTSchema s)
prefix
- XMLNS prefixs
- parent Schemapublic static XFTDataField GetEmptyField()
public XFTField clone(XFTElement e, boolean accessLayers)
public String getId()
Copyright © 2015 Neuroinformatics Research Group. All rights reserved.