PermaLink How cool: Lotusscript classes can inherit from other classes03/21/2005
Lotusscript
I just verified this in the Lotus Domino Designer Help db. I never new this. I've created Lotusscript classes before, but never ones that inherited from other classes. Of course, I didn't have a need to explore this further until I finished the specs for a new application. The application will have four request types:
  • New Hire Request
  • Application/System Change Request
  • Employee Information Change Request
  • Termination Notice

Each request type will spawn from one to fifteen individual task documents. Since there will be substantial overlap between the request types and the tasks, using class inheritance will make it possible for me to treat a request object like the supertype in in some instances and like a subtype in other instances. The same will also hold true for the tasks. Best yet, I won't need to create duplicate versions of subroutines and functions in other script libraries. (For those of you who are familliar with object-oriented programming concepts, I forgive you for yawning.)

The only thing I wish Lotusscript would let you do is override class members. For example, you can only define one constructor (in either the superclass or a subclass). And you can't redefine a class variable in a subclass. Also, you can't have two methods with the same name, even if the method signature is different. Because of this, I don't think Lotusscript is really an object-oriented language. But, for my needs, it should be adequate. http://www.jchq.net/index.htm
Comments :v
No comments.
Credits
NuTechs Powered by Domino
Search
Calendar
February 2012
Su
Mo
Tu
We
Th
Fr
Sa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Monthly Archive
Get Real, Detroit!
Real Detroit Weekly
SWARM
Service
With
A
Rapid
Motion


-- old Rally's Hamburgers credo
Lotus Domino ND6 RSS News Feed RSS Comments Feed Podcast Feed Geo URL netcraft RSS Validator Lotus Geek Chris. A. Brandlehner Open Notes Picture Database OpenNTF CoComment Integrated BlogSphere
By Category
The BlogRoll
About
Contact Me
Contact me, Michael Sobczak, using this e-mail address:

my first initial my last name at Yahoo dot com
Recent Entries
No Recent Blogs
Powered by
Blogsphere