-
- All Known Subinterfaces:
AttributeOptions,EntityOptions
- All Known Implementing Classes:
AttributeOptionsImpl,CommonOptionsImpl,EntityOptionsImpl
public interface CommonOptionsOptions common for attributes and entities.- Author:
- harald
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessScopegetAccessScope()The access scope.java.lang.StringgetBindOptions()The bind options.java.lang.StringgetComment()The comment.booleanisAutoSelect()Returns whether autoselect should be turned on.booleanisBind()true if [BIND]-option set.booleanisDerived()true if [DERIVED]-option set.booleanisFromSuper()true if [SUPER]-option set.booleanisLowerCase()Returns whether lowercase conversion requested.booleanisMapNull()true if [MAPNULL]-option set.booleanisMaxCol()Returns true whether the maxcol binding option should be applied.booleanisNoConstant()true if [NOCONSTANT]-option set.booleanisNoDeclare()true if [NODECLARE]-option set.booleanisNoMethod()true if [NOMETHOD]-option set.booleanisReadOnly()true if [READONLY]-option set.booleanisSetGet()true if [SETGET]-option set.booleanisTrimRead()true if [TRIMREAD]-option set.booleanisTrimWrite()true if [TRIMWRITE]-option set.booleanisUpperCase()Returns whether uppercase conversion requested.booleanisWriteOnly()true if [WRITEONLY]-option set.voidvalidate()Validates the options.
-
-
-
Method Detail
-
getComment
java.lang.String getComment()
The comment.- Returns:
- the comment
-
getBindOptions
java.lang.String getBindOptions()
The bind options.- Returns:
- the bind options
-
isNoDeclare
boolean isNoDeclare()
true if [NODECLARE]-option set.- Returns:
- the NoDeclare
-
isNoMethod
boolean isNoMethod()
true if [NOMETHOD]-option set.- Returns:
- the NoMethod
-
isNoConstant
boolean isNoConstant()
true if [NOCONSTANT]-option set.- Returns:
- the NoConstant
-
isDerived
boolean isDerived()
true if [DERIVED]-option set.- Returns:
- the Derived
-
isFromSuper
boolean isFromSuper()
true if [SUPER]-option set.- Returns:
- the FromSuper
-
isReadOnly
boolean isReadOnly()
true if [READONLY]-option set.- Returns:
- the ReadOnly
-
isWriteOnly
boolean isWriteOnly()
true if [WRITEONLY]-option set.- Returns:
- the WriteOnly
-
getAccessScope
AccessScope getAccessScope()
The access scope.- Returns:
- the AccessPackage
-
isTrimRead
boolean isTrimRead()
true if [TRIMREAD]-option set.- Returns:
- the TrimRead
-
isTrimWrite
boolean isTrimWrite()
true if [TRIMWRITE]-option set.- Returns:
- the TrimWrite
-
isMapNull
boolean isMapNull()
true if [MAPNULL]-option set.- Returns:
- the MapNull
-
isSetGet
boolean isSetGet()
true if [SETGET]-option set.- Returns:
- the SetGet
-
isBind
boolean isBind()
true if [BIND]-option set.- Returns:
- the Bind
-
isAutoSelect
boolean isAutoSelect()
Returns whether autoselect should be turned on.- Returns:
- true if autoselect
-
isLowerCase
boolean isLowerCase()
Returns whether lowercase conversion requested.- Returns:
- true if lowercase
-
isMaxCol
boolean isMaxCol()
Returns true whether the maxcol binding option should be applied.- Returns:
- true if maxcol
-
isUpperCase
boolean isUpperCase()
Returns whether uppercase conversion requested.- Returns:
- true if uppercase
-
validate
void validate() throws ModelExceptionValidates the options.- Throws:
ModelException- if validation failed
-
-