public class XPFAttribute extends XPFEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
XPFAttribute.XPFAttributeBuilder<C extends XPFAttribute,B extends XPFAttribute.XPFAttributeBuilder<C,B>> |
XPFEntity.XPFEntityBuilder<C extends XPFEntity,B extends XPFEntity.XPFEntityBuilder<C,B>>| Modifier | Constructor and Description |
|---|---|
|
XPFAttribute(@NonNull String key,
boolean localized,
boolean multiValue,
@NonNull XPFEntitySupplier<Map<Locale,String>> displayNames) |
protected |
XPFAttribute(XPFAttribute.XPFAttributeBuilder<?,?> b) |
| Modifier and Type | Method and Description |
|---|---|
static XPFAttribute.XPFAttributeBuilder<?,?> |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Map<Locale,String> |
getDisplayNames()
Get the display names.
|
@NonNull String |
getKey()
The attribute key.
|
int |
hashCode() |
boolean |
isLocalized()
Indicates if the attribute is localized by language.
|
boolean |
isMultiValue()
Indicates if the attribute supports multiple values.
|
String |
toString() |
getCustomData, getCustomDataValueprotected XPFAttribute(XPFAttribute.XPFAttributeBuilder<?,?> b)
public XPFAttribute(@NonNull
@NonNull String key,
boolean localized,
boolean multiValue,
@NonNull
@NonNull XPFEntitySupplier<Map<Locale,String>> displayNames)
public Map<Locale,String> getDisplayNames()
public static XPFAttribute.XPFAttributeBuilder<?,?> builder()
@NonNull public @NonNull String getKey()
public boolean isLocalized()
public boolean isMultiValue()
Copyright © 2026. All rights reserved.