public class ConfiguredSettableInjectedAttribute<C extends ConfiguredObject,T> extends Object implements ConfiguredSettableAttribute<C,T>, ConfiguredObjectInjectedAttribute<C,T>
InjectedAttributeStatisticOrOperation.TypeValidator
Constructor and Description |
---|
ConfiguredSettableInjectedAttribute(String name,
Class<T> type,
Type genericType,
String defaultValue,
boolean secure,
boolean persisted,
boolean immutable,
String secureValueFilter,
boolean oversized,
String oversizedAltText,
String description,
String[] validValues,
InjectedAttributeStatisticOrOperation.TypeValidator typeValidator) |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesToConfiguredObjectType(Class<? extends ConfiguredObject<?>> type) |
T |
convert(Object value,
C object) |
String |
defaultValue() |
org.apache.qpid.server.model.AttributeValueConverter<T> |
getConverter() |
String |
getDescription() |
Type |
getGenericType() |
String |
getName() |
String |
getOversizedAltText() |
Pattern |
getSecureValueFilter() |
Class<T> |
getType() |
T |
getValue(C configuredObject) |
boolean |
hasValidValues()
Returns true iff this attribute has valid values defined
|
boolean |
isAutomated() |
boolean |
isDerived() |
boolean |
isImmutable() |
boolean |
isMandatory() |
boolean |
isOversized() |
boolean |
isPersisted() |
boolean |
isSecure() |
boolean |
isSecureValue(Object value) |
boolean |
updateAttributeDespiteUnchangedValue() |
Collection<String> |
validValues() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appliesToConfiguredObjectType
convert
getConverter, getGenericType, getName, getType
public ConfiguredSettableInjectedAttribute(String name, Class<T> type, Type genericType, String defaultValue, boolean secure, boolean persisted, boolean immutable, String secureValueFilter, boolean oversized, String oversizedAltText, String description, String[] validValues, InjectedAttributeStatisticOrOperation.TypeValidator typeValidator)
public boolean isAutomated()
isAutomated
in interface ConfiguredObjectAttribute<C extends ConfiguredObject,T>
public boolean isDerived()
isDerived
in interface ConfiguredObjectAttribute<C extends ConfiguredObject,T>
public String defaultValue()
defaultValue
in interface ConfiguredSettableAttribute<C extends ConfiguredObject,T>
public boolean isSecure()
isSecure
in interface ConfiguredObjectAttribute<C extends ConfiguredObject,T>
public boolean isMandatory()
isMandatory
in interface ConfiguredSettableAttribute<C extends ConfiguredObject,T>
public boolean isImmutable()
isImmutable
in interface ConfiguredSettableAttribute<C extends ConfiguredObject,T>
public boolean isPersisted()
isPersisted
in interface ConfiguredObjectAttribute<C extends ConfiguredObject,T>
public boolean isOversized()
isOversized
in interface ConfiguredObjectAttribute<C extends ConfiguredObject,T>
public boolean updateAttributeDespiteUnchangedValue()
updateAttributeDespiteUnchangedValue
in interface ConfiguredObjectAttribute<C extends ConfiguredObject,T>
public String getOversizedAltText()
getOversizedAltText
in interface ConfiguredObjectAttribute<C extends ConfiguredObject,T>
public String getDescription()
getDescription
in interface ConfiguredObjectAttribute<C extends ConfiguredObject,T>
public Pattern getSecureValueFilter()
getSecureValueFilter
in interface ConfiguredObjectAttribute<C extends ConfiguredObject,T>
public boolean isSecureValue(Object value)
isSecureValue
in interface ConfiguredObjectAttribute<C extends ConfiguredObject,T>
public Collection<String> validValues()
validValues
in interface ConfiguredSettableAttribute<C extends ConfiguredObject,T>
public boolean hasValidValues()
hasValidValues
in interface ConfiguredSettableAttribute<C extends ConfiguredObject,T>
public final T getValue(C configuredObject)
getValue
in interface ConfiguredObjectAttributeOrStatistic<C extends ConfiguredObject,T>
public final String getName()
getName
in interface ConfiguredObjectAttributeOrStatistic<C extends ConfiguredObject,T>
public final Class<T> getType()
getType
in interface ConfiguredObjectAttributeOrStatistic<C extends ConfiguredObject,T>
public final Type getGenericType()
getGenericType
in interface ConfiguredObjectAttributeOrStatistic<C extends ConfiguredObject,T>
public final org.apache.qpid.server.model.AttributeValueConverter<T> getConverter()
getConverter
in interface ConfiguredObjectAttributeOrStatistic<C extends ConfiguredObject,T>
public final boolean appliesToConfiguredObjectType(Class<? extends ConfiguredObject<?>> type)
appliesToConfiguredObjectType
in interface InjectedAttributeStatisticOrOperation<C extends ConfiguredObject>
public final T convert(Object value, C object)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.