public abstract class BaseAttributeDefinitionFactoryBean extends AbstractResolutionPluginFactoryBean
Constructor and Description |
---|
BaseAttributeDefinitionFactoryBean() |
Modifier and Type | Method and Description |
---|---|
List<AttributeEncoder> |
getAttributeEncoders()
Gets the encoders for the attributes.
|
Map<Locale,String> |
getDisplayDescriptions()
Gets the localized human readable description of attribute.
|
Map<Locale,String> |
getDisplayNames()
Gets the localized human readable name of the attribute.
|
String |
getSourceAttributeId()
Gets the ID of the attribute that serves as the source of information for the attribute definition.
|
boolean |
isDependencyOnly()
Gets whether attributes produced by the definition should be released outside the resolver.
|
protected void |
populateAttributeDefinition(BaseAttributeDefinition definition)
Populates the attribute definition with information from this factory.
|
void |
setAttributeEncoders(List<AttributeEncoder> encoders)
Sets the encoders for the attributes.
|
void |
setDependencyOnly(boolean isDependencyOnly)
Sets whether attributes produced by the definition should be released outside the resolver.
|
void |
setDisplayDescriptions(Map<Locale,String> descriptions)
Sets the human readable description of attribute.
|
void |
setDisplayNames(Map<Locale,String> names)
Sets the human readable name of the attribute.
|
void |
setSourceAttributeId(String id)
Sets the ID of the attribute that serves as the source of information for the attribute definition.
|
getDependencyIds, getPluginId, setDependencyIds, setPluginId
afterPropertiesSet, createInstance, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, getObjectType, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
public List<AttributeEncoder> getAttributeEncoders()
public Map<Locale,String> getDisplayDescriptions()
public Map<Locale,String> getDisplayNames()
public String getSourceAttributeId()
public boolean isDependencyOnly()
protected void populateAttributeDefinition(BaseAttributeDefinition definition)
definition
- attribute definition to populatepublic void setAttributeEncoders(List<AttributeEncoder> encoders)
encoders
- encoders for the attributespublic void setDependencyOnly(boolean isDependencyOnly)
isDependencyOnly
- whether attributes produced by the definition should be released outside the resolverpublic void setDisplayDescriptions(Map<Locale,String> descriptions)
descriptions
- human readable descriptions of attributepublic void setDisplayNames(Map<Locale,String> names)
names
- human readable names of the attributepublic void setSourceAttributeId(String id)
id
- ID of the attribute that serves as the source of information for the attribute definitionCopyright © 1999–2014. All rights reserved.