Class DisruptionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.travelservices.model.travel.DisruptionModel
- All Implemented Interfaces:
Serializable
Generated model class for type Disruption first defined at extension travelservices.
This type represents disruption that affected the order.
- 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 relationAbstractOrderDisruptionRelationdefining source attributeabstractOrderin extensiontravelservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofDisruption.abstractOrderattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofDisruption.originDestinationRefNumberattribute defined at extensiontravelservices.static final StringGenerated constant - Attribute key ofDisruption.transportOfferingattribute defined at extensiontravelservices.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.DisruptionModel(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 parametersDisruptionModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theDisruption.abstractOrderattribute defined at extensiontravelservices.Generated method - Getter of theDisruption.originDestinationRefNumberattribute defined at extensiontravelservices.Generated method - Getter of theDisruption.transportOfferingattribute defined at extensiontravelservices.voidGenerated method - Setter ofDisruption.abstractOrderattribute defined at extensiontravelservices.voidGenerated method - Setter ofDisruption.originDestinationRefNumberattribute defined at extensiontravelservices.voidGenerated method - Setter ofDisruption.transportOfferingattribute defined at extensiontravelservices.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:
-
_ABSTRACTORDERDISRUPTIONRELATION
Generated relation code constant for relationAbstractOrderDisruptionRelationdefining source attributeabstractOrderin extensiontravelservices.- See Also:
-
TRANSPORTOFFERING
Generated constant - Attribute key ofDisruption.transportOfferingattribute defined at extensiontravelservices.- See Also:
-
ORIGINDESTINATIONREFNUMBER
Generated constant - Attribute key ofDisruption.originDestinationRefNumberattribute defined at extensiontravelservices.- See Also:
-
ABSTRACTORDER
Generated constant - Attribute key ofDisruption.abstractOrderattribute defined at extensiontravelservices.- See Also:
-
-
Constructor Details
-
DisruptionModel
public DisruptionModel()Generated constructor - Default constructor for generic creation. -
DisruptionModel
public DisruptionModel(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
-
DisruptionModel
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:
_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getAbstractOrder
Generated method - Getter of theDisruption.abstractOrderattribute defined at extensiontravelservices.- Returns:
- the abstractOrder
-
getOriginDestinationRefNumber
@Accessor(qualifier="originDestinationRefNumber", type=GETTER) public Integer getOriginDestinationRefNumber()Generated method - Getter of theDisruption.originDestinationRefNumberattribute defined at extensiontravelservices.- Returns:
- the originDestinationRefNumber
-
getTransportOffering
@Accessor(qualifier="transportOffering", type=GETTER) public TransportOfferingModel getTransportOffering()Generated method - Getter of theDisruption.transportOfferingattribute defined at extensiontravelservices.- Returns:
- the transportOffering
-
setAbstractOrder
@Accessor(qualifier="abstractOrder", type=SETTER) public void setAbstractOrder(AbstractOrderModel value) Generated method - Setter ofDisruption.abstractOrderattribute defined at extensiontravelservices.- Parameters:
value- the abstractOrder
-
setOriginDestinationRefNumber
@Accessor(qualifier="originDestinationRefNumber", type=SETTER) public void setOriginDestinationRefNumber(Integer value) Generated method - Setter ofDisruption.originDestinationRefNumberattribute defined at extensiontravelservices.- Parameters:
value- the originDestinationRefNumber
-
setTransportOffering
@Accessor(qualifier="transportOffering", type=SETTER) public void setTransportOffering(TransportOfferingModel value) Generated method - Setter ofDisruption.transportOfferingattribute defined at extensiontravelservices.- Parameters:
value- the transportOffering
-