com.ibm.j2ca.extension.emd.discovery.properties
Class WBIPropertyImpl
java.lang.Object
com.ibm.j2ca.extension.emd.discovery.properties.WBIPropertyDescriptorImpl
com.ibm.j2ca.extension.emd.discovery.properties.WBIPropertyImpl
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.EventListener, IVetoableChangeListenerImpl, commonj.connector.metadata.discovery.properties.Property, commonj.connector.metadata.discovery.properties.PropertyChangeListener, commonj.connector.metadata.discovery.properties.PropertyDescriptor
- Direct Known Subclasses:
- WBISingleTypedPropertyImpl
- public abstract class WBIPropertyImpl
- extends WBIPropertyDescriptorImpl
- implements commonj.connector.metadata.discovery.properties.Property
BaseProperty: an abstract implementation of the IProperty
interface.
Constructor Summary |
WBIPropertyImpl(java.lang.String propertyName)
Constructor for BaseProperty. |
Methods inherited from class com.ibm.j2ca.extension.emd.discovery.properties.WBIPropertyDescriptorImpl |
addPropertyChangeListener, addVetoablePropertyChangeListener, getDescription, getDisplayName, getName, isEnabled, propertyChange, removePropertyChangeListener, removeVetoablePropertyChangeListener, setDescription, setDisplayName, setEnabled, setName |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface commonj.connector.metadata.discovery.properties.Property |
unSet |
Methods inherited from interface commonj.connector.metadata.discovery.properties.PropertyDescriptor |
addPropertyChangeListener, getDescription, getDisplayName, getName, isEnabled, removePropertyChangeListener |
set
protected boolean set
valid
protected boolean valid
validationMessage
protected java.lang.String validationMessage
WBIPropertyImpl
public WBIPropertyImpl(java.lang.String propertyName)
throws commonj.connector.metadata.MetadataException
- Constructor for BaseProperty.
- Parameters:
propertyName
- -
the name of the property.
clone
public java.lang.Object clone()
- Specified by:
clone
in interface commonj.connector.metadata.discovery.properties.PropertyDescriptor
- Overrides:
clone
in class WBIPropertyDescriptorImpl
- See Also:
Object.clone()
getValidationMessage
public java.lang.String getValidationMessage()
- Specified by:
getValidationMessage
in interface commonj.connector.metadata.discovery.properties.Property
- See Also:
com.ibm.propertygroup.api.IProperty#getValidationMessage()
isSet
public boolean isSet()
- Specified by:
isSet
in interface commonj.connector.metadata.discovery.properties.Property
- Returns:
- Returns the set.
isValid
public boolean isValid()
- Specified by:
isValid
in interface commonj.connector.metadata.discovery.properties.Property
- See Also:
com.ibm.propertygroup.api.IProperty#isValid()
setSet
public void setSet(boolean set)
- Parameters:
set
- The set to set.
setValid
public void setValid(boolean isValid,
java.lang.String aValidationMessage)
setValidNoNotify
protected void setValidNoNotify(boolean isValid)