public static class PropertiesAttributeDefinition.Builder extends MapAttributeDefinition.Builder<PropertiesAttributeDefinition.Builder,PropertiesAttributeDefinition>
elementValidatoraccessConstraints, allowedValues, allowExpression, allowNull, alternatives, arbitraryDescriptors, attributeGroup, attributeMarshaller, corrector, defaultValue, deprecated, flags, maxSize, measurementUnit, minSize, name, nullSignificant, parser, referenceRecorder, requires, resourceOnly, type, validateNull, validator, xmlName| Constructor and Description |
|---|
Builder(MapAttributeDefinition basis) |
Builder(PropertiesAttributeDefinition basis) |
Builder(String name,
boolean optional) |
| Modifier and Type | Method and Description |
|---|---|
PropertiesAttributeDefinition |
build()
Create the
AttributeDefinition |
PropertiesAttributeDefinition.Builder |
setWrapperElement(String name)
Deprecated.
use setParser(new AttributeParser.PropertiesParsers(wrapper)
|
PropertiesAttributeDefinition.Builder |
setWrapXmlElement(boolean wrap)
Deprecated.
use setParser(new AttributeParser.PropertiesParsers(wrapper)
|
PropertiesAttributeDefinition.Builder |
setXmlName(String xmlName)
Deprecated.
use setParser(new AttributeParser.PropertiesParsers(wrapper)
|
getAllowNullElement, getElementValidator, getMaxSize, getMinSize, getValidator, setAllowNullElement, setElementValidator, setMapValidator, setValidatoraddAccessConstraint, addAlternatives, addArbitraryDescriptor, addFlag, getAccessConstraints, getAllowedValues, getAlternatives, getArbitraryDescriptors, getAttributeGroup, getAttributeMarshaller, getCorrector, getDefaultValue, getDeprecated, getFlags, getMeasurementUnit, getName, getNullSignficant, getNullSignificant, getParser, getRequires, getType, getUndefinedMetricValue, getXmlName, isAllowExpression, isAllowNull, isFlagPresent, isResourceOnly, isValidateNull, removeFlag, setAccessConstraints, setAllowedValues, setAllowedValues, setAllowedValues, setAllowExpression, setAllowNull, setAlternatives, setAttributeGroup, setAttributeMarshaller, setAttributeParser, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCapabilityReference, setCorrector, setDefaultValue, setDeprecated, setDeprecated, setFlags, setMaxSize, setMeasurementUnit, setMinSize, setName, setNullSignficant, setNullSignificant, setRequired, setRequires, setResourceOnly, setRestartAllServices, setRestartJVM, setRuntimeServiceNotRequired, setStorageRuntime, setType, setUndefinedMetricValue, setValidateNullpublic Builder(String name, boolean optional)
public Builder(PropertiesAttributeDefinition basis)
public Builder(MapAttributeDefinition basis)
@Deprecated public PropertiesAttributeDefinition.Builder setWrapXmlElement(boolean wrap)
@Deprecated public PropertiesAttributeDefinition.Builder setWrapperElement(String name)
public PropertiesAttributeDefinition.Builder setXmlName(String xmlName)
AbstractAttributeDefinitionBuilderxml name for the attribute, which is only needed
if the name used for the attribute is different from its ordinary
name in the model. If not set the default value is the name
passed to the builder constructor.setXmlName in class AbstractAttributeDefinitionBuilder<PropertiesAttributeDefinition.Builder,PropertiesAttributeDefinition>xmlName - the xml name. null is allowedpublic PropertiesAttributeDefinition build()
AbstractAttributeDefinitionBuilderAttributeDefinitionbuild in class AbstractAttributeDefinitionBuilder<PropertiesAttributeDefinition.Builder,PropertiesAttributeDefinition>nullCopyright © 2017 JBoss by Red Hat. All rights reserved.