A B C D E F G H I K L M N O P Q R S T U V W X 
All Classes All Packages

A

AbstractConsoleServer - Class in de.calamanari.pk.util
This abstract class can be sub-classed to easily create simple servers running on the console.
Several TEMPLATE METHODs allow to define the concrete logic and to control the behavior in subclasses.
AbstractConsoleServer(String) - Constructor for class de.calamanari.pk.util.AbstractConsoleServer
Creates new server without starting it yet.
AbstractConsoleServer.ServerState - Enum in de.calamanari.pk.util
States for a server's state machine
Why so many states?
AbstractDataManager - Class in de.calamanari.pk.abstractfactory
Abstract data manager is the abstract base class (aka ABSTRACT FACTORY)
AbstractDataManager() - Constructor for class de.calamanari.pk.abstractfactory.AbstractDataManager
 
AbstractDataReader - Class in de.calamanari.pk.abstractfactory
Abstract data reader is one base class of the ABSTRACT PRODUCTs each concrete ABSTRACT FACTORY can create.
AbstractDataReader() - Constructor for class de.calamanari.pk.abstractfactory.AbstractDataReader
 
AbstractDataWriter - Class in de.calamanari.pk.abstractfactory
Abstract data writer is one base class of the ABSTRACT PRODUCTs each concrete ABSTRACT FACTORY can create.
AbstractDataWriter() - Constructor for class de.calamanari.pk.abstractfactory.AbstractDataWriter
 
AbstractEnterpriseUnit - Class in de.calamanari.pk.composite
Abstract Enterprise Unit is the abstract base class of the COMPOSITE implementing the interface of the component (EnterpriseNode).
AbstractEnterpriseUnit() - Constructor for class de.calamanari.pk.composite.AbstractEnterpriseUnit
Creates unit, name not set, yet
AbstractEnterpriseUnit(String) - Constructor for class de.calamanari.pk.composite.AbstractEnterpriseUnit
Creates unit of this name
AbstractFactoryTest - Class in de.calamanari.pk.abstractfactory
Test case for ABSTRACT FACTORY
AbstractFactoryTest() - Constructor for class de.calamanari.pk.abstractfactory.AbstractFactoryTest
 
AbstractHistoryQueryEngine - Class in de.calamanari.pk.activeobject
Abstract History Query Engine - some engine that performs synchronous queries which take some time.
AbstractHistoryQueryEngine() - Constructor for class de.calamanari.pk.activeobject.AbstractHistoryQueryEngine
 
AbstractMapper - Class in de.calamanari.pk.mapper
Abstract Mapper - mappers in this example extend this base class
AbstractMapper() - Constructor for class de.calamanari.pk.mapper.AbstractMapper
 
AbstractTemplateMethodStringCodec - Class in de.calamanari.pk.templatemethod
Abstract Template Method String Codec
This demonstrates TEMPLATE METHOD pattern
AbstractTemplateMethodStringCodec() - Constructor for class de.calamanari.pk.templatemethod.AbstractTemplateMethodStringCodec
 
AbstractThreadedSocketServer - Class in de.calamanari.pk.util
Abstract Threaded Socket server
This is a threaded socket server, it can accept and process an arbitrary number of connections concurrently.
A subclass only has to implement the concrete communication operations, the other stuff is handled by logic in the super classes (TEMPLATE METHOD pattern).
AbstractThreadedSocketServer(String) - Constructor for class de.calamanari.pk.util.AbstractThreadedSocketServer
Creates new mock without starting it yet.
AbstractVoucher - Class in de.calamanari.pk.factorymethod
Abstract Voucher is the abstract product in this FACTORY METHOD example scenario.
AbstractVoucher(String, String, double) - Constructor for class de.calamanari.pk.factorymethod.AbstractVoucher
Creates a new voucher
AbstractVoucherCreator - Class in de.calamanari.pk.factorymethod
Abstract Voucher Creator is the abstract creator in this FACTORY METHOD example scenario.
AbstractVoucherCreator() - Constructor for class de.calamanari.pk.factorymethod.AbstractVoucherCreator
 
