com.ibm.j2ca.extension.emd.discovery.properties
Class WBIPropertyImpl

java.lang.Object
  extended bycom.ibm.j2ca.extension.emd.discovery.properties.WBIPropertyDescriptorImpl
      extended bycom.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.


Field Summary
protected  boolean set
           
protected  boolean valid
           
protected  java.lang.String validationMessage
           
 
Fields inherited from class com.ibm.j2ca.extension.emd.discovery.properties.WBIPropertyDescriptorImpl
enabled, propertyChanges, surrogateList, vetoableChanges
 
Constructor Summary
WBIPropertyImpl(java.lang.String propertyName)
          Constructor for BaseProperty.
 
Method Summary
 java.lang.Object clone()
           
 java.lang.String getValidationMessage()
           
 boolean isSet()
           
 boolean isValid()
           
 void setSet(boolean set)
           
 void setValid(boolean isValid, java.lang.String aValidationMessage)
           
protected  void setValidNoNotify(boolean isValid)
           
 
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
 
Methods inherited from interface com.ibm.j2ca.extension.emd.discovery.properties.IVetoableChangeListenerImpl
vetoableChange
 

Field Detail

set

protected boolean set

valid

protected boolean valid

validationMessage

protected java.lang.String validationMessage
Constructor Detail

WBIPropertyImpl

public WBIPropertyImpl(java.lang.String propertyName)
                throws commonj.connector.metadata.MetadataException
Constructor for BaseProperty.

Parameters:
propertyName - - the name of the property.
Method Detail

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)