JAMS Developer Guide
BasePublicObject Class Members
Properties  Methods  Events


MVPSI.JAMS Namespace : BasePublicObject Class

The following tables list the members exposed by BasePublicObject.

Public Properties
 NameDescription
Public PropertyGets an error message that describes the errors in the object.  
Public PropertyThe HasErrors property can be used to determine if the object has any errors. If the object needs to be validated, it is done before returning.  
Public PropertyIs this object in the middle of an edit?  
Public PropertyReturns any error messages currently associated with this column.  
Public PropertyThe Modified property keeps track of modified state of this object. You cannot set the Modified property. If you modify the object, the modified property will be true until you end or cancel the update.  
Public PropertyThe NewObject property indicates that this object has just been created and has never been saved on a JAMS Server.  
Public PropertyThe Validated property keeps track of the validation state of this object. If the object has been modified, Validated will be false until the object has been successfully validated by the Validate method.  
Top
Public Methods
 NameDescription
Public MethodStarts an edit of this object.  
Public MethodCancels an edit of this object.  
Public Methodstatic (Shared in Visual Basic)Checks the server's version against the one specified.  
Public MethodClears the error message for a property.  
Public MethodClearModified is designed to be used internally and should not be called from end-user code. Call Update() which saves the modifications and then calls ClearModified.  
Public MethodEnds an edit of this object. Any changes are saved.  
Public MethodSets the error message for a property.  
Public MethodMarks the object as modified.  
Public MethodUndo changes.  
Public MethodSave the changes to the object.  
Public MethodThe Validate method is a virtual method used to validate the object. The default implantation does no validation it simply marks the object as valid.  
Top
Protected Methods
 NameDescription
Protected MethodAttempts to raise the PropertyChanged event  
Protected MethodAttempts to raise the PropertyChanging event  
Protected MethodSaveOriginal is called when an edit is about to begin. You override this method to save the original values.  
Top
Public Events
 NameDescription
Public EventEvent Handler for Property Changed Event  
Public EventEvent Handler for Property Changing Event  
Top
See Also

Reference

BasePublicObject Class
MVPSI.JAMS Namespace