public abstract class MetaRuleset
extends java.lang.Object
A mutable set of rules to be used in auto-wiring state to a particular object instance. Rules assigned to this object will be composed into a single Metadata instance which will encapsulate the ruleset.
| Constructor and Description |
|---|
MetaRuleset() |
| Modifier and Type | Method and Description |
|---|---|
abstract MetaRuleset |
add(Metadata metadata)
Add another |
abstract MetaRuleset |
addRule(MetaRule rule)
Add another |
abstract MetaRuleset |
alias(java.lang.String attribute,
java.lang.String property)
Customize this |
abstract Metadata |
finish()
Take actions to apply the rule. |
abstract MetaRuleset |
ignore(java.lang.String attribute)
Customize this |
abstract MetaRuleset |
ignoreAll()
Customize this |
public abstract MetaRuleset ignore(java.lang.String attribute)
Customize this MetaRuleset instance to advise it to ignore the attribute named by the
attribute argument, returning this.
attribute - the name of the attribute to ignore.public abstract MetaRuleset ignoreAll()
Customize this MetaRuleset instance to advise it to ignore all attributes, returning this.
MetaRuleset.public abstract MetaRuleset alias(java.lang.String attribute, java.lang.String property)
Customize this MetaRuleset by removing the attribute named by argument attribute and
re-adding it under the name given by the argument property, returning this.
attribute - the attribute to remove.property - the property to add.public abstract MetaRuleset add(Metadata metadata)
Add another Metadata to this ruleset, returning this.
metadata - the Metadata to add.MetaRuleset with the Metadata added.public abstract MetaRuleset addRule(MetaRule rule)
Add another MetaRule to this ruleset, returning this.
rule - the rule to add.MetaRuleset with the MetaRule added.public abstract Metadata finish()
Take actions to apply the rule.