public class CdmPersistentXMLSource
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CdmPersistentXMLSource.CdmSourceProperties
Enumeration containg all possible properties of all types of
CDM Sources
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CDMSOURCE_FILE_NAME
CDM sources config file name
|
static java.lang.String |
CDMSOURCE_PATH
Directory path of the template CDM sources config file - this file is used
in the case of the very first call to persist sources see
CdmApplicationUtils.getWritableResourceDir() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBeanName()
Returns the name of the bean Element in the cdm source xml config file.
|
java.util.List<org.jdom.Attribute> |
getCdmSourceAttributes()
Returns the list of attributes of this CDM source
that are defined in the cdm source xml config file.
|
java.util.Properties |
getCdmSourceProperties()
Returns the list of properties that are defined in the
cdm source xml config file.
|
java.lang.String |
getCdmSourceProperty(java.lang.String property)
Returns a defined property of the cdm source xml config file.
|
org.jdom.Element |
getElement()
Returns the loaded jDom element representing this object
|
static CdmPersistentXMLSource |
NewInstance(java.lang.String strDataSourceName,
java.lang.String postFix)
Constructor which uses the given CDM source name and post fix to initialze the
jDom element from the source config file.
|
public static final java.lang.String CDMSOURCE_FILE_NAME
public static final java.lang.String CDMSOURCE_PATH
CdmApplicationUtils.getWritableResourceDir()
public static final CdmPersistentXMLSource NewInstance(java.lang.String strDataSourceName, java.lang.String postFix)
strDataSourceName
- postFix
- public org.jdom.Element getElement()
public java.lang.String getBeanName()
public java.util.List<org.jdom.Attribute> getCdmSourceAttributes()
public java.lang.String getCdmSourceProperty(java.lang.String property)
public java.util.Properties getCdmSourceProperties()
Copyright © 2007-2020 EDIT. All Rights Reserved.