AbstractWorker - Class in de.calamanari.pk.iterator
Abstract Worker (a COMPOSITE-interface) represents the AGGREGATE (abstract base class), an iterator will be created for.
AbstractWorker(String) - Constructor for class de.calamanari.pk.iterator.AbstractWorker
Creates a new Worker with the given name
accept(EnterpriseVisitor) - Method in class de.calamanari.pk.visitor.CustomerCompany
Method to accept enterprise visitor
accept(EnterpriseVisitor) - Method in class de.calamanari.pk.visitor.CustomerDivision
Method to accept enterprise visitor
accept(EnterpriseVisitor) - Method in class de.calamanari.pk.visitor.CustomerHolding
Method to accept enterprise visitor
accept(EnterpriseVisitor) - Method in class de.calamanari.pk.visitor.CustomerOrder
Method to accept enterprise visitor
Account - Class in de.calamanari.pk.servicestub
Account - supplementary class
Account(String, String, String, String, String, String) - Constructor for class de.calamanari.pk.servicestub.Account
Creates new address with the given attributes
AccountManager - Class in de.calamanari.pk.servicestub
Account Manager - a component to be tested
An instance can only be tested with a valid AddressValidator reference injected.
AccountManager(AddressValidatorService) - Constructor for class de.calamanari.pk.servicestub.AccountManager
Constructor (to be used by framework) allowing service reference injection
AccountValidationException - Exception in de.calamanari.pk.servicestub
Account Validation Exception - supplementary class in this example
AccountValidationException(String) - Constructor for exception de.calamanari.pk.servicestub.AccountValidationException
Creates a new Exception with the given message
acquireInstance() - Method in class de.calamanari.pk.objectpool.ExampleObjectPool
Acquires a free pooled instance from the pool and returns it.
The pool will auto-resize until the maximum number of instances is reached.
acquireProductId() - Method in interface de.calamanari.pk.combinedmethod.ProductManager
Returns a new product-ID, the ID must be acquired before registering a new product
acquireProductId() - Method in class de.calamanari.pk.combinedmethod.ProductManagerServer
 
acquireReadLock(String, String) - Static method in class de.calamanari.pk.coarsegrainedlock.InMemoryLockManager
Creates a read lock for the given owner
acquireReadLock(String, String) - Static method in class de.calamanari.pk.pessimisticofflinelock.LockManager
Creates a read lock for the given owner
acquireWriteLock(String, String) - Static method in class de.calamanari.pk.coarsegrainedlock.InMemoryLockManager
Creates a write lock for the given owner
acquireWriteLock(String, String) - Static method in class de.calamanari.pk.pessimisticofflinelock.LockManager
Creates a write lock for the given owner
ActiveObjectTest - Class in de.calamanari.pk.activeobject
Active Object Test - demonstrates ACTIVE OBJECT pattern.
ActiveObjectTest() - Constructor for class de.calamanari.pk.activeobject.ActiveObjectTest
 
AdapterTest - Class in de.calamanari.pk.adapter
Adapter test demonstrates the ADAPTER pattern.
AdapterTest() - Constructor for class de.calamanari.pk.adapter.AdapterTest
 
add(AbstractMapper) - Method in class de.calamanari.pk.mapper.Session
Adds a mapper to the session management
add(Money) - Method in class de.calamanari.pk.money.Money
Creates a new money instance as the sum of this one plus the given one
add(Fraction) - Method in class de.calamanari.pk.valueobject.Fraction
Returns the sum of this fraction and the given one
add(E) - Method in class de.calamanari.pk.identitymap.IdentityMap
Adds an entity to the map
add(String) - Method in class de.calamanari.pk.modelviewcontroller.TeamModel
Adds the member to the list
addBytes(byte[]) - Method in interface de.calamanari.pk.builder.ChecksumBuilder
Builder-method to add a byte array
addBytes(byte[]) - Method in class de.calamanari.pk.builder.Crc32ChecksumBuilder
 
