public static final class AttributesDefEntity.Builder extends ValidatorDefEntity.Builder
Modifier and Type | Method and Description |
---|---|
AttributesDefEntity.Builder |
addAttributeDef(AttributeDefEntity attributeDef)
Adds an attribute definition.
|
AttributesDefEntity |
build()
Builds an abstract entity.
|
AttributesDefEntity.Builder |
copyFrom(AttributesDefEntity attributesDef)
Copies the values from an other AttributesDefEntity.
|
AttributesDefEntity.Builder |
setUsage(String usage)
Sets the usage.
|
copyFrom, isHidden, isMultiple, setHidden, setMultiple
copyFrom, getName, getThisLogger, getUUID, setName, setName, setUUID
@Nonnull public AttributesDefEntity.Builder addAttributeDef(@Nonnull AttributeDefEntity attributeDef)
attributeDef
- The attribute definition.public AttributesDefEntity build()
build
in class AbstractEntity.Builder
@Nonnull public final AttributesDefEntity.Builder copyFrom(@Nonnull AttributesDefEntity attributesDef)
attributesDef
- The other AttributesDefEntity.@Nonnull public AttributesDefEntity.Builder setUsage(@Nonnull String usage)
usage
- The usage (required).Copyright © 2003-2019 Serge Brisson. All Rights Reserved.