Package org.apache.cayenne.configuration
Class DataChannelDescriptor
java.lang.Object
org.apache.cayenne.configuration.DataChannelDescriptor
- All Implemented Interfaces:
Serializable,ConfigurationNode,XMLSerializable
public class DataChannelDescriptor
extends Object
implements ConfigurationNode, Serializable, XMLSerializable
A descriptor of a DataChannel normally loaded from XML configuration.
- Since:
- 3.1
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TacceptVisitor(ConfigurationNodeVisitor<T> visitor) voidencodeAsXML(XMLEncoder encoder, ConfigurationNodeVisitor<?> delegate) Prints itself as XML to the provided XMLEncoder.getDataMap(String name) getName()voidsetConfigurationSource(Resource configurationSource) void
-
Field Details
-
SCHEMA_XSD
The namespace in which the data map XML file will be created.- See Also:
-
SCHEMA_XSD_LOCATION
- See Also:
-
name
-
properties
-
dataMaps
-
configurationSource
-
-
Constructor Details
-
DataChannelDescriptor
public DataChannelDescriptor()
-
-
Method Details
-
encodeAsXML
Description copied from interface:XMLSerializablePrints itself as XML to the provided XMLEncoder.- Specified by:
encodeAsXMLin interfaceXMLSerializable
-
acceptVisitor
- Specified by:
acceptVisitorin interfaceConfigurationNode
-
getName
-
setName
-
getProperties
-
getDataMaps
-
getDataMap
-
getConfigurationSource
-
setConfigurationSource
-