| org.apache.geronimo.naming.deployment.jsr88.HasPattern
All known Subclasses: org.apache.geronimo.naming.deployment.jsr88.MessageDestination, org.apache.geronimo.naming.deployment.jsr88.EjbRef, org.apache.geronimo.naming.deployment.jsr88.EjbLocalRef, org.apache.geronimo.naming.deployment.jsr88.ResourceRef, org.apache.geronimo.naming.deployment.jsr88.ResourceEnvRef, org.apache.geronimo.naming.deployment.jsr88.GBeanLocator,
HasPattern | public class HasPattern extends XmlBeanSupport (Code) | | Represents an element in a Geronimo dployment plan that has a child
of type Pattern. This handles patterns that are a member of a choice as
well as singleton patterns.
Has 1 JavaBean Properties
- pattern (type Pattern)
version: $Rev: 476049 $ $Date: 2006-11-16 20:35:17 -0800 (Thu, 16 Nov 2006) $ |
Method Summary | |
protected void | clearNonPatternFromChoice() Should be overridden to remove any non-pattern elements if this
element has a pattern that's part of a choice. | protected void | clearPatternFromChoice() Should be called to remove any pattern child element if the pattern is
part of a choice and some other element in the choice was set to a
non-null value. | protected GerPatternType | findPattern() Gets the pattern child of this element, or null if there is none. | public Pattern | getPattern() JavaBean getter for the Pattern property. | public void | setPattern(Pattern group) JavaBean setter for the Pattern property. |
HasPattern | public HasPattern()(Code) | | |
HasPattern | public HasPattern(XmlObject xmlObject)(Code) | | |
clearNonPatternFromChoice | protected void clearNonPatternFromChoice()(Code) | | Should be overridden to remove any non-pattern elements if this
element has a pattern that's part of a choice. If this is called, it
means a non-null Pattern is in the process of being set. This method
should fire property change events on any elements it removes.
|
clearPatternFromChoice | protected void clearPatternFromChoice()(Code) | | Should be called to remove any pattern child element if the pattern is
part of a choice and some other element in the choice was set to a
non-null value. This will clear the pattern and send a property change
event on the "pattern" property if the pattern was set.
|
findPattern | protected GerPatternType findPattern()(Code) | | Gets the pattern child of this element, or null if there is none.
|
getPattern | public Pattern getPattern()(Code) | | JavaBean getter for the Pattern property. Gets a JavaBean of type
Pattern for the pattern child of this element, or null if there is no
pattern child.
|
setPattern | public void setPattern(Pattern group)(Code) | | JavaBean setter for the Pattern property. Calls the helper
clearNonPatternFromChoice if a non-null Pattern is set.
|
|
|