public class DataChannelDescriptor extends Object implements ConfigurationNode, Serializable, XMLSerializable
| Modifier and Type | Field and Description | 
|---|---|
| protected Resource | configurationSource | 
| protected Collection<DataMap> | dataMaps | 
| protected String | defaultNodeName | 
| protected String | name | 
| protected Collection<DataNodeDescriptor> | nodeDescriptors | 
| protected Map<String,String> | properties | 
| Constructor and Description | 
|---|
| DataChannelDescriptor() | 
| Modifier and Type | Method and Description | 
|---|---|
| <T> T | acceptVisitor(ConfigurationNodeVisitor<T> visitor) | 
| void | encodeAsXML(XMLEncoder encoder)Prints itself as XML to the provided XMLEncoder. | 
| Resource | getConfigurationSource() | 
| DataMap | getDataMap(String name) | 
| Collection<DataMap> | getDataMaps() | 
| String | getDefaultNodeName()Returns the name of the DataNode that should be used as the default if a
 DataMap is not explicitly linked to a node. | 
| String | getName() | 
| DataNodeDescriptor | getNodeDescriptor(String name) | 
| Collection<DataNodeDescriptor> | getNodeDescriptors() | 
| Map<String,String> | getProperties() | 
| void | setConfigurationSource(Resource configurationSource) | 
| void | setDefaultNodeName(String defaultDataNodeName) | 
| void | setName(String name) | 
protected String name
protected Collection<DataMap> dataMaps
protected Collection<DataNodeDescriptor> nodeDescriptors
protected transient Resource configurationSource
protected String defaultNodeName
public void encodeAsXML(XMLEncoder encoder)
XMLSerializableencodeAsXML in interface XMLSerializablepublic <T> T acceptVisitor(ConfigurationNodeVisitor<T> visitor)
acceptVisitor in interface ConfigurationNodepublic String getName()
public void setName(String name)
public Collection<DataMap> getDataMaps()
public Collection<DataNodeDescriptor> getNodeDescriptors()
public DataNodeDescriptor getNodeDescriptor(String name)
public Resource getConfigurationSource()
public void setConfigurationSource(Resource configurationSource)
public String getDefaultNodeName()
public void setDefaultNodeName(String defaultDataNodeName)
Copyright © 2001–2023 Apache Cayenne. All rights reserved.