public class ScriptModel extends AbstractDynamicContentModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
AUTODISABLING
Generated constant - Attribute key of
Script.autodisabling attribute defined at extension scripting. |
static java.lang.String |
DESCRIPTION
Generated constant - Attribute key of
Script.description attribute defined at extension scripting. |
static java.lang.String |
DISABLED
Generated constant - Attribute key of
Script.disabled attribute defined at extension scripting. |
static java.lang.String |
SCRIPTTYPE
Generated constant - Attribute key of
Script.scriptType attribute defined at extension scripting. |
ACTIVE, CHECKSUM, CODE, CONTENT, VERSION_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
ScriptModel()
Generated constructor - Default constructor for generic creation.
|
ScriptModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
ScriptModel(java.lang.String _code,
java.lang.String _content)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
ScriptModel(java.lang.String _code,
java.lang.String _content,
ItemModel _owner)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Generated method - Getter of the
Script.description attribute defined at extension scripting. |
java.lang.String |
getDescription(java.util.Locale loc)
Generated method - Getter of the
Script.description attribute defined at extension scripting. |
ScriptType |
getScriptType()
Generated method - Getter of the
Script.scriptType attribute defined at extension scripting. |
boolean |
isAutodisabling()
Generated method - Getter of the
Script.autodisabling attribute defined at extension scripting. |
boolean |
isDisabled()
Generated method - Getter of the
Script.disabled attribute defined at extension scripting. |
void |
setAutodisabling(boolean value)
Generated method - Setter of
Script.autodisabling attribute defined at extension scripting. |
void |
setDescription(java.lang.String value)
Generated method - Setter of
Script.description attribute defined at extension scripting. |
void |
setDescription(java.lang.String value,
java.util.Locale loc)
Generated method - Setter of
Script.description attribute defined at extension scripting. |
void |
setDisabled(boolean value)
Generated method - Setter of
Script.disabled attribute defined at extension scripting. |
void |
setScriptType(ScriptType value)
Generated method - Setter of
Script.scriptType attribute defined at extension scripting. |
getActive, getChecksum, getCode, getContent, getVersion, setActive, setChecksum, setCode, setContent, setVersiongetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String DESCRIPTION
Script.description attribute defined at extension scripting.public static final java.lang.String SCRIPTTYPE
Script.scriptType attribute defined at extension scripting.public static final java.lang.String AUTODISABLING
Script.autodisabling attribute defined at extension scripting.public static final java.lang.String DISABLED
Script.disabled attribute defined at extension scripting.public ScriptModel()
public ScriptModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated
public ScriptModel(java.lang.String _code,
java.lang.String _content)
_code - initial attribute declared by type AbstractDynamicContent at extension core_content - initial attribute declared by type AbstractDynamicContent at extension core@Deprecated
public ScriptModel(java.lang.String _code,
java.lang.String _content,
ItemModel _owner)
_code - initial attribute declared by type AbstractDynamicContent at extension core_content - initial attribute declared by type AbstractDynamicContent at extension core_owner - initial attribute declared by type Item at extension core@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription()
Script.description attribute defined at extension scripting.@Accessor(qualifier="description", type=GETTER) public java.lang.String getDescription(java.util.Locale loc)
Script.description attribute defined at extension scripting.loc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="scriptType", type=GETTER) public ScriptType getScriptType()
Script.scriptType attribute defined at extension scripting.@Accessor(qualifier="autodisabling", type=GETTER) public boolean isAutodisabling()
Script.autodisabling attribute defined at extension scripting.@Accessor(qualifier="disabled", type=GETTER) public boolean isDisabled()
Script.disabled attribute defined at extension scripting.@Accessor(qualifier="autodisabling", type=SETTER) public void setAutodisabling(boolean value)
Script.autodisabling attribute defined at extension scripting.value - the autodisabling@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value)
Script.description attribute defined at extension scripting.value - the description@Accessor(qualifier="description", type=SETTER) public void setDescription(java.lang.String value, java.util.Locale loc)
Script.description attribute defined at extension scripting.value - the descriptionloc - the value localization keyjava.lang.IllegalArgumentException - if localization key cannot be mapped to data language@Accessor(qualifier="disabled", type=SETTER) public void setDisabled(boolean value)
Script.disabled attribute defined at extension scripting.value - the disabled@Accessor(qualifier="scriptType", type=SETTER) public void setScriptType(ScriptType value)
Script.scriptType attribute defined at extension scripting.value - the scriptTypeCopyright © 2018 SAP SE. All Rights Reserved.