com.ibm.j2ca.extension.emd.discovery.properties
Class WBISingleValuedPropertyImpl
java.lang.Object
com.ibm.j2ca.extension.emd.discovery.properties.WBIPropertyDescriptorImpl
com.ibm.j2ca.extension.emd.discovery.properties.WBIPropertyImpl
com.ibm.j2ca.extension.emd.discovery.properties.WBISingleTypedPropertyImpl
com.ibm.j2ca.extension.emd.discovery.properties.WBISingleValuedPropertyImpl
- 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, commonj.connector.metadata.discovery.properties.SingleTypedProperty, commonj.connector.metadata.discovery.properties.SingleValuedProperty
- Direct Known Subclasses:
- BiDiSinglePropertyImpl, WBIFileProperty, WBIFolderProperty
- public class WBISingleValuedPropertyImpl
- extends WBISingleTypedPropertyImpl
- implements commonj.connector.metadata.discovery.properties.SingleValuedProperty
BaseSingleValuedProperty: A base implementation of a property that is single
valued.
Field Summary |
protected java.lang.Object |
value
|
Constructor Summary |
WBISingleValuedPropertyImpl(java.lang.String propertyName,
java.lang.Class propertyType)
Constructor for BaseSingleValuedProperty. |
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.SingleTypedProperty |
getPropertyType |
Methods inherited from interface commonj.connector.metadata.discovery.properties.Property |
getValidationMessage, isSet, isValid |
Methods inherited from interface commonj.connector.metadata.discovery.properties.PropertyDescriptor |
addPropertyChangeListener, getDescription, getDisplayName, getName, isEnabled, removePropertyChangeListener |
value
protected java.lang.Object value
WBISingleValuedPropertyImpl
public WBISingleValuedPropertyImpl(java.lang.String propertyName,
java.lang.Class propertyType)
throws commonj.connector.metadata.MetadataException
- Constructor for BaseSingleValuedProperty.
- Parameters:
propertyName
- -
The name of the property.propertyType
- -
the Java type of the property.
clone
public java.lang.Object clone()
- This is just the default clone. Subclasses should override.
- Specified by:
clone
in interface commonj.connector.metadata.discovery.properties.PropertyDescriptor
- Overrides:
clone
in class WBISingleTypedPropertyImpl
- See Also:
Object.clone()
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interface commonj.connector.metadata.discovery.properties.SingleValuedProperty
- See Also:
ISingleValuedProperty#getValue()
getValueAsString
public java.lang.String getValueAsString()
- Specified by:
getValueAsString
in interface commonj.connector.metadata.discovery.properties.SingleValuedProperty
- See Also:
com.ibm.propertygroup.api.ISingleValuedProperty#getValueAsString()
setValue
public void setValue(java.lang.Object newValue)
throws commonj.connector.metadata.MetadataException
- Specified by:
setValue
in interface commonj.connector.metadata.discovery.properties.SingleValuedProperty
- Throws:
commonj.connector.metadata.MetadataException
- See Also:
ISingleValuedProperty#setValue(Object)
setValueAsString
public void setValueAsString(java.lang.String newValue)
throws commonj.connector.metadata.MetadataException
- Specified by:
setValueAsString
in interface commonj.connector.metadata.discovery.properties.SingleValuedProperty
- Throws:
commonj.connector.metadata.MetadataException
unSet
public void unSet()
- Specified by:
unSet
in interface commonj.connector.metadata.discovery.properties.Property
vetoableChange
public void vetoableChange(commonj.connector.metadata.discovery.properties.PropertyEvent evt)
throws WBIPropertyVetoException
- Specified by:
vetoableChange
in interface IVetoableChangeListenerImpl
- Throws:
WBIPropertyVetoException