addChildNode(EnterpriseNode) - Method in class de.calamanari.pk.composite.AbstractEnterpriseUnit
Adds the given node to this unit's child nodes.
addCustomer(int, String, String, String, String, String) - Method in class de.calamanari.pk.optimisticofflinelock.DataManager
Create a customer, in this example used to add test data
addCustomer(String, String, String, String, String, String) - Method in interface de.calamanari.pk.datatransferobject.CustomerManager
For testing, adds a customer to the manager's database
addCustomer(String, String, String, String, String, String) - Method in class de.calamanari.pk.datatransferobject.server.CustomerManagerServer
 
addDirectSubordinate(Worker) - Method in class de.calamanari.pk.iterator.Worker
Adds a subordinate to this worker
addDouble(Double) - Method in interface de.calamanari.pk.builder.ChecksumBuilder
Builder-method to add an double value
addDouble(Double) - Method in class de.calamanari.pk.builder.Crc32ChecksumBuilder
 
addEntityRow(String, String, String, String) - Method in class de.calamanari.pk.identityfield.DataManager
Adds entity row for testing
addHostName(String) - Method in class de.calamanari.pk.nullobject.ConcreteHostNameData
 
addHostName(String) - Method in interface de.calamanari.pk.nullobject.HostNameData
Adds the name to the list
addHostName(String) - Method in class de.calamanari.pk.nullobject.HostNameDataNullObject
 
addInteger(Integer) - Method in interface de.calamanari.pk.builder.ChecksumBuilder
Builder-method to add an integer value
addInteger(Integer) - Method in class de.calamanari.pk.builder.Crc32ChecksumBuilder
 
addInvoice(String, String, String, String, String, String) - Static method in class de.calamanari.pk.lazyload.PersistenceSession
Method to fill-in test data
addLong(Long) - Method in interface de.calamanari.pk.builder.ChecksumBuilder
Builder-method to add a long value
addLong(Long) - Method in class de.calamanari.pk.builder.Crc32ChecksumBuilder
 
addOrMergeOrderItem(OrderItem) - Method in class de.calamanari.pk.visitor.CustomerOrder
Adds the order item and evtl. merges with existing one.
The caller should always use the returned item because the item passed to this method may have been merged.
In case of merge the attributes we use the smaller value for price and the higher value for discount (customer advantage rule :-) ).
addOutputObserver(OutputObserver) - Method in interface de.calamanari.pk.observer.OutputObservable
This registers the observer to the observable
addOutputObserver(OutputObserver) - Method in class de.calamanari.pk.observer.OutputWorker
This implementation supports exactly one observer, calling this method twice replaces an oberserver registered before.
addPerson(Person, Address) - Method in class de.calamanari.pk.mapper.DataManager
utility method to fill "test database"
addProtocolMessage(String, String) - Method in class de.calamanari.pk.plugin.ExampleScriptingFramework
 
addProtocolMessage(String, String) - Method in interface de.calamanari.pk.plugin.MacroPluginFramework
Allows protocol messages.
Address - Class in de.calamanari.pk.bridge
Address - an object in this scenario (supplementary).
Address - Class in de.calamanari.pk.coarsegrainedlock
Address - entity in COARSE GRAINED LOCK example
Address - Class in de.calamanari.pk.mapper.firstsys
Address - entity in the first subsystem
Address() - Constructor for class de.calamanari.pk.bridge.Address
Creates new Address
Address(String, String, String, String) - Constructor for class de.calamanari.pk.mapper.firstsys.Address
Creates address for a person
Address(String, String, String, String, String) - Constructor for class de.calamanari.pk.bridge.Address
Creates a new Address using the given parameters
Address(String, String, String, String, String) - Constructor for class de.calamanari.pk.coarsegrainedlock.Address
Creates a new Address using the given parameters
AddressDto - Class in de.calamanari.pk.transferobjectassembler
Address DTO - one of the data transfer objects in this example.
AddressDto() - Constructor for class de.calamanari.pk.transferobjectassembler.AddressDto
Creates new address DATA TRANSFER OBJECT
AddressDto(String, String, String, String, String, String, String) - Constructor for class de.calamanari.pk.transferobjectassembler.AddressDto
Creates new address DATA TRANSFER OBJECT from the given data
AddressEntity - Class in de.calamanari.pk.identitymap
Address Entity - one of the business entities in this example.
AddressEntity - Class in de.calamanari.pk.transferobjectassembler
Address Entity - one of the business entities in this example.
AddressEntity() - Constructor for class de.calamanari.pk.identitymap.AddressEntity
Creates new address entity
AddressEntity() - Constructor for class de.calamanari.pk.transferobjectassembler.AddressEntity
Creates new address entity
AddressEntity(String, String, String, String, String, String, String) - Constructor for class de.calamanari.pk.identitymap.AddressEntity
Creates new address entity from the given data
AddressEntity(String, String, String, String, String, String, String) - Constructor for class de.calamanari.pk.transferobjectassembler.AddressEntity
Creates new address entity from the given data
AddressValidatorService - Interface in de.calamanari.pk.servicestub.adrchk
Address Validator Service - interface of a service our component needs and that will not be available when testing our component.
AddressValidatorServiceMock - Class in de.calamanari.pk.servicestub
Address Validator Service Mock - SERVICE STUB (aka Mock) for AddressValidator Service
This is a very simple mock, always returning a predefined result, more sophisticated mocks create matching results for different input sets.
AddressValidatorServiceMock(boolean) - Constructor for class de.calamanari.pk.servicestub.AddressValidatorServiceMock
Creates a new mock object always returning the given validation result
addString(String) - Method in interface de.calamanari.pk.builder.ChecksumBuilder
Builder-method to add a string
addString(String) - Method in class de.calamanari.pk.builder.Crc32ChecksumBuilder
 
