public interface AttributeSupportBuilder<P extends DescrBuilder<?,?>>
Modifier and Type | Method and Description |
---|---|
AttributeDescrBuilder<P> |
attribute(String name)
Adds a new attribute to the statement
|
P |
attribute(String name,
String value)
Adds a new attribute with the given name and value
|
P |
attribute(String name,
String value,
AttributeDescr.Type type)
Adds a new attribute with the given name and value
|
AttributeDescrBuilder<P> attribute(String name)
name
- the attribute nameP attribute(String name, String value)
name
- the name of the attribute to be addedvalue
- the value of the attribute to be addedP attribute(String name, String value, AttributeDescr.Type type)
name
- the name of the attribute to be addedvalue
- the value of the attribute to be addedtype
- the type of the value of the attribute. See AttributeDescr.Type
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.