public interface EntityViewConfiguration
Modifier and Type | Method and Description |
---|---|
EntityViewConfiguration |
addEntityView(Class<?> clazz)
Adds the given class to the set of known entity views.
|
EntityViewConfiguration |
addProperties(Properties extraProperties)
Add the given properties to the properties of the configuration.
|
EntityViewManager |
createEntityViewManager()
Creates a new entity view manager from this configuration.
|
Set<Class<?>> |
getEntityViews()
Returns the currently known entity views.
|
Properties |
getProperties()
Returns all properties.
|
String |
getProperty(String propertyName)
Returns a property value by name.
|
EntityViewConfiguration |
mergeProperties(Properties properties)
Adds the given properties to the properties of the configuration, without overriding existing values.
|
EntityViewConfiguration |
setProperties(Properties properties)
Replace the properties of the configuration with the given properties.
|
EntityViewConfiguration |
setProperty(String propertyName,
String value)
Set a property value by name.
|
EntityViewConfiguration addEntityView(Class<?> clazz)
clazz
- The class to be addedEntityViewManager createEntityViewManager()
Set<Class<?>> getEntityViews()
Properties getProperties()
String getProperty(String propertyName)
propertyName
- The name of the propertyEntityViewConfiguration setProperties(Properties properties)
properties
- The new set of propertiesEntityViewConfiguration addProperties(Properties extraProperties)
extraProperties
- The properties to add.EntityViewConfiguration mergeProperties(Properties properties)
properties
- The properties to mergeEntityViewConfiguration setProperty(String propertyName, String value)
propertyName
- The name of the property to setvalue
- The new property valueCopyright © 2015 Blazebit. All Rights Reserved.