Package com.nomagic.uml2.ext.jmi
Class ModelPropertyChangeListeners.ListenerContainer
- java.lang.Object
-
- com.nomagic.uml2.ext.jmi.OptimizedForSingleValueSet<java.beans.PropertyChangeListener>
-
- com.nomagic.uml2.ext.jmi.ModelPropertyChangeListeners.ListenerContainer
-
- Enclosing class:
- ModelPropertyChangeListeners
public class ModelPropertyChangeListeners.ListenerContainer extends OptimizedForSingleValueSet<java.beans.PropertyChangeListener>
-
-
Constructor Summary
Constructors Constructor Description ListenerContainer(javax.jmi.reflect.RefObject element, java.lang.String propertyName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.jmi.reflect.RefObject
getElement()
java.lang.String
getPropertyName()
protected java.beans.PropertyChangeListener[]
newArray(int length)
boolean
remove(java.beans.PropertyChangeListener listener)
Remove object from set-
Methods inherited from class com.nomagic.uml2.ext.jmi.OptimizedForSingleValueSet
add, isEmpty, toArray
-
-
-
-
Method Detail
-
newArray
protected java.beans.PropertyChangeListener[] newArray(int length)
- Specified by:
newArray
in classOptimizedForSingleValueSet<java.beans.PropertyChangeListener>
-
getPropertyName
@CheckForNull public java.lang.String getPropertyName()
-
getElement
@CheckForNull public javax.jmi.reflect.RefObject getElement()
-
remove
public boolean remove(java.beans.PropertyChangeListener listener)
Description copied from class:OptimizedForSingleValueSet
Remove object from set- Overrides:
remove
in classOptimizedForSingleValueSet<java.beans.PropertyChangeListener>
- Parameters:
listener
- object- Returns:
- true if object was removed from the set
-
-