public static class PropertyAttributeDefinition.Builder extends AbstractAttributeDefinitionBuilder<PropertyAttributeDefinition.Builder,PropertyAttributeDefinition>
accessConstraints, allowExpression, allowNull, alternatives, attributeMarshaller, corrector, defaultValue, deprecated, flags, maxSize, measurementUnit, minSize, name, nullSignficant, parser, requires, resourceOnly, type, validateNull, validator, xmlName| Modifier and Type | Method and Description |
|---|---|
PropertyAttributeDefinition |
build()
Create the
AttributeDefinition |
static PropertyAttributeDefinition.Builder |
of(String name,
org.jboss.dmr.ModelType type)
Creates a builder for
PropertyAttributeDefinition. |
static PropertyAttributeDefinition.Builder |
of(String name,
org.jboss.dmr.ModelType type,
boolean allowNull)
Creates a builder for
PropertyAttributeDefinition. |
PropertyAttributeDefinition.Builder |
setPropertyName(String propertyName) |
PropertyAttributeDefinition.Builder |
setResolver(ModelNodeResolver<String> resolver) |
addAccessConstraint, addAlternatives, addFlag, getAccessConstraints, getAlternatives, getAttributeMarshaller, getCorrector, getDefaultValue, getDeprecated, getFlags, getMaxSize, getMeasurementUnit, getMinSize, getName, getNullSignficant, getParser, getRequires, getType, getValidator, getXmlName, isAllowExpression, isAllowNull, isFlagPresent, isResourceOnly, isValidateNull, removeFlag, setAccessConstraints, setAllowExpression, setAllowNull, setAlternatives, setAttributeMarshaller, setAttributeParser, setCorrector, setDefaultValue, setDeprecated, setFlags, setMaxSize, setMeasurementUnit, setMinSize, setNullSignficant, setRequires, setResourceOnly, setRestartAllServices, setRestartJVM, setStorageRuntime, setType, setValidateNull, setValidator, setXmlNamepublic static PropertyAttributeDefinition.Builder of(String name, org.jboss.dmr.ModelType type)
PropertyAttributeDefinition.name - the name of the attributetype - the attribute typepublic static PropertyAttributeDefinition.Builder of(String name, org.jboss.dmr.ModelType type, boolean allowNull)
PropertyAttributeDefinition.name - the name of the attributetype - the attribute typeallowNull - true if null is allowed, otherwise falsepublic PropertyAttributeDefinition build()
AbstractAttributeDefinitionBuilderAttributeDefinitionbuild in class AbstractAttributeDefinitionBuilder<PropertyAttributeDefinition.Builder,PropertyAttributeDefinition>nullpublic PropertyAttributeDefinition.Builder setPropertyName(String propertyName)
public PropertyAttributeDefinition.Builder setResolver(ModelNodeResolver<String> resolver)
Copyright © 2014 JBoss by Red Hat. All rights reserved.