public class MultiplexMappingDefinition extends Object
Constructor and Description |
---|
MultiplexMappingDefinition(Class baseClass,
String attributeName,
MultiplexMappingEntry[] entries)
Creates a new mapping definition.
|
Modifier and Type | Method and Description |
---|---|
String |
getAttributeName()
Returns the attribute name.
|
Class |
getBaseClass()
Returns the class.
|
MultiplexMappingEntry |
getEntryForClass(String clazz)
Returns a mapping entry for a class.
|
MultiplexMappingEntry |
getEntryForType(String type)
Returns a mapping entry for a type.
|
public MultiplexMappingDefinition(Class baseClass, String attributeName, MultiplexMappingEntry[] entries)
baseClass
- the class.attributeName
- the attribute name.entries
- the entries.public String getAttributeName()
public Class getBaseClass()
public MultiplexMappingEntry getEntryForType(String type)
type
- the type.public MultiplexMappingEntry getEntryForClass(String clazz)
clazz
- the class.Copyright © 2001–2018 JFree.org. All rights reserved.