Class ConfigPropertyImpl

java.lang.Object
org.jboss.jca.common.metadata.spec.ConfigPropertyImpl
All Implemented Interfaces:
Serializable, Cloneable, org.jboss.jca.common.api.metadata.CopyableMetaData, org.jboss.jca.common.api.metadata.JCAMetadata, org.jboss.jca.common.api.metadata.spec.ConfigProperty, org.jboss.jca.common.api.metadata.spec.IdDecoratedMetadata

public class ConfigPropertyImpl extends Object implements org.jboss.jca.common.api.metadata.spec.ConfigProperty
A ConfigProperty.
Author:
Stefano Maestri, Jesper Pedersen
See Also:
  • Constructor Details

    • ConfigPropertyImpl

      public ConfigPropertyImpl(List<org.jboss.jca.common.api.metadata.spec.LocalizedXsdString> description, org.jboss.jca.common.api.metadata.spec.XsdString configPropertyName, org.jboss.jca.common.api.metadata.spec.XsdString configPropertyType, org.jboss.jca.common.api.metadata.spec.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 descriptions
      configPropertyName - name of the property
      configPropertyType - full qualified name of the type of the property
      configPropertyValue - value
      configPropertyIgnore - 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 ID
      mandatory - Is the property mandatory
      attachedClassName - className of the class where the property is defined by annoptation
      configPropertyIgnoreId - ID of configPropertyIgnore element
      configPropertySupportsDynamicUpdatesId - ID of configPropertySupportsDynemycUpdates element
      configPropertyConfidentialId - ID of configPropertyConfidential element
  • Method Details

    • getAttachedClassName

      public String getAttachedClassName()
      Specified by:
      getAttachedClassName in interface org.jboss.jca.common.api.metadata.spec.ConfigProperty
    • getConfigPropertyIgnore

      public Boolean getConfigPropertyIgnore()
      Specified by:
      getConfigPropertyIgnore in interface org.jboss.jca.common.api.metadata.spec.ConfigProperty
    • getConfigPropertySupportsDynamicUpdates

      public Boolean getConfigPropertySupportsDynamicUpdates()
      Specified by:
      getConfigPropertySupportsDynamicUpdates in interface org.jboss.jca.common.api.metadata.spec.ConfigProperty
    • getConfigPropertyConfidential

      public Boolean getConfigPropertyConfidential()
      Specified by:
      getConfigPropertyConfidential in interface org.jboss.jca.common.api.metadata.spec.ConfigProperty
    • getConfigPropertyIgnoreId

      public String getConfigPropertyIgnoreId()
      Specified by:
      getConfigPropertyIgnoreId in interface org.jboss.jca.common.api.metadata.spec.ConfigProperty
    • getConfigPropertyConfidentialId

      public String getConfigPropertyConfidentialId()
      Specified by:
      getConfigPropertyConfidentialId in interface org.jboss.jca.common.api.metadata.spec.ConfigProperty
    • getConfigPropertySupportsDynamicUpdatesId

      public String getConfigPropertySupportsDynamicUpdatesId()
      Specified by:
      getConfigPropertySupportsDynamicUpdatesId in interface org.jboss.jca.common.api.metadata.spec.ConfigProperty
    • getDescriptions

      public List<org.jboss.jca.common.api.metadata.spec.LocalizedXsdString> getDescriptions()
      Specified by:
      getDescriptions in interface org.jboss.jca.common.api.metadata.spec.ConfigProperty
    • getConfigPropertyName

      public org.jboss.jca.common.api.metadata.spec.XsdString getConfigPropertyName()
      Specified by:
      getConfigPropertyName in interface org.jboss.jca.common.api.metadata.spec.ConfigProperty
    • getConfigPropertyType

      public org.jboss.jca.common.api.metadata.spec.XsdString getConfigPropertyType()
      Specified by:
      getConfigPropertyType in interface org.jboss.jca.common.api.metadata.spec.ConfigProperty
    • getConfigPropertyValue

      public org.jboss.jca.common.api.metadata.spec.XsdString getConfigPropertyValue()
      Specified by:
      getConfigPropertyValue in interface org.jboss.jca.common.api.metadata.spec.ConfigProperty
    • getId

      public String getId()
      Specified by:
      getId in interface org.jboss.jca.common.api.metadata.spec.IdDecoratedMetadata
    • isValueSet

      public boolean isValueSet()
      Specified by:
      isValueSet in interface org.jboss.jca.common.api.metadata.spec.ConfigProperty
    • isMandatory

      public boolean isMandatory()
      Is mandatory
      Specified by:
      isMandatory in interface org.jboss.jca.common.api.metadata.spec.ConfigProperty
      Returns:
      The value
    • setMandatory

      public void setMandatory(boolean v)
      Is the config-property mandatory
      Parameters:
      v - The value
    • copy

      public org.jboss.jca.common.api.metadata.CopyableMetaData copy()
      Specified by:
      copy in interface org.jboss.jca.common.api.metadata.CopyableMetaData
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object