public final class AttributesDefEntity extends ValidatorDefEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
AttributesDefEntity.Builder
PropertyDef builder.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_NAME
AttributesDef element name.
|
static String |
ENTITY_PREFIX
AttributesDef entity prefix.
|
UUID_COMPARATOR| Modifier and Type | Method and Description |
|---|---|
AttributesDefEntity |
copy()
Creates a copy of this entity.
|
Optional<AttributeDefEntity> |
getAttributeDef(String name)
Gets an attribute definition.
|
Collection<AttributeDefEntity> |
getAttributeDefs()
Gets the attribute definitions.
|
String |
getElementName()
Gets the entity element name.
|
String |
getPrefix()
Gets the class prefix.
|
String |
getReferenceName()
Gets the entity reference name.
|
String |
getTarget()
Gets this validator's target.
|
String |
getUsage()
Gets the usage.
|
static AttributesDefEntity.Builder |
newBuilder()
Returns a new builder.
|
equals, hashCode, isHidden, isMultiple, setHidden, setMultiplecompareTo, getAttributes, getName, getNameInUpperCase, getThisLogger, getUUID, setName, setUUID, toStringpublic static final String ELEMENT_NAME
public static final String ENTITY_PREFIX
@Nonnull @CheckReturnValue public static AttributesDefEntity.Builder newBuilder()
public AttributesDefEntity copy()
@Nonnull @CheckReturnValue public Optional<AttributeDefEntity> getAttributeDef(@Nonnull String name)
name - The attribute name.@Nonnull @CheckReturnValue public Collection<AttributeDefEntity> getAttributeDefs()
public String getElementName()
The entity element is used to in the generation of the entity URI.
public String getPrefix()
Each concrete entity subclass has its own prefix which will be the same for all its instances. This prefix is used to avoid name collision between different classes in a common registry.
public String getReferenceName()
public String getTarget()
getTarget in class ValidatorDefEntity@Nonnull @CheckReturnValue public String getUsage()
Copyright © 2003-2019 Serge Brisson. All Rights Reserved.