Class MetaRulesetImpl


  • public class MetaRulesetImpl
    extends MetaRuleset
    Version:
    $Id$
    Author:
    Jacob Hookom
    • Constructor Detail

      • MetaRulesetImpl

        public MetaRulesetImpl​(Tag tag,
                               Class<?> type)
    • Method Detail

      • ignore

        public MetaRuleset ignore​(String attribute)
        Description copied from class: MetaRuleset

        Customize this MetaRuleset instance to advise it to ignore the attribute named by the attribute argument, returning this.

        Specified by:
        ignore in class MetaRuleset
        Parameters:
        attribute - the name of the attribute to ignore.
        Returns:
        the MetaRuleset with the given attribute ignored.
      • alias

        public MetaRuleset alias​(String attribute,
                                 String property)
        Description copied from class: MetaRuleset

        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.

        Specified by:
        alias in class MetaRuleset
        Parameters:
        attribute - the attribute to remove.
        property - the property to add.
        Returns:
        the aliased MetaRuleSet.
      • finish

        public Metadata finish()
        Description copied from class: MetaRuleset

        Take actions to apply the rule.

        Specified by:
        finish in class MetaRuleset
        Returns:
        the Metadata with the MetaRuleSet applied.
      • ignoreAll

        public MetaRuleset ignoreAll()
        Description copied from class: MetaRuleset

        Customize this MetaRuleset instance to advise it to ignore all attributes, returning this.

        Specified by:
        ignoreAll in class MetaRuleset
        Returns:
        the ignoreAll MetaRuleset.