Class ConfigPropertyImpl
- java.lang.Object
-
- org.jboss.jca.common.metadata.spec.ConfigPropertyImpl
-
- All Implemented Interfaces:
Serializable,Cloneable,CopyableMetaData,JCAMetadata,ConfigProperty,IdDecoratedMetadata
public class ConfigPropertyImpl extends Object implements ConfigProperty
A ConfigProperty.- Author:
- Stefano Maestri, Jesper Pedersen
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CopyableMetaDatacopy()booleanequals(Object obj)StringgetAttachedClassName()BooleangetConfigPropertyConfidential()StringgetConfigPropertyConfidentialId()BooleangetConfigPropertyIgnore()StringgetConfigPropertyIgnoreId()XsdStringgetConfigPropertyName()BooleangetConfigPropertySupportsDynamicUpdates()StringgetConfigPropertySupportsDynamicUpdatesId()XsdStringgetConfigPropertyType()XsdStringgetConfigPropertyValue()List<LocalizedXsdString>getDescriptions()StringgetId()inthashCode()booleanisMandatory()Is mandatorybooleanisValueSet()voidsetMandatory(boolean v)Is the config-property mandatoryStringtoString()
-
-
-
Constructor Detail
-
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 Detail
-
getAttachedClassName
public String getAttachedClassName()
- Specified by:
getAttachedClassNamein interfaceConfigProperty
-
getConfigPropertyIgnore
public Boolean getConfigPropertyIgnore()
- Specified by:
getConfigPropertyIgnorein interfaceConfigProperty
-
getConfigPropertySupportsDynamicUpdates
public Boolean getConfigPropertySupportsDynamicUpdates()
- Specified by:
getConfigPropertySupportsDynamicUpdatesin interfaceConfigProperty
-
getConfigPropertyConfidential
public Boolean getConfigPropertyConfidential()
- Specified by:
getConfigPropertyConfidentialin interfaceConfigProperty
-
getConfigPropertyIgnoreId
public String getConfigPropertyIgnoreId()
- Specified by:
getConfigPropertyIgnoreIdin interfaceConfigProperty
-
getConfigPropertyConfidentialId
public String getConfigPropertyConfidentialId()
- Specified by:
getConfigPropertyConfidentialIdin interfaceConfigProperty
-
getConfigPropertySupportsDynamicUpdatesId
public String getConfigPropertySupportsDynamicUpdatesId()
- Specified by:
getConfigPropertySupportsDynamicUpdatesIdin interfaceConfigProperty
-
getDescriptions
public List<LocalizedXsdString> getDescriptions()
- Specified by:
getDescriptionsin interfaceConfigProperty
-
getConfigPropertyName
public XsdString getConfigPropertyName()
- Specified by:
getConfigPropertyNamein interfaceConfigProperty
-
getConfigPropertyType
public XsdString getConfigPropertyType()
- Specified by:
getConfigPropertyTypein interfaceConfigProperty
-
getConfigPropertyValue
public XsdString getConfigPropertyValue()
- Specified by:
getConfigPropertyValuein interfaceConfigProperty
-
getId
public String 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
public CopyableMetaData copy()
- Specified by:
copyin interfaceCopyableMetaData
-
-