public class MultiplexMappingDefinition extends java.lang.Object
| Constructor and Description |
|---|
MultiplexMappingDefinition(java.lang.Class baseClass,
java.lang.String attributeName,
MultiplexMappingEntry[] entries)
Creates a new mapping definition.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAttributeName()
Returns the attribute name.
|
java.lang.Class |
getBaseClass()
Returns the class.
|
MultiplexMappingEntry |
getEntryForClass(java.lang.String clazz)
Returns a mapping entry for a class.
|
MultiplexMappingEntry |
getEntryForType(java.lang.String type)
Returns a mapping entry for a type.
|
public MultiplexMappingDefinition(java.lang.Class baseClass, java.lang.String attributeName, MultiplexMappingEntry[] entries)
baseClass - the class.attributeName - the attribute name.entries - the entries.public java.lang.String getAttributeName()
public java.lang.Class getBaseClass()
public MultiplexMappingEntry getEntryForType(java.lang.String type)
type - the type.public MultiplexMappingEntry getEntryForClass(java.lang.String clazz)
clazz - the class.