public final class PropertyDefEntity extends ValidatorDefEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
PropertyDefEntity.Builder
PropertyDef builder.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_NAME
PropertyDef element name.
|
static String |
ENTITY_PREFIX
PropertyDef entity prefix.
|
UUID_COMPARATOR| Modifier and Type | Method and Description |
|---|---|
PropertyDefEntity |
copy()
Creates a copy of this entity.
|
boolean |
equals(Object other)
|
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.
|
int |
hashCode() |
static PropertyDefEntity.Builder |
newBuilder()
Returns a new builder.
|
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 PropertyDefEntity.Builder newBuilder()
public PropertyDefEntity copy()
public boolean equals(Object other)
For two Entity to be equal, they must at least be instances of
the same class, have the same UUID and name.
equals in class ValidatorDefEntitypublic 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 ValidatorDefEntitypublic int hashCode()
hashCode in class ValidatorDefEntityCopyright © 2003-2019 Serge Brisson. All Rights Reserved.