public class XPFAttribute extends XPFEntity
Constructor and Description |
---|
XPFAttribute(@NonNull String key,
boolean localized,
boolean multiValue,
@NonNull XPFEntitySupplier<Map<Locale,String>> displayNames) |
Modifier and Type | Method and Description |
---|---|
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
public XPFAttribute(@NonNull @NonNull String key, boolean localized, boolean multiValue, @NonNull @NonNull XPFEntitySupplier<Map<Locale,String>> displayNames)
public Map<Locale,String> getDisplayNames()
@NonNull public @NonNull String getKey()
public boolean isLocalized()
public boolean isMultiValue()
Copyright © 2025. All rights reserved.