public class XmlImportable extends Object implements org.sakaiproject.importer.api.Importable
TODO This would subclass AbstractImportable if AbstractImportable was bumped up to the importer.api package for looser coupling. Currently, the AbstractImportable JAR brings in unrelated dependencies such as the QTI class.
| Constructor and Description |
|---|
XmlImportable() |
XmlImportable(String typeName,
String xmlData)
Create an importable object in one line.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContextPath() |
String |
getGuid() |
String |
getLegacyGroup() |
org.sakaiproject.importer.api.Importable |
getParent() |
String |
getTypeName() |
String |
getXmlData() |
void |
setContextPath(String contextPath) |
void |
setGuid(String guid) |
void |
setLegacyGroup(String legacyGroup) |
void |
setParent(org.sakaiproject.importer.api.Importable parent) |
void |
setTypeName(String typeName) |
void |
setXmlData(String xmlData)
Since this class doesn't parse the data, this property could easily be renamed
"setDataDescription" and this class renamed "StringImportable".
|
public String getTypeName()
getTypeName in interface org.sakaiproject.importer.api.Importablepublic void setTypeName(String typeName)
public String getXmlData()
public void setXmlData(String xmlData)
xmlData - public org.sakaiproject.importer.api.Importable getParent()
getParent in interface org.sakaiproject.importer.api.Importablepublic void setParent(org.sakaiproject.importer.api.Importable parent)
setParent in interface org.sakaiproject.importer.api.Importablepublic String getGuid()
getGuid in interface org.sakaiproject.importer.api.Importablepublic void setGuid(String guid)
public String getLegacyGroup()
getLegacyGroup in interface org.sakaiproject.importer.api.Importablepublic void setLegacyGroup(String legacyGroup)
setLegacyGroup in interface org.sakaiproject.importer.api.Importablepublic String getContextPath()
getContextPath in interface org.sakaiproject.importer.api.Importablepublic void setContextPath(String contextPath)
setContextPath in interface org.sakaiproject.importer.api.ImportableCopyright © 2003-2014 Sakai Project. All Rights Reserved.