| Modifier and Type | Class and Description |
|---|---|
static class |
Table.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Annotation> |
annotations |
protected java.util.LinkedList<Attribute> |
conclusion
It is a list denoted attributes that values are calculate by the rules in given schema.
|
protected java.lang.String |
description
A field containing an optional schema description.
|
protected java.lang.String |
id
This field is used by the SQL module while storing/restoring model into/from database.
|
protected java.lang.String |
name
A field containing obligatory schema (table) name
|
protected java.util.LinkedList<Attribute> |
precondition
It is a list that denotes attributes that are required to be
known by the rules that falls in this schema
|
protected java.util.LinkedList<Rule> |
rules
This is a list of rules that belongs to the table.
|
| Constructor and Description |
|---|
Table() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addRule(Rule rule) |
java.util.List<Annotation> |
annotations() |
java.util.List<Annotation> |
annotationsNamed(java.lang.String name) |
java.util.LinkedList<Attribute> |
getConclusion() |
java.lang.String |
getDescription() |
java.lang.String |
getId() |
java.lang.String |
getName() |
java.util.LinkedList<Attribute> |
getPrecondition() |
java.util.LinkedList<Rule> |
getRules() |
protected java.lang.String id
protected java.lang.String name
protected java.lang.String description
protected java.util.List<Annotation> annotations
protected java.util.LinkedList<Attribute> precondition
protected java.util.LinkedList<Attribute> conclusion
protected java.util.LinkedList<Rule> rules
public java.lang.String getId()
public java.lang.String getName()
public java.util.LinkedList<Attribute> getPrecondition()
public java.util.LinkedList<Attribute> getConclusion()
public java.util.LinkedList<Rule> getRules()
protected void addRule(Rule rule)
public java.lang.String getDescription()
public java.util.List<Annotation> annotations()
annotations in interface Annotatedpublic java.util.List<Annotation> annotationsNamed(java.lang.String name)
annotationsNamed in interface Annotated