Class SessionEventModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.ticketsystem.events.model.SessionEventModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
SessionEndEventModel,SessionStartEventModel
public class SessionEventModel extends ItemModel
Generated model class for type SessionEvent first defined at extension ticketsystem.- 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_TYPECODEGenerated model type code constant.static java.lang.StringAGENTGenerated constant - Attribute key ofSessionEvent.agentattribute defined at extensionticketsystem.static java.lang.StringBASESITEGenerated constant - Attribute key ofSessionEvent.baseSiteattribute defined at extensionticketsystem.static java.lang.StringEVENTTIMEGenerated constant - Attribute key ofSessionEvent.eventTimeattribute defined at extensionticketsystem.static java.lang.StringGROUPSGenerated constant - Attribute key ofSessionEvent.groupsattribute defined at extensionticketsystem.static java.lang.StringSESSIONIDGenerated constant - Attribute key ofSessionEvent.sessionIDattribute defined at extensionticketsystem.-
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 SessionEventModel()Generated constructor - Default constructor for generic creation.SessionEventModel(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 parametersSessionEventModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EmployeeModelgetAgent()Generated method - Getter of theSessionEvent.agentattribute defined at extensionticketsystem.BaseSiteModelgetBaseSite()Generated method - Getter of theSessionEvent.baseSiteattribute defined at extensionticketsystem.java.util.DategetEventTime()Generated method - Getter of theSessionEvent.eventTimeattribute defined at extensionticketsystem.java.util.List<PrincipalGroupModel>getGroups()Generated method - Getter of theSessionEvent.groupsattribute defined at extensionticketsystem.java.lang.StringgetSessionID()Generated method - Getter of theSessionEvent.sessionIDattribute defined at extensionticketsystem.voidsetAgent(EmployeeModel value)Generated method - Setter ofSessionEvent.agentattribute defined at extensionticketsystem.voidsetBaseSite(BaseSiteModel value)Generated method - Setter ofSessionEvent.baseSiteattribute defined at extensionticketsystem.voidsetEventTime(java.util.Date value)Generated method - Setter ofSessionEvent.eventTimeattribute defined at extensionticketsystem.voidsetGroups(java.util.List<PrincipalGroupModel> value)Generated method - Setter ofSessionEvent.groupsattribute defined at extensionticketsystem.voidsetSessionID(java.lang.String value)Generated method - Setter ofSessionEvent.sessionIDattribute defined at extensionticketsystem.-
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
-
EVENTTIME
public static final java.lang.String EVENTTIME
Generated constant - Attribute key ofSessionEvent.eventTimeattribute defined at extensionticketsystem.- See Also:
- Constant Field Values
-
AGENT
public static final java.lang.String AGENT
Generated constant - Attribute key ofSessionEvent.agentattribute defined at extensionticketsystem.- See Also:
- Constant Field Values
-
SESSIONID
public static final java.lang.String SESSIONID
Generated constant - Attribute key ofSessionEvent.sessionIDattribute defined at extensionticketsystem.- See Also:
- Constant Field Values
-
BASESITE
public static final java.lang.String BASESITE
Generated constant - Attribute key ofSessionEvent.baseSiteattribute defined at extensionticketsystem.- See Also:
- Constant Field Values
-
GROUPS
public static final java.lang.String GROUPS
Generated constant - Attribute key ofSessionEvent.groupsattribute defined at extensionticketsystem.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SessionEventModel
public SessionEventModel()
Generated constructor - Default constructor for generic creation.
-
SessionEventModel
public SessionEventModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
SessionEventModel
@Deprecated(since="4.1.1", forRemoval=true) public SessionEventModel(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:
_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getAgent
@Accessor(qualifier="agent", type=GETTER) public EmployeeModel getAgent()
Generated method - Getter of theSessionEvent.agentattribute defined at extensionticketsystem.- Returns:
- the agent - Any employee.
-
getBaseSite
@Accessor(qualifier="baseSite", type=GETTER) public BaseSiteModel getBaseSite()
Generated method - Getter of theSessionEvent.baseSiteattribute defined at extensionticketsystem.- Returns:
- the baseSite - Site model where event was created.
-
getEventTime
@Accessor(qualifier="eventTime", type=GETTER) public java.util.Date getEventTime()
Generated method - Getter of theSessionEvent.eventTimeattribute defined at extensionticketsystem.- Returns:
- the eventTime - Event creation time.
-
getGroups
@Accessor(qualifier="groups", type=GETTER) public java.util.List<PrincipalGroupModel> getGroups()
Generated method - Getter of theSessionEvent.groupsattribute defined at extensionticketsystem. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the groups
-
getSessionID
@Accessor(qualifier="sessionID", type=GETTER) public java.lang.String getSessionID()
Generated method - Getter of theSessionEvent.sessionIDattribute defined at extensionticketsystem.- Returns:
- the sessionID - Unique identificator.
-
setAgent
@Accessor(qualifier="agent", type=SETTER) public void setAgent(EmployeeModel value)
Generated method - Setter ofSessionEvent.agentattribute defined at extensionticketsystem.- Parameters:
value- the agent - Any employee.
-
setBaseSite
@Accessor(qualifier="baseSite", type=SETTER) public void setBaseSite(BaseSiteModel value)
Generated method - Setter ofSessionEvent.baseSiteattribute defined at extensionticketsystem.- Parameters:
value- the baseSite - Site model where event was created.
-
setEventTime
@Accessor(qualifier="eventTime", type=SETTER) public void setEventTime(java.util.Date value)
Generated method - Setter ofSessionEvent.eventTimeattribute defined at extensionticketsystem.- Parameters:
value- the eventTime - Event creation time.
-
setGroups
@Accessor(qualifier="groups", type=SETTER) public void setGroups(java.util.List<PrincipalGroupModel> value)
Generated method - Setter ofSessionEvent.groupsattribute defined at extensionticketsystem.- Parameters:
value- the groups
-
-