Package com.peterphi.carbon.type.mutable
Class CarbonModule
java.lang.Object
com.peterphi.carbon.type.XMLWrapper
com.peterphi.carbon.type.mutable.CarbonModule
- Direct Known Subclasses:
CarbonDestination
,CarbonSource
-
Field Summary
Fields inherited from class com.peterphi.carbon.type.XMLWrapper
element
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the ModuleData element (if present)Get the ModuleData element, creating it if necessaryprotected org.jdom2.Element
void
setModuleGUID
(String value) void
setPresetGUID
(String value) Methods inherited from class com.peterphi.carbon.type.XMLWrapper
getAttribute, getElement, getElement, setAttribute
-
Constructor Details
-
CarbonModule
public CarbonModule(org.jdom2.Element element)
-
-
Method Details
-
setPresetGUID
-
getPresetGUID
-
setModuleGUID
-
getModuleGUID
-
getModuleData
Get the ModuleData element (if present)- Returns:
-
getOrCreateModuleData
Get the ModuleData element, creating it if necessary- Returns:
-
getOrCreateModuleDataElement
protected org.jdom2.Element getOrCreateModuleDataElement()
-