eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Author':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Author


Inheritance:

   Object
   |
   +--Author

Package:
stx:libcompat
Category:
Compatibility-Squeak
Version:
rev: 1.17 date: 2023/10/31 11:06:17
user: cg
file: Author.st directory: libcompat
module: stx stc-classLibrary: libcompat

Description:


DO NOT DIRECTLY REFER TO THIS CLASS OR USE IT OTHERWISE IN YOUR CODE:

This is a dummy, mimicry class to allow some squeak code to be filed in.
Its protocol is neither complete, nor fully compatible with the corresponding
squeak original class.

copyright

COPYRIGHT (c) 2011 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

convenience
o  fullName
(comment from inherited method)
Answer the name of the receiver, fully qualified.

o  fullName: aString

o  fullNamePerSe

o  initials

o  initials: aString

o  requestFullName

instance creation
o  new
(comment from inherited method)
return an instance of myself without indexed variables

o  reset

o  uniqueInstance

o  uniqueInstance: anInstance
Needed by AuthorTest to restore saved instance

testing-support
o  useAuthor: aString during: aBlock

utilities
o  changeStamp
Answer a string to be pasted into source code to mark who changed it and when.

o  changeStampPerSe
Answer a string to be pasted into source code to mark who changed it and when.

o  fixStamp: changeStamp
Put initials first in all time stamps...

Usage example(s):

     self fixStamp:'aaa bbb ccc'  => 'ccc aaa bbb'
     self fixStamp:'aaa bbb 123'  => 'aaa bbb 123'


Instance protocol:

accessing
o  fullName

o  fullName: aString

o  fullNamePerSe
Answer the currently-prevailing author full name, such as it is, empty or not

compatibility
o  ifUnknownAuthorUse: aString during: aBlock
If no author is set use the name aString while executing aBlock.

o  reset

initialization
o  initialize
(comment from inherited method)
just to ignore initialize to objects which do not need it

testing-support
o  useAuthor: aString during: aBlock

ui-requests
o  messagePrompt

o  requestFullName
Modified (format): / 03-06-2023 / 12:01:05 / cg



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 21 Jul 2024 23:44:25 GMT