Class HvlOAuthProfileDetailNameModel
java.lang.Object
tr.com.havelsan.javarch.dto.model.HvlLocalizedModel
tr.com.havelsan.javarch.oauth.jpa.data.common.module.profile.model.HvlOAuthProfileDetailNameModel
- All Implemented Interfaces:
Serializable
public class HvlOAuthProfileDetailNameModel
extends tr.com.havelsan.javarch.dto.model.HvlLocalizedModel
A data transfer object is used for profile detail operations.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new Hvl o auth profile detail name model.HvlOAuthProfileDetailNameModel(String name, String locale) Instantiates a new Hvl o auth profile detail name model. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets locale.getName()Gets name.Gets profile detail id.inthashCode()voidSets locale.voidSets name.voidsetProfileDetailId(Long profileDetailId) Sets profile detail id.Methods inherited from class tr.com.havelsan.javarch.dto.model.HvlLocalizedModel
getLocalizedId, setLocalizedId
-
Constructor Details
-
HvlOAuthProfileDetailNameModel
public HvlOAuthProfileDetailNameModel()Instantiates a new Hvl o auth profile detail name model. -
HvlOAuthProfileDetailNameModel
Instantiates a new Hvl o auth profile detail name model.- Parameters:
name- the namelocale- the locale
-
-
Method Details
-
getName
Gets name.- Returns:
- the name
-
setName
Sets name.- Parameters:
name- the name
-
getLocale
Gets locale.- Overrides:
getLocalein classtr.com.havelsan.javarch.dto.model.HvlLocalizedModel- Returns:
- the locale
-
setLocale
Sets locale.- Overrides:
setLocalein classtr.com.havelsan.javarch.dto.model.HvlLocalizedModel- Parameters:
locale- the locale
-
getProfileDetailId
Gets profile detail id.- Returns:
- the profile detail id
-
setProfileDetailId
Sets profile detail id.- Parameters:
profileDetailId- the profile detail id
-
equals
- Overrides:
equalsin classtr.com.havelsan.javarch.dto.model.HvlLocalizedModel
-
hashCode
public int hashCode()- Overrides:
hashCodein classtr.com.havelsan.javarch.dto.model.HvlLocalizedModel
-