Class PhoneContactInfoModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.user.AbstractContactInfoModel
-
- de.hybris.platform.core.model.user.PhoneContactInfoModel
-
- All Implemented Interfaces:
java.io.Serializable
public class PhoneContactInfoModel extends AbstractContactInfoModel
Generated model class for type PhoneContactInfo first defined at extension core.Phone contact info.
- 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.StringPHONENUMBERGenerated constant - Attribute key ofPhoneContactInfo.phoneNumberattribute defined at extensioncore.static java.lang.StringTYPEGenerated constant - Attribute key ofPhoneContactInfo.typeattribute defined at extensioncore.-
Fields inherited from class de.hybris.platform.core.model.user.AbstractContactInfoModel
_USER2CONTACTINFOS, CODE, USER, USERPOS
-
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 PhoneContactInfoModel()Generated constructor - Default constructor for generic creation.PhoneContactInfoModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextPhoneContactInfoModel(java.lang.String _code, ItemModel _owner, java.lang.String _phoneNumber, PhoneContactInfoType _type, UserModel _user)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPhoneContactInfoModel(java.lang.String _code, java.lang.String _phoneNumber, PhoneContactInfoType _type, UserModel _user)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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPhoneNumber()Generated method - Getter of thePhoneContactInfo.phoneNumberattribute defined at extensioncore.PhoneContactInfoTypegetType()Generated method - Getter of thePhoneContactInfo.typeattribute defined at extensioncore.voidsetPhoneNumber(java.lang.String value)Generated method - Setter ofPhoneContactInfo.phoneNumberattribute defined at extensioncore.voidsetType(PhoneContactInfoType value)Generated method - Setter ofPhoneContactInfo.typeattribute defined at extensioncore.-
Methods inherited from class de.hybris.platform.core.model.user.AbstractContactInfoModel
getCode, getUser, setCode, setUser
-
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
-
PHONENUMBER
public static final java.lang.String PHONENUMBER
Generated constant - Attribute key ofPhoneContactInfo.phoneNumberattribute defined at extensioncore.- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
Generated constant - Attribute key ofPhoneContactInfo.typeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PhoneContactInfoModel
public PhoneContactInfoModel()
Generated constructor - Default constructor for generic creation.
-
PhoneContactInfoModel
public PhoneContactInfoModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
PhoneContactInfoModel
@Deprecated(since="4.1.1", forRemoval=true) public PhoneContactInfoModel(java.lang.String _code, java.lang.String _phoneNumber, PhoneContactInfoType _type, UserModel _user)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 typeAbstractContactInfoat extensioncore_phoneNumber- initial attribute declared by typePhoneContactInfoat extensioncore_type- initial attribute declared by typePhoneContactInfoat extensioncore_user- initial attribute declared by typeAbstractContactInfoat extensioncore
-
PhoneContactInfoModel
@Deprecated(since="4.1.1", forRemoval=true) public PhoneContactInfoModel(java.lang.String _code, ItemModel _owner, java.lang.String _phoneNumber, PhoneContactInfoType _type, UserModel _user)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 typeAbstractContactInfoat extensioncore_owner- initial attribute declared by typeItemat extensioncore_phoneNumber- initial attribute declared by typePhoneContactInfoat extensioncore_type- initial attribute declared by typePhoneContactInfoat extensioncore_user- initial attribute declared by typeAbstractContactInfoat extensioncore
-
-
Method Detail
-
getPhoneNumber
@Accessor(qualifier="phoneNumber", type=GETTER) public java.lang.String getPhoneNumber()
Generated method - Getter of thePhoneContactInfo.phoneNumberattribute defined at extensioncore.- Returns:
- the phoneNumber
-
getType
@Accessor(qualifier="type", type=GETTER) public PhoneContactInfoType getType()
Generated method - Getter of thePhoneContactInfo.typeattribute defined at extensioncore.- Returns:
- the type
-
setPhoneNumber
@Accessor(qualifier="phoneNumber", type=SETTER) public void setPhoneNumber(java.lang.String value)
Generated method - Setter ofPhoneContactInfo.phoneNumberattribute defined at extensioncore.- Parameters:
value- the phoneNumber
-
setType
@Accessor(qualifier="type", type=SETTER) public void setType(PhoneContactInfoType value)
Generated method - Setter ofPhoneContactInfo.typeattribute defined at extensioncore.- Parameters:
value- the type
-
-