Class TuaExternalReferenceModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.tuadatamodel.model.TuaExternalReferenceModel
- All Implemented Interfaces:
Serializable
Generated model class for type TuaExternalReference first defined at extension tuadatamodel.
- 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 ofTuaExternalReference.externalReferenceTypeattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaExternalReference.idattribute defined at extensiontuadatamodel.static final StringGenerated constant - Attribute key ofTuaExternalReference.nameattribute defined at extensiontuadatamodel.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.TuaExternalReferenceModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing contextTuaExternalReferenceModel(String _externalReferenceType, String _id) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersTuaExternalReferenceModel(String _externalReferenceType, String _id, 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 TypeMethodDescriptionGenerated method - Getter of theTuaExternalReference.externalReferenceTypeattribute defined at extensiontuadatamodel.getId()Generated method - Getter of theTuaExternalReference.idattribute defined at extensiontuadatamodel.getName()Generated method - Getter of theTuaExternalReference.nameattribute defined at extensiontuadatamodel.Generated method - Getter of theTuaExternalReference.nameattribute defined at extensiontuadatamodel.voidsetExternalReferenceType(String value) Generated method - Setter ofTuaExternalReference.externalReferenceTypeattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaExternalReference.idattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaExternalReference.nameattribute defined at extensiontuadatamodel.voidGenerated method - Setter ofTuaExternalReference.nameattribute defined at extensiontuadatamodel.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:
-
ID
Generated constant - Attribute key ofTuaExternalReference.idattribute defined at extensiontuadatamodel.- See Also:
-
EXTERNALREFERENCETYPE
Generated constant - Attribute key ofTuaExternalReference.externalReferenceTypeattribute defined at extensiontuadatamodel.- See Also:
-
NAME
Generated constant - Attribute key ofTuaExternalReference.nameattribute defined at extensiontuadatamodel.- See Also:
-
-
Constructor Details
-
TuaExternalReferenceModel
public TuaExternalReferenceModel()Generated constructor - Default constructor for generic creation. -
TuaExternalReferenceModel
public TuaExternalReferenceModel(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
-
TuaExternalReferenceModel
@Deprecated(since="4.1.1", forRemoval=true) public TuaExternalReferenceModel(String _externalReferenceType, String _id) 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:
_externalReferenceType- initial attribute declared by typeTuaExternalReferenceat extensiontuadatamodel_id- initial attribute declared by typeTuaExternalReferenceat extensiontuadatamodel
-
TuaExternalReferenceModel
@Deprecated(since="4.1.1", forRemoval=true) public TuaExternalReferenceModel(String _externalReferenceType, String _id, 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:
_externalReferenceType- initial attribute declared by typeTuaExternalReferenceat extensiontuadatamodel_id- initial attribute declared by typeTuaExternalReferenceat extensiontuadatamodel_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getExternalReferenceType
Generated method - Getter of theTuaExternalReference.externalReferenceTypeattribute defined at extensiontuadatamodel.- Returns:
- the externalReferenceType - The type of the external reference
-
getId
Generated method - Getter of theTuaExternalReference.idattribute defined at extensiontuadatamodel.- Returns:
- the id - The unique identifier of the external reference
-
getName
Generated method - Getter of theTuaExternalReference.nameattribute defined at extensiontuadatamodel.- Returns:
- the name - The name of the external reference
-
getName
Generated method - Getter of theTuaExternalReference.nameattribute defined at extensiontuadatamodel.- Parameters:
loc- the value localization key- Returns:
- the name - The name of the external reference
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setExternalReferenceType
@Accessor(qualifier="externalReferenceType", type=SETTER) public void setExternalReferenceType(String value) Generated method - Setter ofTuaExternalReference.externalReferenceTypeattribute defined at extensiontuadatamodel.- Parameters:
value- the externalReferenceType - The type of the external reference
-
setId
Generated method - Setter ofTuaExternalReference.idattribute defined at extensiontuadatamodel.- Parameters:
value- the id - The unique identifier of the external reference
-
setName
Generated method - Setter ofTuaExternalReference.nameattribute defined at extensiontuadatamodel.- Parameters:
value- the name - The name of the external reference
-
setName
Generated method - Setter ofTuaExternalReference.nameattribute defined at extensiontuadatamodel.- Parameters:
value- the name - The name of the external referenceloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-