public class EntityOptionsImpl extends CommonOptionsImpl implements EntityOptions
| Constructor and Description |
|---|
EntityOptionsImpl(EntityFactory factory,
Entity entity,
SourceInfo sourceInfo)
Creates entity options.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
applyOption(String option,
Boolean ctrl)
Applies given option string.
|
Entity |
getEntity()
Gets the entity this option-set belongs to.
|
List<String> |
getSorting()
Gets the default sorting options.
|
TrackType |
getTrackType()
Gets the tracking type.
|
boolean |
isNoPrimaryKey()
true if [NOPKEY]-option set.
|
boolean |
isNormTextProvided()
true if [NORMTEXT]-option set.
|
boolean |
isRemote()
Returns whether entity supports remoting.
|
boolean |
isRootClassIdProvided()
true if [ROOTCLASSID]-option set.
|
boolean |
isRootEntity()
true if [ROOT]-option set
|
boolean |
isRootIdProvided()
true if [ROOTID]-option set.
|
boolean |
isTableSerialProvided()
true if [TABLESERIAL]-option set.
|
boolean |
isTokenLockProvided()
true if [EDITEDBY]-option set.
|
boolean |
noModelDefaults()
Returns whether global model defaults should be applied or not.
|
void |
setEditedByProvided(boolean tokenLockProvided) |
void |
setNoModelDefaults(boolean noModelDefaults) |
void |
setNoPrimaryKey(boolean noPrimary) |
void |
setNormTextProvided(boolean normText) |
void |
setRemote(boolean remote) |
void |
setRootClassIdProvided(boolean rootClassId) |
void |
setRootEntity(boolean rootEntity) |
void |
setRootIdProvided(boolean rootId) |
void |
setTableSerialProvided(boolean tableSerial) |
void |
setTrackType(TrackType trackType) |
addBindOption, createModelException, getAccessScope, getBindOptions, getComment, getSourceInfo, isAutoSelect, isBind, isDerived, isFromSuper, isLowerCase, isMapNull, isMaxCol, isNoConstant, isNoDeclare, isNoMethod, isReadOnly, isSetGet, isTrimRead, isTrimWrite, isUpperCase, isWriteOnly, processBindOption, processOption, removeBindOption, setAccessScope, setAutoSelect, setBind, setBindOptions, setComment, setDerived, setFromSuper, setLowerCase, setMapNull, setMaxCol, setNoConstant, setNoDeclare, setNoMethod, setReadOnly, setSetGet, setTrimRead, setTrimWrite, setUpperCase, setWriteOnly, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccessScope, getBindOptions, getComment, isAutoSelect, isBind, isDerived, isFromSuper, isLowerCase, isMapNull, isMaxCol, isNoConstant, isNoDeclare, isNoMethod, isReadOnly, isSetGet, isTrimRead, isTrimWrite, isUpperCase, isWriteOnly, validatepublic EntityOptionsImpl(EntityFactory factory, Entity entity, SourceInfo sourceInfo)
factory - the factoryentity - the entity the options belong tosourceInfo - the source infopublic Entity getEntity()
EntityOptionsgetEntity in interface EntityOptionspublic boolean noModelDefaults()
EntityOptionsnoModelDefaults in interface EntityOptionspublic boolean applyOption(String option, Boolean ctrl)
CommonOptionsImplapplyOption in class CommonOptionsImploption - the option stringctrl - option control: true if turn option on, false if oprion off, null if on/off missing (defaults to on)public boolean isNoPrimaryKey()
EntityOptionsisNoPrimaryKey in interface EntityOptionspublic TrackType getTrackType()
EntityOptionsgetTrackType in interface EntityOptionspublic boolean isTableSerialProvided()
EntityOptionsisTableSerialProvided in interface EntityOptionspublic boolean isTokenLockProvided()
EntityOptionsisTokenLockProvided in interface EntityOptionspublic boolean isNormTextProvided()
EntityOptionsisNormTextProvided in interface EntityOptionspublic boolean isRootEntity()
EntityOptionsisRootEntity in interface EntityOptionspublic boolean isRootIdProvided()
EntityOptionsisRootIdProvided in interface EntityOptionspublic boolean isRootClassIdProvided()
EntityOptionsisRootClassIdProvided in interface EntityOptionspublic boolean isRemote()
EntityOptionsisRemote in interface EntityOptionspublic List<String> getSorting()
EntityOptionsgetSorting in interface EntityOptionspublic void setNoModelDefaults(boolean noModelDefaults)
public void setTrackType(TrackType trackType)
public void setEditedByProvided(boolean tokenLockProvided)
public void setNormTextProvided(boolean normText)
public void setNoPrimaryKey(boolean noPrimary)
public void setTableSerialProvided(boolean tableSerial)
public void setRootEntity(boolean rootEntity)
public void setRootIdProvided(boolean rootId)
public void setRootClassIdProvided(boolean rootClassId)
public void setRemote(boolean remote)
Copyright © 2016 Krake Softwaretechnik. All rights reserved.