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:
- 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
| Methods inherited from class org.nakedobjects.applib.events.InteractionEvent |
advised, getAdvisorClass, getClassName, getClassNaturalName, getIdentifier, getMemberName, getMemberNaturalName, getMemberParameterNames, getMemberParameterNaturalNames, getReason, isVeto |
ParseValueEvent
public ParseValueEvent(Object source,
Identifier classIdentifier,
String proposed)
getSource
public 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 String getProposed()
- Specified by:
getProposed in interface ProposedHolderEvent
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.