Interface AttributeSupportBuilder<P extends DescrBuilder<?,?>>

All Known Subinterfaces:
PackageDescrBuilder, RuleDescrBuilder
All Known Implementing Classes:
PackageDescrBuilderImpl, RuleDescrBuilderImpl

public interface AttributeSupportBuilder<P extends DescrBuilder<?,?>>
An interface for all builders of statements that support attributes
  • Method Details

    • attribute

      AttributeDescrBuilder<P> attribute(String name)
      Adds a new attribute to the statement
      Parameters:
      name - the attribute name
      Returns:
      the AttributeDescrBuilder to set the attribute value
    • attribute

      P attribute(String name, String value)
      Adds a new attribute with the given name and value
      Parameters:
      name - the name of the attribute to be added
      value - the value of the attribute to be added
      Returns:
      the container builder
    • attribute

      P attribute(String name, String value, AttributeDescr.Type type)
      Adds a new attribute with the given name and value
      Parameters:
      name - the name of the attribute to be added
      value - the value of the attribute to be added
      type - the type of the value of the attribute. See AttributeDescr.Type
      Returns:
      the container builder