Modifier and Type | Field and Description |
---|---|
static sirius.db.mixing.Mapping |
AUTO_FILL
Determines if yet unknown entries should be auto created with an identity mapping.
|
static sirius.db.mixing.Mapping |
CODE
Contains the unique code or short name which identifies the code list.
|
static sirius.db.mixing.Mapping |
DESCRIPTION
Contains a description of the purpose and use of the code list.
|
static sirius.db.mixing.Mapping |
NAME
Contains a descriptive name of the list which is show in the administration GUI.
|
Constructor and Description |
---|
CodeList() |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getDescription() |
String |
getName() |
boolean |
isAutofill() |
void |
setAutofill(boolean autofill) |
void |
setCode(String code) |
void |
setDescription(String description) |
void |
setName(String name) |
getTrace, isAnyColumnChangedExceptNoJournal
equals, getFetchRow, getId, getMapper, hashCode, isNew, isUnique, setId
public static final sirius.db.mixing.Mapping CODE
public static final sirius.db.mixing.Mapping NAME
public static final sirius.db.mixing.Mapping DESCRIPTION
public static final sirius.db.mixing.Mapping AUTO_FILL
Using this approach, the code list will fill itself and a user can provide descriptive texts later.
public String getCode()
public void setCode(String code)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public boolean isAutofill()
public void setAutofill(boolean autofill)
Copyright © 2018. All rights reserved.