Class APIUserModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.prosservices.model.APIUserModel
- All Implemented Interfaces:
Serializable
Generated model class for type APIUser first defined at extension prosservices.
This type represents pros api user.
- 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 model type code constant.static final StringGenerated constant - Attribute key ofAPIUser.codeattribute defined at extensionprosservices.static final StringGenerated constant - Attribute key ofAPIUser.descriptionattribute defined at extensionprosservices.static final StringGenerated constant - Attribute key ofAPIUser.userNameattribute defined at extensionprosservices.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.APIUserModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextAPIUserModel(String _code) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersAPIUserModel(String _code, 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 parameters -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Generated method - Getter of theAPIUser.codeattribute defined at extensionprosservices.Generated method - Getter of theAPIUser.descriptionattribute defined at extensionprosservices.getDescription(Locale loc) Generated method - Getter of theAPIUser.descriptionattribute defined at extensionprosservices.Generated method - Getter of theAPIUser.userNameattribute defined at extensionprosservices.voidGenerated method - Setter ofAPIUser.codeattribute defined at extensionprosservices.voidsetDescription(String value) Generated method - Setter ofAPIUser.descriptionattribute defined at extensionprosservices.voidsetDescription(String value, Locale loc) Generated method - Setter ofAPIUser.descriptionattribute defined at extensionprosservices.voidsetUserName(String value) Generated method - Setter ofAPIUser.userNameattribute defined at extensionprosservices.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:
-
CODE
Generated constant - Attribute key ofAPIUser.codeattribute defined at extensionprosservices.- See Also:
-
USERNAME
Generated constant - Attribute key ofAPIUser.userNameattribute defined at extensionprosservices.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofAPIUser.descriptionattribute defined at extensionprosservices.- See Also:
-
-
Constructor Details
-
APIUserModel
public APIUserModel()Generated constructor - Default constructor for generic creation. -
APIUserModel
public APIUserModel(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
-
APIUserModel
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:
_code- initial attribute declared by typeAPIUserat extensionprosservices
-
APIUserModel
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:
_code- initial attribute declared by typeAPIUserat extensionprosservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCode
Generated method - Getter of theAPIUser.codeattribute defined at extensionprosservices.- Returns:
- the code - Unique code that identifies api user in pros
-
getDescription
Generated method - Getter of theAPIUser.descriptionattribute defined at extensionprosservices.- Returns:
- the description - This identifies description of the api user in pros
-
getDescription
Generated method - Getter of theAPIUser.descriptionattribute defined at extensionprosservices.- Parameters:
loc- the value localization key- Returns:
- the description - This identifies description of the api user in pros
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getUserName
Generated method - Getter of theAPIUser.userNameattribute defined at extensionprosservices.- Returns:
- the userName - The userName that identifies code of api user in pros
-
setCode
Generated method - Setter ofAPIUser.codeattribute defined at extensionprosservices.- Parameters:
value- the code - Unique code that identifies api user in pros
-
setDescription
Generated method - Setter ofAPIUser.descriptionattribute defined at extensionprosservices.- Parameters:
value- the description - This identifies description of the api user in pros
-
setDescription
@Accessor(qualifier="description", type=SETTER) public void setDescription(String value, Locale loc) Generated method - Setter ofAPIUser.descriptionattribute defined at extensionprosservices.- Parameters:
value- the description - This identifies description of the api user in prosloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setUserName
Generated method - Setter ofAPIUser.userNameattribute defined at extensionprosservices.- Parameters:
value- the userName - The userName that identifies code of api user in pros
-