addTestRecord(int, String[]) - Method in class de.calamanari.pk.wrapper.OldSysCustomerMgrMock
Method allows to add test data.
addTestRecord(int, String[]) - Method in class de.calamanari.pk.wrapper.OldSysHistoryMgrMock
Method allows to add test data.
afterAll() - Static method in class de.calamanari.pk.AllTests
write finish message after tests
allow(Thread, String) - Method in class de.calamanari.pk.util.SimpleAccessManager
Allows the given operation.
AllTests - Class in de.calamanari.pk
All Tests - Test suite for all pattern tests.
append(String) - Method in class de.calamanari.pk.command.TextComponent
appends the given string to the internal buffer
AppendTextCommand - Class in de.calamanari.pk.command
Text Command - a concrete COMMAND.
AppendTextCommand(TextComponent, String) - Constructor for class de.calamanari.pk.command.AppendTextCommand
Creates new append text command for the given text.
Article - Class in de.calamanari.pk.facade.article
Article - a supplementary class in FACADE example.
Article(String, String, double) - Constructor for class de.calamanari.pk.facade.article.Article
Creates new Article
ArticleHistory - Class in de.calamanari.pk.facade.article.history
Article History - another class of the component we create a FACADE for.
The history delivers details related to an article but not part of the core information.
ArticleHistory() - Constructor for class de.calamanari.pk.facade.article.history.ArticleHistory
 
ArticleManager - Class in de.calamanari.pk.facade.article
Article Manager - class of the component we create a FACADE for.
ArticleManager() - Constructor for class de.calamanari.pk.facade.article.ArticleManager
 
ArticleViewFacade - Class in de.calamanari.pk.facade.article
Article View Facade- a FACADE for article management, with restricted access (read-only) and extended by an option to get the mark down price.
ArticleViewFacade(ArticleManager, ArticleHistory) - Constructor for class de.calamanari.pk.facade.article.ArticleViewFacade
Creates a new facade connected to the manager and the history.
assembleDto(String) - Method in class de.calamanari.pk.transferobjectassembler.GeoBadPayerInfoDtoAssembler
Creates new data transfer object for the customer
available() - Method in class de.calamanari.pk.util.pfis.ParallelFileInputStream
 
await() - Method in class de.calamanari.pk.coarsegrainedlock.InMemoryLockManager.ElementLock
Client's may use this method to wait until the related lock was released.
Afterwards the client does not own any lock, a new attempt to acquire must follow.
await(long, TimeUnit) - Method in class de.calamanari.pk.coarsegrainedlock.InMemoryLockManager.ElementLock
Client's may use this method to wait until the related lock was released.
Afterwards the client does not own any lock, a new attempt to acquire must follow.
A B C D E F G H I K L M N O P Q R S T U V W X 
All Classes All Packages