@Entity public class FieldImpl extends Object implements Field, AdminMainEntity
| Modifier and Type | Field and Description |
|---|---|
protected String |
abbreviation |
protected String |
entityType |
protected String |
friendlyName |
protected Long |
id |
protected String |
propertyName |
protected Boolean |
translatable |
MAIN_ENTITY_NAME_PROPERTY| Constructor and Description |
|---|
FieldImpl() |
| Modifier and Type | Method and Description |
|---|---|
<G extends Field> |
createOrRetrieveCopyInstance(MultiTenantCopyContext context) |
boolean |
equals(Object obj) |
String |
getAbbreviation()
Gets the abbreviation of this Field.
|
FieldEntity |
getEntityType()
Gets the entityType of this Field
|
String |
getFriendlyName()
Returns the friendly name of the field, for use by admin or other UI.
|
Long |
getId()
Gets the id
|
String |
getMainEntityName() |
String |
getPropertyName()
Gets the propertyName of this Field.
|
String |
getQualifiedFieldName()
Returns the qualified name of this Field.
|
List<SearchConfig> |
getSearchConfigs()
Deprecated.
|
Boolean |
getTranslatable()
Returns whether or not this field should be considered translatable
|
void |
setAbbreviation(String abbreviation)
Sets the abbreviation
|
void |
setEntityType(FieldEntity entityType)
Sets the entityType
|
void |
setFriendlyName(String friendlyName)
The friendly name of the field, for use by admin or other UI.
|
void |
setId(Long id)
Sets the id
|
void |
setPropertyName(String propertyName)
Sets the propertyName
|
void |
setSearchConfigs(List<SearchConfig> searchConfigs)
Deprecated.
|
void |
setTranslatable(Boolean translatable)
Sets whether or not this field should be considered translatable
|
protected Long id
protected String entityType
protected String friendlyName
protected String propertyName
protected String abbreviation
protected Boolean translatable
public String getQualifiedFieldName()
FieldgetQualifiedFieldName in interface Fieldpublic FieldEntity getEntityType()
FieldgetEntityType in interface Fieldpublic void setEntityType(FieldEntity entityType)
FieldsetEntityType in interface Fieldpublic String getPropertyName()
FieldgetPropertyName in interface Fieldpublic void setPropertyName(String propertyName)
FieldsetPropertyName in interface Fieldpublic String getAbbreviation()
FieldgetAbbreviation in interface Fieldpublic void setAbbreviation(String abbreviation)
FieldsetAbbreviation in interface Fieldpublic String getFriendlyName()
FieldgetFriendlyName in interface Fieldpublic void setFriendlyName(String friendlyName)
FieldsetFriendlyName in interface Fieldpublic Boolean getTranslatable()
FieldgetTranslatable in interface Fieldpublic void setTranslatable(Boolean translatable)
FieldsetTranslatable in interface Field@Deprecated public List<SearchConfig> getSearchConfigs()
FieldgetSearchConfigs in interface Field@Deprecated public void setSearchConfigs(List<SearchConfig> searchConfigs)
FieldsetSearchConfigs in interface Fieldpublic String getMainEntityName()
getMainEntityName in interface AdminMainEntitypublic <G extends Field> CreateResponse<G> createOrRetrieveCopyInstance(MultiTenantCopyContext context) throws CloneNotSupportedException
createOrRetrieveCopyInstance in interface MultiTenantCloneable<Field>CloneNotSupportedExceptionCopyright © 2020. All rights reserved.