org.nakedobjects.applib.events
Class ParseValueEvent
java.lang.Object
java.util.EventObject
org.nakedobjects.applib.events.InteractionEvent
org.nakedobjects.applib.events.ValidityEvent
org.nakedobjects.applib.events.ParseValueEvent
- All Implemented Interfaces:
- java.io.Serializable, ProposedHolderEvent
public class ParseValueEvent
- extends ValidityEvent
- implements ProposedHolderEvent
Represents a check as to whether the proposed values of the value type is valid.
If InteractionEvent.getReason() is not null then provides the reason why the proposed value is invalid,
otherwise the new value is acceptable.
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Method Summary |
java.lang.String |
getProposed()
|
java.lang.Object |
getSource()
Will be the source provided in the constructor
if not null, otherwise will fallback to the proposed value. |
| Methods inherited from class org.nakedobjects.applib.events.InteractionEvent |
advised, getAdvisorClass, getClassName, getClassNaturalName, getIdentifier, getMemberName, getMemberNaturalName, getMemberParameterNames, getMemberParameterNaturalNames, getReason, isVeto |
| Methods inherited from class java.util.EventObject |
toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParseValueEvent
public ParseValueEvent(java.lang.Object source,
Identifier classIdentifier,
java.lang.String proposed)
getSource
public java.lang.Object getSource()
- Will be the source provided in the
constructor
if not null, otherwise will fallback to the proposed value.
- Overrides:
getSource in class ValidityEvent
getProposed
public java.lang.String getProposed()
- Specified by:
getProposed in interface ProposedHolderEvent
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.