public class ConfigPropertyImpl extends java.lang.Object implements ConfigProperty
Constructor and Description |
---|
ConfigPropertyImpl(java.util.List<LocalizedXsdString> description,
XsdString configPropertyName,
XsdString configPropertyType,
XsdString configPropertyValue,
java.lang.Boolean configPropertyIgnore,
java.lang.Boolean configPropertySupportsDynamicUpdates,
java.lang.Boolean configPropertyConfidential,
java.lang.String id,
boolean mandatory,
java.lang.String attachedClassName,
java.lang.String configPropertyIgnoreId,
java.lang.String configPropertySupportsDynamicUpdatesId,
java.lang.String configPropertyConfidentialId)
Constructor
|
Modifier and Type | Method and Description |
---|---|
CopyableMetaData |
copy()
Creates and returns a copy of this object.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAttachedClassName()
Get the attached classname
|
java.lang.Boolean |
getConfigPropertyConfidential() |
java.lang.String |
getConfigPropertyConfidentialId()
Get the confidential id
|
java.lang.Boolean |
getConfigPropertyIgnore() |
java.lang.String |
getConfigPropertyIgnoreId()
Get the ignore id
|
XsdString |
getConfigPropertyName() |
java.lang.Boolean |
getConfigPropertySupportsDynamicUpdates() |
java.lang.String |
getConfigPropertySupportsDynamicUpdatesId()
Get the supports dynamic id
|
XsdString |
getConfigPropertyType() |
XsdString |
getConfigPropertyValue() |
java.util.List<LocalizedXsdString> |
getDescriptions() |
java.lang.String |
getId()
Return the String representing xml ID
|
int |
hashCode() |
boolean |
isMandatory()
Is mandatory
|
boolean |
isValueSet()
convenient method t verify if the value has already been set
|
void |
setMandatory(boolean v)
Is the config-property mandatory
|
java.lang.String |
toString() |
public ConfigPropertyImpl(java.util.List<LocalizedXsdString> description, XsdString configPropertyName, XsdString configPropertyType, XsdString configPropertyValue, java.lang.Boolean configPropertyIgnore, java.lang.Boolean configPropertySupportsDynamicUpdates, java.lang.Boolean configPropertyConfidential, java.lang.String id, boolean mandatory, java.lang.String attachedClassName, java.lang.String configPropertyIgnoreId, java.lang.String configPropertySupportsDynamicUpdatesId, java.lang.String configPropertyConfidentialId)
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 elementpublic java.lang.String getAttachedClassName()
getAttachedClassName
in interface ConfigProperty
public java.lang.Boolean getConfigPropertyIgnore()
getConfigPropertyIgnore
in interface ConfigProperty
public java.lang.Boolean getConfigPropertySupportsDynamicUpdates()
getConfigPropertySupportsDynamicUpdates
in interface ConfigProperty
public java.lang.Boolean getConfigPropertyConfidential()
getConfigPropertyConfidential
in interface ConfigProperty
public java.lang.String getConfigPropertyIgnoreId()
getConfigPropertyIgnoreId
in interface ConfigProperty
public java.lang.String getConfigPropertyConfidentialId()
getConfigPropertyConfidentialId
in interface ConfigProperty
public java.lang.String getConfigPropertySupportsDynamicUpdatesId()
getConfigPropertySupportsDynamicUpdatesId
in interface ConfigProperty
public java.util.List<LocalizedXsdString> getDescriptions()
getDescriptions
in interface ConfigProperty
public XsdString getConfigPropertyName()
getConfigPropertyName
in interface ConfigProperty
public XsdString getConfigPropertyType()
getConfigPropertyType
in interface ConfigProperty
public XsdString getConfigPropertyValue()
getConfigPropertyValue
in interface ConfigProperty
public java.lang.String getId()
getId
in interface IdDecoratedMetadata
public boolean isValueSet()
isValueSet
in interface ConfigProperty
public boolean isMandatory()
isMandatory
in interface ConfigProperty
public void setMandatory(boolean v)
v
- The valuepublic CopyableMetaData copy()
copy
in interface CopyableMetaData
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)