public class XPFBrand extends XPFEntity
| Modifier and Type | Class and Description |
|---|---|
static class |
XPFBrand.XPFBrandBuilder<C extends XPFBrand,B extends XPFBrand.XPFBrandBuilder<C,B>> |
XPFEntity.XPFEntityBuilder<C extends XPFEntity,B extends XPFEntity.XPFEntityBuilder<C,B>>| Modifier | Constructor and Description |
|---|---|
|
XPFBrand(@NonNull String code,
@NonNull XPFEntitySupplier<Map<Locale,String>> displayNames) |
protected |
XPFBrand(XPFBrand.XPFBrandBuilder<?,?> b) |
| Modifier and Type | Method and Description |
|---|---|
static XPFBrand.XPFBrandBuilder<?,?> |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
@NonNull String |
getCode()
The brand code.
|
Optional<String> |
getDisplayName(Locale locale)
Get localized display name for a locale with fallback behavior.
|
Map<Locale,String> |
getDisplayNames()
Get the display names.
|
int |
hashCode() |
String |
toString() |
getCustomData, getCustomDataValueprotected XPFBrand(XPFBrand.XPFBrandBuilder<?,?> b)
public XPFBrand(@NonNull
@NonNull String code,
@NonNull
@NonNull XPFEntitySupplier<Map<Locale,String>> displayNames)
@LazyLoaded public Map<Locale,String> getDisplayNames()
public Optional<String> getDisplayName(Locale locale)
locale - the locale to get a display name forpublic static XPFBrand.XPFBrandBuilder<?,?> builder()
@NonNull public @NonNull String getCode()
Copyright © 2026. All rights reserved.