com.ibm.j2ca.extension.emd.discovery.properties
Class WBIPropertyGroupImpl
java.lang.Object
com.ibm.j2ca.extension.emd.discovery.properties.WBIPropertyDescriptorImpl
com.ibm.j2ca.extension.emd.discovery.properties.WBIPropertyGroupImpl
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.EventListener, IVetoableChangeListenerImpl, commonj.connector.metadata.discovery.properties.PropertyChangeListener, commonj.connector.metadata.discovery.properties.PropertyDescriptor, commonj.connector.metadata.discovery.properties.PropertyGroup
- public class WBIPropertyGroupImpl
- extends WBIPropertyDescriptorImpl
- implements commonj.connector.metadata.discovery.properties.PropertyGroup
BasePropertyGroup: An base implementation of the IPropertyGroup
interface.
Constructor Summary |
WBIPropertyGroupImpl(java.lang.String groupName)
Constructor for BasePropertyGroup. |
Method Summary |
void |
addProperty(commonj.connector.metadata.discovery.properties.PropertyDescriptor property)
Adds a property to the group. |
java.lang.Object |
clone()
|
commonj.connector.metadata.discovery.properties.PropertyDescriptor[] |
getProperties()
|
commonj.connector.metadata.discovery.properties.PropertyDescriptor |
getProperty(java.lang.String propertyName)
|
void |
remove(commonj.connector.metadata.discovery.properties.PropertyDescriptor property)
removes a property from group. |
void |
removeAll()
Removes all the properties from the group |
void |
replaceAll(commonj.connector.metadata.discovery.properties.PropertyDescriptor[] newProperties)
|
void |
setEnabled(boolean enabled)
|
void |
vetoableChange(commonj.connector.metadata.discovery.properties.PropertyEvent evt)
|
Methods inherited from class com.ibm.j2ca.extension.emd.discovery.properties.WBIPropertyDescriptorImpl |
addPropertyChangeListener, addVetoablePropertyChangeListener, getDescription, getDisplayName, getName, isEnabled, propertyChange, removePropertyChangeListener, removeVetoablePropertyChangeListener, setDescription, setDisplayName, 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.PropertyDescriptor |
addPropertyChangeListener, getDescription, getDisplayName, getName, isEnabled, removePropertyChangeListener |
WBIPropertyGroupImpl
public WBIPropertyGroupImpl(java.lang.String groupName)
throws commonj.connector.metadata.MetadataException
- Constructor for BasePropertyGroup.
- Parameters:
groupName
- -
the Name of the property group.
addProperty
public void addProperty(commonj.connector.metadata.discovery.properties.PropertyDescriptor property)
- Adds a property to the group.
- Parameters:
property
- The property to add
clone
public java.lang.Object clone()
- Specified by:
clone
in interface commonj.connector.metadata.discovery.properties.PropertyDescriptor
- Overrides:
clone
in class WBIPropertyDescriptorImpl
- See Also:
WBIPropertyDescriptorImpl.clone()
getProperties
public commonj.connector.metadata.discovery.properties.PropertyDescriptor[] getProperties()
- Specified by:
getProperties
in interface commonj.connector.metadata.discovery.properties.PropertyGroup
- See Also:
com.ibm.propertygroup.api.IPropertyGroup#getProperties()
getProperty
public commonj.connector.metadata.discovery.properties.PropertyDescriptor getProperty(java.lang.String propertyName)
- Specified by:
getProperty
in interface commonj.connector.metadata.discovery.properties.PropertyGroup
- See Also:
com.ibm.propertygroup.api.IPropertyGroup#getProperty(String)
remove
public void remove(commonj.connector.metadata.discovery.properties.PropertyDescriptor property)
- removes a property from group.
- Parameters:
property
- The property to remove
removeAll
public void removeAll()
- Removes all the properties from the group
replaceAll
public void replaceAll(commonj.connector.metadata.discovery.properties.PropertyDescriptor[] newProperties)
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabled
in class WBIPropertyDescriptorImpl
- Parameters:
enabled
- The enabled to set.- See Also:
com.ibm.j2ca.extension.emd.properties.WBIPropertyDescriptorImpl#setEnabled(boolean)
vetoableChange
public void vetoableChange(commonj.connector.metadata.discovery.properties.PropertyEvent evt)
throws WBIPropertyVetoException
- Specified by:
vetoableChange
in interface IVetoableChangeListenerImpl
- Throws:
WBIPropertyVetoException