Transaction

onera.pmlanalyzer.pml.model.configuration.TransactionLibrary.Transaction$
See theTransaction companion class

Builder of platform Transaction

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

embedFunctions

def all(implicit owner: Owner): Set[T]

Provide all the object of the current type created for the platform, including the ones created in composite components

Provide all the object of the current type created for the platform, including the ones created in composite components

Attributes

owner

the name of the platform owning the objects

Returns:

set of created objects

Inherited from:
PMLNodeBuilder
def allDirect(implicit owner: Owner): Set[T]

Provide all the object of the current type created for the platform, without the ones created in composite components

Provide all the object of the current type created for the platform, without the ones created in composite components

Attributes

owner

the name of the platform owning the objects

Returns:

set of created objects

Inherited from:
PMLNodeBuilder

Value members

Concrete methods

def apply[A : AsTransaction](iniTgt: => A)(implicit evidence$1: AsTransaction[A], name: Name): Transaction

A transaction can be built from an application targeting a load or a store service

A transaction can be built from an application targeting a load or a store service

Attributes

A

the type of requests

iniTgt

the application/target service used

name

the implicit name of the transaction (deduced from val used during instantiation)

t

the type tag used to distinguish application loads and stores

Returns:

the transaction (not used for now)

def apply(name: UserTransactionId, iniTgt: () => Set[(Service, Service)], sw: () => Set[Application])(implicit owner: Owner): Transaction

Main constructor of a transaction, note that transaction are memoized, so if the same name is used in the same platform the constructor will send back the previous definition of the transaction

Main constructor of a transaction, note that transaction are memoized, so if the same name is used in the same platform the constructor will send back the previous definition of the transaction

Attributes

iniTgt

the set of initial/target services defining the transaction

name

the name of the transaction

owner

the owner of the transaction (the platform)

sw

the applications that may invoke this transaction

Returns:

the transaction (not used for now)

def apply[A : AsTransaction](name: String, iniTgt: => A): Transaction

A transaction can be from an application targeting a load or a store service

A transaction can be from an application targeting a load or a store service

Attributes

A

the type of requests

iniTgt

the application/target service used

name

explicit name of the transaction

t

the type tag used to distinguish application loads and stores

Returns:

the transaction (not used for now)

def apply(from: Transaction)(implicit name: Name): Transaction

A transaction can be build from another transaction

A transaction can be build from another transaction

Attributes

from

the initial transaction

name

the implicit name of the transaction (deduced from val used during instantiation)

Returns:

the transaction (not used for now)

Inherited fields

protected val _memo: HashMap[(Symbol, Symbol), Transaction]

Attributes

Inherited from:
PMLNodeBuilder