Class CarbonModule

java.lang.Object
com.peterphi.carbon.type.XMLWrapper
com.peterphi.carbon.type.mutable.CarbonModule
Direct Known Subclasses:
CarbonDestination, CarbonSource

public class CarbonModule extends XMLWrapper
  • Constructor Details

    • CarbonModule

      public CarbonModule(org.jdom2.Element element)
  • Method Details

    • setPresetGUID

      public void setPresetGUID(String value)
    • getPresetGUID

      public String getPresetGUID()
    • setModuleGUID

      public void setModuleGUID(String value)
    • getModuleGUID

      public String getModuleGUID()
    • getModuleData

      public CarbonModuleData getModuleData()
      Get the ModuleData element (if present)
      Returns:
    • getOrCreateModuleData

      public CarbonModuleData getOrCreateModuleData()
      Get the ModuleData element, creating it if necessary
      Returns:
    • getOrCreateModuleDataElement

      protected org.jdom2.Element getOrCreateModuleDataElement()