Class IntegrationObjectItemModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.integrationservices.model.IntegrationObjectItemModel
-
- All Implemented Interfaces:
java.io.Serializable
public class IntegrationObjectItemModel extends ItemModel
Generated model class for type IntegrationObjectItem first defined at extension integrationservices.- 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_INTEGOBJ2INTEGOBJITEMGenerated relation code constant for relationIntegObj2IntegObjItemdefining source attributeintegrationObjectin extensionintegrationservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringATTRIBUTESGenerated constant - Attribute key ofIntegrationObjectItem.attributesattribute defined at extensionintegrationservices.static java.lang.StringCODEGenerated constant - Attribute key ofIntegrationObjectItem.codeattribute defined at extensionintegrationservices.static java.lang.StringINTEGRATIONOBJECTGenerated constant - Attribute key ofIntegrationObjectItem.integrationObjectattribute defined at extensionintegrationservices.static java.lang.StringKEYATTRIBUTESGenerated constant - Attribute key ofIntegrationObjectItem.keyAttributesattribute defined at extensionintegrationservices.static java.lang.StringROOTGenerated constant - Attribute key ofIntegrationObjectItem.rootattribute defined at extensionintegrationservices.static java.lang.StringTYPEGenerated constant - Attribute key ofIntegrationObjectItem.typeattribute defined at extensionintegrationservices.static java.lang.StringUNIQUEATTRIBUTESGenerated constant - Attribute key ofIntegrationObjectItem.uniqueAttributesattribute defined at extensionintegrationservices.-
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 IntegrationObjectItemModel()Generated constructor - Default constructor for generic creation.IntegrationObjectItemModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextIntegrationObjectItemModel(java.lang.String _code, IntegrationObjectModel _integrationObject, ItemModel _owner, ComposedTypeModel _type)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersIntegrationObjectItemModel(java.lang.String _code, IntegrationObjectModel _integrationObject, ComposedTypeModel _type)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.util.Set<IntegrationObjectItemAttributeModel>getAttributes()Generated method - Getter of theIntegrationObjectItem.attributesattribute defined at extensionintegrationservices.java.lang.StringgetCode()Generated method - Getter of theIntegrationObjectItem.codeattribute defined at extensionintegrationservices.IntegrationObjectModelgetIntegrationObject()Generated method - Getter of theIntegrationObjectItem.integrationObjectattribute defined at extensionintegrationservices.java.util.Collection<IntegrationObjectItemAttributeModel>getKeyAttributes()Generated method - Getter of theIntegrationObjectItem.keyAttributesdynamic attribute defined at extensionintegrationservices.java.lang.BooleangetRoot()Generated method - Getter of theIntegrationObjectItem.rootattribute defined at extensionintegrationservices.ComposedTypeModelgetType()Generated method - Getter of theIntegrationObjectItem.typeattribute defined at extensionintegrationservices.java.util.Collection<IntegrationObjectItemAttributeModel>getUniqueAttributes()Generated method - Getter of theIntegrationObjectItem.uniqueAttributesdynamic attribute defined at extensionintegrationservices.voidsetAttributes(java.util.Set<IntegrationObjectItemAttributeModel> value)Generated method - Setter ofIntegrationObjectItem.attributesattribute defined at extensionintegrationservices.voidsetCode(java.lang.String value)Generated method - Setter ofIntegrationObjectItem.codeattribute defined at extensionintegrationservices.voidsetIntegrationObject(IntegrationObjectModel value)Generated method - Setter ofIntegrationObjectItem.integrationObjectattribute defined at extensionintegrationservices.voidsetRoot(java.lang.Boolean value)Generated method - Setter ofIntegrationObjectItem.rootattribute defined at extensionintegrationservices.voidsetType(ComposedTypeModel value)Generated method - Setter ofIntegrationObjectItem.typeattribute defined at extensionintegrationservices.-
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
-
_INTEGOBJ2INTEGOBJITEM
public static final java.lang.String _INTEGOBJ2INTEGOBJITEM
Generated relation code constant for relationIntegObj2IntegObjItemdefining source attributeintegrationObjectin extensionintegrationservices.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofIntegrationObjectItem.codeattribute defined at extensionintegrationservices.- See Also:
- Constant Field Values
-
INTEGRATIONOBJECT
public static final java.lang.String INTEGRATIONOBJECT
Generated constant - Attribute key ofIntegrationObjectItem.integrationObjectattribute defined at extensionintegrationservices.- See Also:
- Constant Field Values
-
TYPE
public static final java.lang.String TYPE
Generated constant - Attribute key ofIntegrationObjectItem.typeattribute defined at extensionintegrationservices.- See Also:
- Constant Field Values
-
ROOT
public static final java.lang.String ROOT
Generated constant - Attribute key ofIntegrationObjectItem.rootattribute defined at extensionintegrationservices.- See Also:
- Constant Field Values
-
UNIQUEATTRIBUTES
public static final java.lang.String UNIQUEATTRIBUTES
Generated constant - Attribute key ofIntegrationObjectItem.uniqueAttributesattribute defined at extensionintegrationservices.- See Also:
- Constant Field Values
-
KEYATTRIBUTES
public static final java.lang.String KEYATTRIBUTES
Generated constant - Attribute key ofIntegrationObjectItem.keyAttributesattribute defined at extensionintegrationservices.- See Also:
- Constant Field Values
-
ATTRIBUTES
public static final java.lang.String ATTRIBUTES
Generated constant - Attribute key ofIntegrationObjectItem.attributesattribute defined at extensionintegrationservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IntegrationObjectItemModel
public IntegrationObjectItemModel()
Generated constructor - Default constructor for generic creation.
-
IntegrationObjectItemModel
public IntegrationObjectItemModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
IntegrationObjectItemModel
@Deprecated(since="4.1.1", forRemoval=true) public IntegrationObjectItemModel(java.lang.String _code, IntegrationObjectModel _integrationObject, ComposedTypeModel _type)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 typeIntegrationObjectItemat extensionintegrationservices_integrationObject- initial attribute declared by typeIntegrationObjectItemat extensionintegrationservices_type- initial attribute declared by typeIntegrationObjectItemat extensionintegrationservices
-
IntegrationObjectItemModel
@Deprecated(since="4.1.1", forRemoval=true) public IntegrationObjectItemModel(java.lang.String _code, IntegrationObjectModel _integrationObject, ItemModel _owner, ComposedTypeModel _type)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 typeIntegrationObjectItemat extensionintegrationservices_integrationObject- initial attribute declared by typeIntegrationObjectItemat extensionintegrationservices_owner- initial attribute declared by typeItemat extensioncore_type- initial attribute declared by typeIntegrationObjectItemat extensionintegrationservices
-
-
Method Detail
-
getAttributes
@Accessor(qualifier="attributes", type=GETTER) public java.util.Set<IntegrationObjectItemAttributeModel> getAttributes()
Generated method - Getter of theIntegrationObjectItem.attributesattribute defined at extensionintegrationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the attributes
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theIntegrationObjectItem.codeattribute defined at extensionintegrationservices.- Returns:
- the code
-
getIntegrationObject
@Accessor(qualifier="integrationObject", type=GETTER) public IntegrationObjectModel getIntegrationObject()
Generated method - Getter of theIntegrationObjectItem.integrationObjectattribute defined at extensionintegrationservices.- Returns:
- the integrationObject
-
getKeyAttributes
@Accessor(qualifier="keyAttributes", type=GETTER) public java.util.Collection<IntegrationObjectItemAttributeModel> getKeyAttributes()
Generated method - Getter of theIntegrationObjectItem.keyAttributesdynamic attribute defined at extensionintegrationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the keyAttributes - a collection of all attributes with unique modifier set to
truein this item type only. The collection does not contain attributes of the referenced types even if they are included in this item's key. For example, for aProductthis collection will contain the 'code' attribute and the 'catalogVersion' attribute, which refers toCatalogVersiononly.
-
getRoot
@Accessor(qualifier="root", type=GETTER) public java.lang.Boolean getRoot()
Generated method - Getter of theIntegrationObjectItem.rootattribute defined at extensionintegrationservices.- Returns:
- the root
-
getType
@Accessor(qualifier="type", type=GETTER) public ComposedTypeModel getType()
Generated method - Getter of theIntegrationObjectItem.typeattribute defined at extensionintegrationservices.- Returns:
- the type
-
getUniqueAttributes
@Accessor(qualifier="uniqueAttributes", type=GETTER) public java.util.Collection<IntegrationObjectItemAttributeModel> getUniqueAttributes()
Generated method - Getter of theIntegrationObjectItem.uniqueAttributesdynamic attribute defined at extensionintegrationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the uniqueAttributes - a collection of all attributes with unique modifier set to
true, which define a composite key for this item. The collection contains only attributes of primitive types: if a relation attribute is set to 'unique', then key attributes of the referred type will be returned instead of the reference key attribute, e.g. unique key for aProductis the 'code' attribute and the 'catalogVersion' attribute, which refers toCatalogVersion;CatalogVersionin its turn has a unique attributeversionand a unique reference attribute toCatalog. So, the result of calling the method will containProduct.code,CatalogVersion.version, andCatalog.idattribute models.
-
setAttributes
@Accessor(qualifier="attributes", type=SETTER) public void setAttributes(java.util.Set<IntegrationObjectItemAttributeModel> value)
Generated method - Setter ofIntegrationObjectItem.attributesattribute defined at extensionintegrationservices.- Parameters:
value- the attributes
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Setter ofIntegrationObjectItem.codeattribute defined at extensionintegrationservices.- Parameters:
value- the code
-
setIntegrationObject
@Accessor(qualifier="integrationObject", type=SETTER) public void setIntegrationObject(IntegrationObjectModel value)
Generated method - Setter ofIntegrationObjectItem.integrationObjectattribute defined at extensionintegrationservices.- Parameters:
value- the integrationObject
-
setRoot
@Accessor(qualifier="root", type=SETTER) public void setRoot(java.lang.Boolean value)
Generated method - Setter ofIntegrationObjectItem.rootattribute defined at extensionintegrationservices.- Parameters:
value- the root
-
setType
@Accessor(qualifier="type", type=SETTER) public void setType(ComposedTypeModel value)
Generated method - Setter ofIntegrationObjectItem.typeattribute defined at extensionintegrationservices.- Parameters:
value- the type
-
-