Class ConfigPropertyImpl
java.lang.Object
org.jboss.jca.common.metadata.spec.ConfigPropertyImpl
- All Implemented Interfaces:
Serializable,Cloneable,CopyableMetaData,JCAMetadata,ConfigProperty,IdDecoratedMetadata
A ConfigProperty.
- Author:
- Stefano Maestri, Jesper Pedersen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConfigPropertyImpl(List<LocalizedXsdString> description, XsdString configPropertyName, XsdString configPropertyType, XsdString configPropertyValue, Boolean configPropertyIgnore, Boolean configPropertySupportsDynamicUpdates, Boolean configPropertyConfidential, String id, boolean mandatory, String attachedClassName, String configPropertyIgnoreId, String configPropertySupportsDynamicUpdatesId, String configPropertyConfidentialId) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleangetId()inthashCode()booleanIs mandatorybooleanvoidsetMandatory(boolean v) Is the config-property mandatorytoString()
-
Constructor Details
-
ConfigPropertyImpl
public ConfigPropertyImpl(List<LocalizedXsdString> description, XsdString configPropertyName, XsdString configPropertyType, XsdString configPropertyValue, Boolean configPropertyIgnore, Boolean configPropertySupportsDynamicUpdates, Boolean configPropertyConfidential, String id, boolean mandatory, String attachedClassName, String configPropertyIgnoreId, String configPropertySupportsDynamicUpdatesId, String configPropertyConfidentialId) Constructor- Parameters:
description- list of descriptionsconfigPropertyName- name of the propertyconfigPropertyType- full qualified name of the type of the propertyconfigPropertyValue- valueconfigPropertyIgnore- not mandatory boolean value The element config-property-ignore is used to specify whether the configuration tools must ignore considering the configuration property during auto-discovery of Configuration properties. See the Connector specification for more details. If unspecified, the container must not ignore the configuration property during auto-discovery.configPropertySupportsDynamicUpdates- not mandatory The element config-property-supports-dynamic-updates is used to specify whether the configuration property allows its value to be updated, by application server's configuration tools, during the lifetime of the JavaBean instance. See the Connector specification for more details. If unspecified, the container must not dynamically reconfigure the property.configPropertyConfidential- The element config-property-confidential is used to specify whether the configuration property is confidential and recommends application server's configuration tools to use special visual aids for editing them. See the Connector specification for more details. If unspecified, the container must not treat the property as confidential.id- XML IDmandatory- Is the property mandatoryattachedClassName- className of the class where the property is defined by annoptationconfigPropertyIgnoreId- ID of configPropertyIgnore elementconfigPropertySupportsDynamicUpdatesId- ID of configPropertySupportsDynemycUpdates elementconfigPropertyConfidentialId- ID of configPropertyConfidential element
-
-
Method Details
-
getAttachedClassName
- Specified by:
getAttachedClassNamein interfaceConfigProperty
-
getConfigPropertyIgnore
- Specified by:
getConfigPropertyIgnorein interfaceConfigProperty
-
getConfigPropertySupportsDynamicUpdates
- Specified by:
getConfigPropertySupportsDynamicUpdatesin interfaceConfigProperty
-
getConfigPropertyConfidential
- Specified by:
getConfigPropertyConfidentialin interfaceConfigProperty
-
getConfigPropertyIgnoreId
- Specified by:
getConfigPropertyIgnoreIdin interfaceConfigProperty
-
getConfigPropertyConfidentialId
- Specified by:
getConfigPropertyConfidentialIdin interfaceConfigProperty
-
getConfigPropertySupportsDynamicUpdatesId
- Specified by:
getConfigPropertySupportsDynamicUpdatesIdin interfaceConfigProperty
-
getDescriptions
- Specified by:
getDescriptionsin interfaceConfigProperty
-
getConfigPropertyName
- Specified by:
getConfigPropertyNamein interfaceConfigProperty
-
getConfigPropertyType
- Specified by:
getConfigPropertyTypein interfaceConfigProperty
-
getConfigPropertyValue
- Specified by:
getConfigPropertyValuein interfaceConfigProperty
-
getId
- Specified by:
getIdin interfaceIdDecoratedMetadata
-
isValueSet
public boolean isValueSet()- Specified by:
isValueSetin interfaceConfigProperty
-
isMandatory
public boolean isMandatory()Is mandatory- Specified by:
isMandatoryin interfaceConfigProperty- Returns:
- The value
-
setMandatory
public void setMandatory(boolean v) Is the config-property mandatory- Parameters:
v- The value
-
copy
- Specified by:
copyin interfaceCopyableMetaData
-
hashCode
public int hashCode() -
equals
-
toString
-