Package de.hybris.platform.patches.model
Class PatchExecutionUnitModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.patches.model.PatchExecutionUnitModel
-
- All Implemented Interfaces:
java.io.Serializable
public class PatchExecutionUnitModel extends ItemModel
Generated model class for type PatchExecutionUnit first defined at extension patches.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_PATCHEXECUTION2PATCHEXECUTIONUNITRELGenerated relation code constant for relationPatchExecution2PatchExecutionUnitReldefining source attributepatchin extensionpatches.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCONTENTHASHGenerated constant - Attribute key ofPatchExecutionUnit.contentHashattribute defined at extensionpatches.static java.lang.StringCRONJOBGenerated constant - Attribute key ofPatchExecutionUnit.cronjobattribute defined at extensionpatches.static java.lang.StringERRORLOGGenerated constant - Attribute key ofPatchExecutionUnit.errorLogattribute defined at extensionpatches.static java.lang.StringEXECUTIONSTATUSGenerated constant - Attribute key ofPatchExecutionUnit.executionStatusattribute defined at extensionpatches.static java.lang.StringEXECUTIONTIMEGenerated constant - Attribute key ofPatchExecutionUnit.executionTimeattribute defined at extensionpatches.static java.lang.StringEXECUTIONTYPEGenerated constant - Attribute key ofPatchExecutionUnit.executionTypeattribute defined at extensionpatches.static java.lang.StringIDHASHGenerated constant - Attribute key ofPatchExecutionUnit.idHashattribute defined at extensionpatches.static java.lang.StringNAMEGenerated constant - Attribute key ofPatchExecutionUnit.nameattribute defined at extensionpatches.static java.lang.StringORDERNUMBERGenerated constant - Attribute key ofPatchExecutionUnit.orderNumberattribute defined at extensionpatches.static java.lang.StringORGANISATIONGenerated constant - Attribute key ofPatchExecutionUnit.organisationattribute defined at extensionpatches.static java.lang.StringPATCHGenerated constant - Attribute key ofPatchExecutionUnit.patchattribute defined at extensionpatches.-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description PatchExecutionUnitModel()Generated constructor - Default constructor for generic creation.PatchExecutionUnitModel(ExecutionUnitType _executionType, java.lang.String _idHash, java.lang.String _name, java.lang.Integer _orderNumber)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPatchExecutionUnitModel(ExecutionUnitType _executionType, java.lang.String _idHash, java.lang.String _name, java.lang.Integer _orderNumber, ItemModel _owner)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPatchExecutionUnitModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetContentHash()Generated method - Getter of thePatchExecutionUnit.contentHashattribute defined at extensionpatches.CronJobModelgetCronjob()Generated method - Getter of thePatchExecutionUnit.cronjobattribute defined at extensionpatches.java.lang.StringgetErrorLog()Generated method - Getter of thePatchExecutionUnit.errorLogattribute defined at extensionpatches.ExecutionStatusgetExecutionStatus()Generated method - Getter of thePatchExecutionUnit.executionStatusattribute defined at extensionpatches.java.util.DategetExecutionTime()Generated method - Getter of thePatchExecutionUnit.executionTimeattribute defined at extensionpatches.ExecutionUnitTypegetExecutionType()Generated method - Getter of thePatchExecutionUnit.executionTypeattribute defined at extensionpatches.java.lang.StringgetIdHash()Generated method - Getter of thePatchExecutionUnit.idHashattribute defined at extensionpatches.java.lang.StringgetName()Generated method - Getter of thePatchExecutionUnit.nameattribute defined at extensionpatches.java.lang.IntegergetOrderNumber()Generated method - Getter of thePatchExecutionUnit.orderNumberattribute defined at extensionpatches.java.lang.StringgetOrganisation()Generated method - Getter of thePatchExecutionUnit.organisationattribute defined at extensionpatches.PatchExecutionModelgetPatch()Generated method - Getter of thePatchExecutionUnit.patchattribute defined at extensionpatches.voidsetContentHash(java.lang.String value)Generated method - Setter ofPatchExecutionUnit.contentHashattribute defined at extensionpatches.voidsetCronjob(CronJobModel value)Generated method - Setter ofPatchExecutionUnit.cronjobattribute defined at extensionpatches.voidsetErrorLog(java.lang.String value)Generated method - Setter ofPatchExecutionUnit.errorLogattribute defined at extensionpatches.voidsetExecutionStatus(ExecutionStatus value)Generated method - Setter ofPatchExecutionUnit.executionStatusattribute defined at extensionpatches.voidsetExecutionTime(java.util.Date value)Generated method - Setter ofPatchExecutionUnit.executionTimeattribute defined at extensionpatches.voidsetExecutionType(ExecutionUnitType value)Generated method - Setter ofPatchExecutionUnit.executionTypeattribute defined at extensionpatches.voidsetIdHash(java.lang.String value)Generated method - Setter ofPatchExecutionUnit.idHashattribute defined at extensionpatches.voidsetName(java.lang.String value)Generated method - Setter ofPatchExecutionUnit.nameattribute defined at extensionpatches.voidsetOrderNumber(java.lang.Integer value)Generated method - Setter ofPatchExecutionUnit.orderNumberattribute defined at extensionpatches.voidsetOrganisation(java.lang.String value)Generated method - Setter ofPatchExecutionUnit.organisationattribute defined at extensionpatches.voidsetPatch(PatchExecutionModel value)Generated method - Setter ofPatchExecutionUnit.patchattribute defined at extensionpatches.-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods 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 Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
_PATCHEXECUTION2PATCHEXECUTIONUNITREL
public static final java.lang.String _PATCHEXECUTION2PATCHEXECUTIONUNITREL
Generated relation code constant for relationPatchExecution2PatchExecutionUnitReldefining source attributepatchin extensionpatches.- See Also:
- Constant Field Values
-
IDHASH
public static final java.lang.String IDHASH
Generated constant - Attribute key ofPatchExecutionUnit.idHashattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofPatchExecutionUnit.nameattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
ORDERNUMBER
public static final java.lang.String ORDERNUMBER
Generated constant - Attribute key ofPatchExecutionUnit.orderNumberattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
ORGANISATION
public static final java.lang.String ORGANISATION
Generated constant - Attribute key ofPatchExecutionUnit.organisationattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
EXECUTIONSTATUS
public static final java.lang.String EXECUTIONSTATUS
Generated constant - Attribute key ofPatchExecutionUnit.executionStatusattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
EXECUTIONTYPE
public static final java.lang.String EXECUTIONTYPE
Generated constant - Attribute key ofPatchExecutionUnit.executionTypeattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
EXECUTIONTIME
public static final java.lang.String EXECUTIONTIME
Generated constant - Attribute key ofPatchExecutionUnit.executionTimeattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
CONTENTHASH
public static final java.lang.String CONTENTHASH
Generated constant - Attribute key ofPatchExecutionUnit.contentHashattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
ERRORLOG
public static final java.lang.String ERRORLOG
Generated constant - Attribute key ofPatchExecutionUnit.errorLogattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
CRONJOB
public static final java.lang.String CRONJOB
Generated constant - Attribute key ofPatchExecutionUnit.cronjobattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
PATCH
public static final java.lang.String PATCH
Generated constant - Attribute key ofPatchExecutionUnit.patchattribute defined at extensionpatches.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PatchExecutionUnitModel
public PatchExecutionUnitModel()
Generated constructor - Default constructor for generic creation.
-
PatchExecutionUnitModel
public PatchExecutionUnitModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
PatchExecutionUnitModel
@Deprecated(since="4.1.1", forRemoval=true) public PatchExecutionUnitModel(ExecutionUnitType _executionType, java.lang.String _idHash, java.lang.String _name, java.lang.Integer _orderNumber)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:
_executionType- initial attribute declared by typePatchExecutionUnitat extensionpatches_idHash- initial attribute declared by typePatchExecutionUnitat extensionpatches_name- initial attribute declared by typePatchExecutionUnitat extensionpatches_orderNumber- initial attribute declared by typePatchExecutionUnitat extensionpatches
-
PatchExecutionUnitModel
@Deprecated(since="4.1.1", forRemoval=true) public PatchExecutionUnitModel(ExecutionUnitType _executionType, java.lang.String _idHash, java.lang.String _name, java.lang.Integer _orderNumber, ItemModel _owner)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:
_executionType- initial attribute declared by typePatchExecutionUnitat extensionpatches_idHash- initial attribute declared by typePatchExecutionUnitat extensionpatches_name- initial attribute declared by typePatchExecutionUnitat extensionpatches_orderNumber- initial attribute declared by typePatchExecutionUnitat extensionpatches_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getContentHash
@Accessor(qualifier="contentHash", type=GETTER) public java.lang.String getContentHash()
Generated method - Getter of thePatchExecutionUnit.contentHashattribute defined at extensionpatches.- Returns:
- the contentHash - The impex content hash.
-
getCronjob
@Accessor(qualifier="cronjob", type=GETTER) public CronJobModel getCronjob()
Generated method - Getter of thePatchExecutionUnit.cronjobattribute defined at extensionpatches.- Returns:
- the cronjob
-
getErrorLog
@Accessor(qualifier="errorLog", type=GETTER) public java.lang.String getErrorLog()
Generated method - Getter of thePatchExecutionUnit.errorLogattribute defined at extensionpatches.- Returns:
- the errorLog - Details about errors during the execution of specific patch execution unit element.
-
getExecutionStatus
@Accessor(qualifier="executionStatus", type=GETTER) public ExecutionStatus getExecutionStatus()
Generated method - Getter of thePatchExecutionUnit.executionStatusattribute defined at extensionpatches.- Returns:
- the executionStatus
-
getExecutionTime
@Accessor(qualifier="executionTime", type=GETTER) public java.util.Date getExecutionTime()
Generated method - Getter of thePatchExecutionUnit.executionTimeattribute defined at extensionpatches.- Returns:
- the executionTime - The time when the patch item was applied.
-
getExecutionType
@Accessor(qualifier="executionType", type=GETTER) public ExecutionUnitType getExecutionType()
Generated method - Getter of thePatchExecutionUnit.executionTypeattribute defined at extensionpatches.- Returns:
- the executionType
-
getIdHash
@Accessor(qualifier="idHash", type=GETTER) public java.lang.String getIdHash()
Generated method - Getter of thePatchExecutionUnit.idHashattribute defined at extensionpatches.- Returns:
- the idHash - The execution unit id hash
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of thePatchExecutionUnit.nameattribute defined at extensionpatches.- Returns:
- the name
-
getOrderNumber
@Accessor(qualifier="orderNumber", type=GETTER) public java.lang.Integer getOrderNumber()
Generated method - Getter of thePatchExecutionUnit.orderNumberattribute defined at extensionpatches.- Returns:
- the orderNumber
-
getOrganisation
@Accessor(qualifier="organisation", type=GETTER) public java.lang.String getOrganisation()
Generated method - Getter of thePatchExecutionUnit.organisationattribute defined at extensionpatches.- Returns:
- the organisation
-
getPatch
@Accessor(qualifier="patch", type=GETTER) public PatchExecutionModel getPatch()
Generated method - Getter of thePatchExecutionUnit.patchattribute defined at extensionpatches.- Returns:
- the patch
-
setContentHash
@Accessor(qualifier="contentHash", type=SETTER) public void setContentHash(java.lang.String value)
Generated method - Setter ofPatchExecutionUnit.contentHashattribute defined at extensionpatches.- Parameters:
value- the contentHash - The impex content hash.
-
setCronjob
@Accessor(qualifier="cronjob", type=SETTER) public void setCronjob(CronJobModel value)
Generated method - Setter ofPatchExecutionUnit.cronjobattribute defined at extensionpatches.- Parameters:
value- the cronjob
-
setErrorLog
@Accessor(qualifier="errorLog", type=SETTER) public void setErrorLog(java.lang.String value)
Generated method - Setter ofPatchExecutionUnit.errorLogattribute defined at extensionpatches.- Parameters:
value- the errorLog - Details about errors during the execution of specific patch execution unit element.
-
setExecutionStatus
@Accessor(qualifier="executionStatus", type=SETTER) public void setExecutionStatus(ExecutionStatus value)
Generated method - Setter ofPatchExecutionUnit.executionStatusattribute defined at extensionpatches.- Parameters:
value- the executionStatus
-
setExecutionTime
@Accessor(qualifier="executionTime", type=SETTER) public void setExecutionTime(java.util.Date value)
Generated method - Setter ofPatchExecutionUnit.executionTimeattribute defined at extensionpatches.- Parameters:
value- the executionTime - The time when the patch item was applied.
-
setExecutionType
@Accessor(qualifier="executionType", type=SETTER) public void setExecutionType(ExecutionUnitType value)
Generated method - Setter ofPatchExecutionUnit.executionTypeattribute defined at extensionpatches.- Parameters:
value- the executionType
-
setIdHash
@Accessor(qualifier="idHash", type=SETTER) public void setIdHash(java.lang.String value)
Generated method - Setter ofPatchExecutionUnit.idHashattribute defined at extensionpatches.- Parameters:
value- the idHash - The execution unit id hash
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofPatchExecutionUnit.nameattribute defined at extensionpatches.- Parameters:
value- the name
-
setOrderNumber
@Accessor(qualifier="orderNumber", type=SETTER) public void setOrderNumber(java.lang.Integer value)
Generated method - Setter ofPatchExecutionUnit.orderNumberattribute defined at extensionpatches.- Parameters:
value- the orderNumber
-
setOrganisation
@Accessor(qualifier="organisation", type=SETTER) public void setOrganisation(java.lang.String value)
Generated method - Setter ofPatchExecutionUnit.organisationattribute defined at extensionpatches.- Parameters:
value- the organisation
-
setPatch
@Accessor(qualifier="patch", type=SETTER) public void setPatch(PatchExecutionModel value)
Generated method - Setter ofPatchExecutionUnit.patchattribute defined at extensionpatches.- Parameters:
value- the patch
-
-