Package de.hybris.platform.cronjob.model
Class JobLogModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.cronjob.model.JobLogModel
- All Implemented Interfaces:
Serializable
Generated model class for type JobLog first defined at extension processing.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationCronJobJobLogsRelationdefining source attributecronJobin extensionprocessing.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofJobLog.cronJobattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofJobLog.levelattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofJobLog.messageattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofJobLog.shortMessageattribute defined at extensionprocessing.static final StringGenerated constant - Attribute key ofJobLog.stepattribute defined at extensionprocessing.Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.JobLogModel(CronJobModel _cronJob, JobLogLevel _level) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersJobLogModel(CronJobModel _cronJob, JobLogLevel _level, String _message, ItemModel _owner, StepModel _step) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersJobLogModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theJobLog.cronJobattribute defined at extensionprocessing.getLevel()Generated method - Getter of theJobLog.levelattribute defined at extensionprocessing.Generated method - Getter of theJobLog.messageattribute defined at extensionprocessing.Generated method - Getter of theJobLog.shortMessageattribute defined at extensionprocessing.getStep()Generated method - Getter of theJobLog.stepattribute defined at extensionprocessing.voidsetCronJob(CronJobModel value) Generated method - Initial setter ofJobLog.cronJobattribute defined at extensionprocessing.voidsetLevel(JobLogLevel value) Generated method - Initial setter ofJobLog.levelattribute defined at extensionprocessing.voidsetMessage(String value) Generated method - Initial setter ofJobLog.messageattribute defined at extensionprocessing.voidGenerated method - Initial setter ofJobLog.stepattribute defined at extensionprocessing.Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, 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, writeReplace
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_CRONJOBJOBLOGSRELATION
Generated relation code constant for relationCronJobJobLogsRelationdefining source attributecronJobin extensionprocessing.- See Also:
-
STEP
Generated constant - Attribute key ofJobLog.stepattribute defined at extensionprocessing.- See Also:
-
MESSAGE
Generated constant - Attribute key ofJobLog.messageattribute defined at extensionprocessing.- See Also:
-
SHORTMESSAGE
Generated constant - Attribute key ofJobLog.shortMessageattribute defined at extensionprocessing.- See Also:
-
LEVEL
Generated constant - Attribute key ofJobLog.levelattribute defined at extensionprocessing.- See Also:
-
CRONJOB
Generated constant - Attribute key ofJobLog.cronJobattribute defined at extensionprocessing.- See Also:
-
-
Constructor Details
-
JobLogModel
public JobLogModel()Generated constructor - Default constructor for generic creation. -
JobLogModel
public JobLogModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
JobLogModel
@Deprecated(since="4.1.1", forRemoval=true) public JobLogModel(CronJobModel _cronJob, JobLogLevel _level) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_cronJob- initial attribute declared by typeJobLogat extensionprocessing_level- initial attribute declared by typeJobLogat extensionprocessing
-
JobLogModel
@Deprecated(since="4.1.1", forRemoval=true) public JobLogModel(CronJobModel _cronJob, JobLogLevel _level, String _message, ItemModel _owner, StepModel _step) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_cronJob- initial attribute declared by typeJobLogat extensionprocessing_level- initial attribute declared by typeJobLogat extensionprocessing_message- initial attribute declared by typeJobLogat extensionprocessing_owner- initial attribute declared by typeItemat extensioncore_step- initial attribute declared by typeJobLogat extensionprocessing
-
-
Method Details
-
getCronJob
Generated method - Getter of theJobLog.cronJobattribute defined at extensionprocessing.- Returns:
- the cronJob - assigned CronJob
-
getLevel
Generated method - Getter of theJobLog.levelattribute defined at extensionprocessing.- Returns:
- the level
-
getMessage
Generated method - Getter of theJobLog.messageattribute defined at extensionprocessing.- Returns:
- the message
-
getShortMessage
Generated method - Getter of theJobLog.shortMessageattribute defined at extensionprocessing.- Returns:
- the shortMessage
-
getStep
Generated method - Getter of theJobLog.stepattribute defined at extensionprocessing.- Returns:
- the step
-
setCronJob
Generated method - Initial setter ofJobLog.cronJobattribute defined at extensionprocessing. Can only be used at creation of model - before first save.- Parameters:
value- the cronJob - assigned CronJob
-
setLevel
Generated method - Initial setter ofJobLog.levelattribute defined at extensionprocessing. Can only be used at creation of model - before first save.- Parameters:
value- the level
-
setMessage
Generated method - Initial setter ofJobLog.messageattribute defined at extensionprocessing. Can only be used at creation of model - before first save.- Parameters:
value- the message
-
setStep
Generated method - Initial setter ofJobLog.stepattribute defined at extensionprocessing. Can only be used at creation of model - before first save.- Parameters:
value- the step
-