public class XFTDataModel extends Object
Modifier and Type | Field and Description |
---|---|
String |
db |
String |
fileLocation |
String |
fileName |
String |
packageName |
XFTSchema |
schema |
Constructor and Description |
---|
XFTDataModel() |
Modifier and Type | Method and Description |
---|---|
String |
getDb()
ID of the DB which this schema uses.
|
ArrayList |
getElementNames()
Returns the local xml names of each element specified in this schema.
|
String |
getFileLocation()
Location of the schema file.
|
String |
getFileName()
name of the schema file (will be used to uniquely identify the schema).
|
String |
getFolderName() |
String |
getFullFileSpecification()
returns the fileLocation + fileName
|
String |
getPackageName() |
XFTSchema |
getSchema()
if the schema has been populated it is returned, else it is populated and returned.
|
String |
getSchemaAbbr()
schema's target namespace prefix
|
String |
getURI()
schema's target namespace URI
|
void |
setDb(String string) |
void |
setFileLocation(String string) |
void |
setFileName(String string) |
void |
setPackageName(String packageName) |
void |
setSchema() |
void |
setSchema(XFTSchema s) |
String |
toString() |
public String db
public String fileLocation
public String fileName
public String packageName
public XFTSchema schema
public String getDb()
public ArrayList getElementNames()
public String getFileLocation()
getFullFileSpecification()
public String getFileName()
public String getFullFileSpecification()
public String getFolderName()
public XFTSchema getSchema()
public String getSchemaAbbr()
public String getURI()
public void setDb(String string)
string
- public void setFileLocation(String string)
string
- public void setFileName(String string)
string
- public void setSchema() throws XFTInitException, ElementNotFoundException
schema
- XFTInitException
ElementNotFoundException
public void setSchema(XFTSchema s)
schema
- public String getPackageName()
public void setPackageName(String packageName)
packageName
- The packageName to set.Copyright © 2015 Neuroinformatics Research Group. All rights reserved.