A B C D E F G I L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
S
- SALE - cz.cvut.fel.sit.omo.foodchain.channel.ChannelSubscriptionType
- SALE - cz.cvut.fel.sit.omo.foodchain.operation.TransactionType
- SALE_AND_PURCHASE - cz.cvut.fel.sit.omo.foodchain.channel.ChannelSubscriptionType
- sb - Static variable in class cz.cvut.fel.sit.omo.foodchain.util.ReportLogger
- Scenario - Class in cz.cvut.fel.sit.omo.foodchain.scenario
-
Scenatio class fpr holding and executing steps
- Scenario(List<ScenarioStep>) - Constructor for class cz.cvut.fel.sit.omo.foodchain.scenario.Scenario
- ScenarioFactory - Class in cz.cvut.fel.sit.omo.foodchain.factory
-
Factory for creating scenarios
- ScenarioFactory() - Constructor for class cz.cvut.fel.sit.omo.foodchain.factory.ScenarioFactory
- ScenarioPool - Class in cz.cvut.fel.sit.omo.foodchain.pool
-
Pool for storing all scenarios
- ScenarioPool() - Constructor for class cz.cvut.fel.sit.omo.foodchain.pool.ScenarioPool
- ScenarioStep - Class in cz.cvut.fel.sit.omo.foodchain.scenario
-
Scenario step class
- ScenarioStep() - Constructor for class cz.cvut.fel.sit.omo.foodchain.scenario.ScenarioStep
- SecurityReportVisitor - Class in cz.cvut.fel.sit.omo.foodchain.reporting
- SecurityReportVisitor() - Constructor for class cz.cvut.fel.sit.omo.foodchain.reporting.SecurityReportVisitor
- Seller - Class in cz.cvut.fel.sit.omo.foodchain.node
-
Seller node
- Seller - cz.cvut.fel.sit.omo.foodchain.node.NodeType
- Seller(double, double, double) - Constructor for class cz.cvut.fel.sit.omo.foodchain.node.Seller
- senderPurchaserCheck(Requirement) - Method in class cz.cvut.fel.sit.omo.foodchain.node.NodeBase
-
Checks if requirement creator is an allowed purchaser or allowed seller.
- SendRequirementStep - Class in cz.cvut.fel.sit.omo.foodchain.scenario
-
Step for sending requirements
- SendRequirementStep(NodeBase, TransactionType, ProductType, String) - Constructor for class cz.cvut.fel.sit.omo.foodchain.scenario.SendRequirementStep
- SendRequirementStep(NodeBase, TransactionType, ProductType, String, Double) - Constructor for class cz.cvut.fel.sit.omo.foodchain.scenario.SendRequirementStep
- sendTransaction(Product, NodeBase) - Method in class cz.cvut.fel.sit.omo.foodchain.node.NodeBase
-
Sends product transaction to node through a channel based on its type.
- sendTransaction(MonetaryAmount, NodeBase, ProductTransaction) - Method in class cz.cvut.fel.sit.omo.foodchain.node.NodeBase
-
Sends financial transaction to node through a channel based on previous transaction type.
- setAttributes(Map<String, String>) - Method in class cz.cvut.fel.sit.omo.foodchain.parser.ParserResultElement
- setChildren(Map<String, String>) - Method in class cz.cvut.fel.sit.omo.foodchain.parser.ParserResultElement
- setCurrentOperation(OperationBase) - Method in class cz.cvut.fel.sit.omo.foodchain.product.Product
- setName(String) - Method in class cz.cvut.fel.sit.omo.foodchain.parser.ParserResultElement
- setName(String) - Method in class cz.cvut.fel.sit.omo.foodchain.product.Product
- setPrice(MonetaryAmount) - Method in class cz.cvut.fel.sit.omo.foodchain.product.Product
- setProductType(ProductType) - Method in class cz.cvut.fel.sit.omo.foodchain.product.Product
- setStateToAvailable() - Method in class cz.cvut.fel.sit.omo.foodchain.product.Product
-
Set current product state to AVAILABLE.
- setStateToInAction() - Method in class cz.cvut.fel.sit.omo.foodchain.product.Product
-
Set current product state to IN_ACTION.
- setStateToInRequirement() - Method in class cz.cvut.fel.sit.omo.foodchain.product.Product
-
Set current product state to IN_REQUIREMENT.
- setStateToInTransit() - Method in class cz.cvut.fel.sit.omo.foodchain.product.Product
-
Set current product state to IN_TRANSIT.
- setStateToReadyForDispatch() - Method in class cz.cvut.fel.sit.omo.foodchain.product.Product
-
Set current product state to READY_FOR_DISPATCH.
- setStateToReadyForReception() - Method in class cz.cvut.fel.sit.omo.foodchain.product.Product
-
Set current product state to READY_FOR_RECEPTION.
- setTimeEnd() - Method in class cz.cvut.fel.sit.omo.foodchain.operation.OperationBase
- signature - Variable in class cz.cvut.fel.sit.omo.foodchain.operation.Transaction
- Signature - Class in cz.cvut.fel.sit.omo.foodchain.signature
-
Signature class validating its transaction
- Signature(String, Transaction) - Constructor for class cz.cvut.fel.sit.omo.foodchain.signature.Signature
- SignatureManager - Class in cz.cvut.fel.sit.omo.foodchain.signature
-
Manager class for creating and validating signatures
- SignatureManager() - Constructor for class cz.cvut.fel.sit.omo.foodchain.signature.SignatureManager
- signedDate - Variable in class cz.cvut.fel.sit.omo.foodchain.signature.Signature
- signTransaction(Transaction) - Static method in class cz.cvut.fel.sit.omo.foodchain.signature.SignatureManager
-
Creates signature for transaction.
- Singleton - Class in cz.cvut.fel.sit.omo.foodchain.util
-
Singleton helper class
- Singleton() - Constructor for class cz.cvut.fel.sit.omo.foodchain.util.Singleton
- SMOKE_MEAT - cz.cvut.fel.sit.omo.foodchain.operation.ProductOperationType
- start() - Static method in class cz.cvut.fel.sit.omo.foodchain.util.Ticker
-
Starts timer.
- startPrice - Variable in class cz.cvut.fel.sit.omo.foodchain.product.Product
- stepIterator - Variable in class cz.cvut.fel.sit.omo.foodchain.scenario.Scenario
- steps - Variable in class cz.cvut.fel.sit.omo.foodchain.scenario.Scenario
- stop() - Static method in class cz.cvut.fel.sit.omo.foodchain.util.Ticker
-
Stops timer (ends application).
- storage - Variable in class cz.cvut.fel.sit.omo.foodchain.node.NodeBase
- Storage - Class in cz.cvut.fel.sit.omo.foodchain.node
-
Storage sub-node for storing products of other nodes
- Storage(NodeBase) - Constructor for class cz.cvut.fel.sit.omo.foodchain.node.Storage
- storageOwner - Variable in class cz.cvut.fel.sit.omo.foodchain.node.Storage
- STORE_FRUIT - cz.cvut.fel.sit.omo.foodchain.operation.ProductOperationType
- STORE_MEAT - cz.cvut.fel.sit.omo.foodchain.operation.ProductOperationType
- STORE_OTHER - cz.cvut.fel.sit.omo.foodchain.operation.ProductOperationType
- STORE_VEGETABLE - cz.cvut.fel.sit.omo.foodchain.operation.ProductOperationType
- storeProduct(Product) - Method in class cz.cvut.fel.sit.omo.foodchain.node.Storage
-
Adds provided product into the storage.
- storeProducts(List<Product>) - Method in class cz.cvut.fel.sit.omo.foodchain.node.Storage
-
Adds all of the provided products into the storage.
- subscribedChannels - Variable in class cz.cvut.fel.sit.omo.foodchain.node.NodeBase
- subscribers - Variable in class cz.cvut.fel.sit.omo.foodchain.channel.ChannelBase
- subscribeToChannel(ChannelBase, ChannelSubscriptionType) - Method in class cz.cvut.fel.sit.omo.foodchain.node.NodeBase
-
Adds channel to subscribed channels with correct type.
- subtractMoney(MonetaryAmount) - Method in class cz.cvut.fel.sit.omo.foodchain.node.NodeBase
-
Subtracts amount from current assets.
All Classes All Packages