public class ClassicMapping<T extends ClassicMapping<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClassicMapping.ClassicMappingResources
Child mutators for ClassicMapping
|
Constructor and Description |
---|
ClassicMapping() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
T |
mappingModule(MappingModule value)
Add the MappingModule object to the list of subresources
|
T |
mappingModule(MappingModuleSupplier supplier)
Install a supplied MappingModule object to the list of subresources
|
T |
mappingModule(String childKey)
Create and configure a MappingModule object to the list of subresources
|
T |
mappingModule(String childKey,
MappingModuleConsumer consumer)
Create and configure a MappingModule object to the list of subresources
|
T |
mappingModules(List<MappingModule> value)
Add all MappingModule objects to this subresource
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
ClassicMapping.ClassicMappingResources |
subresources() |
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public ClassicMapping.ClassicMappingResources subresources()
public T mappingModules(List<MappingModule> value)
value
- List of MappingModule objects.public T mappingModule(MappingModule value)
value
- The MappingModule to addpublic T mappingModule(String childKey, MappingModuleConsumer consumer)
key
- The key for the MappingModule resourceconfig
- The MappingModuleConsumer to usepublic T mappingModule(String childKey)
key
- The key for the MappingModule resourcepublic T mappingModule(MappingModuleSupplier supplier)
Copyright © 2018 JBoss by Red Hat. All rights reserved.