public class RQuote extends Object implements Serializable
Here are basic definition in X_ATTRIBUTE for calculation.
identifier in our environment ( Static Model & Dynamic Model )field of critical reference or it will not be used.Here are mapping relations
When create DataQuote, it’s distinguish by source field, it means that the source could not produce duplicated sourceField here.
| Modifier and Type | Method and Description |
|---|---|
RQuote |
add(MAttribute attribute,
AoAttribute service)
「Fluent」Add new attribute in current Quote instance.
|
static RQuote |
create(String appName,
String source)
The factory method to create new instance.
|
RDao |
dao(String field) |
AoRule |
rule(String field) |
ConcurrentMap<String,AoRule> |
rules() |
Class<?> |
type(String field) |
public static RQuote create(String appName, String source)
The factory method to create new instance.
public RQuote add(MAttribute attribute, AoAttribute service)
「Fluent」Add new attribute in current Quote instance.
Here the dao class could be unique, it means that when source is fixed, here are only one dao class that has been mapped to current DataQuote
DataQuote created by pooled with
// <pre><code class="java">
final DataQuote reference = Fn.pool(this.references, source, () -> DataQuote.create(source));
// </code></pre>
Here are specification that only one source must be unique dao class instead.
attribute - MAttribute Input attribute objectservice - AoAttributeRQuotepublic ConcurrentMap<String,AoRule> rules()
Copyright © 2021. All rights reserved.