Class CMSYmktCampaignRestrictionModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CMSYmktCampaignRestrictionModel
    extends AbstractRestrictionModel
    Generated model class for type CMSYmktCampaignRestriction first defined at extension sapymktsegmentation.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • CAMPAIGN

        public static final java.lang.String CAMPAIGN
        Generated constant - Attribute key of CMSYmktCampaignRestriction.campaign attribute defined at extension sapymktsegmentation.
        See Also:
        Constant Field Values
      • MEMBEROFCAMPAIGN

        public static final java.lang.String MEMBEROFCAMPAIGN
        Generated constant - Attribute key of CMSYmktCampaignRestriction.memberOfCampaign attribute defined at extension sapymktsegmentation.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CMSYmktCampaignRestrictionModel

        public CMSYmktCampaignRestrictionModel()
        Generated constructor - Default constructor for generic creation.
      • CMSYmktCampaignRestrictionModel

        public CMSYmktCampaignRestrictionModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • CMSYmktCampaignRestrictionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSYmktCampaignRestrictionModel​(java.lang.String _campaign,
                                               CatalogVersionModel _catalogVersion,
                                               java.lang.String _uid)
        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
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _campaign - initial attribute declared by type CMSYmktCampaignRestriction at extension sapymktsegmentation
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _uid - initial attribute declared by type CMSItem at extension cms2
      • CMSYmktCampaignRestrictionModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CMSYmktCampaignRestrictionModel​(java.lang.String _campaign,
                                               CatalogVersionModel _catalogVersion,
                                               ItemModel _owner,
                                               java.lang.String _uid)
        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
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _campaign - initial attribute declared by type CMSYmktCampaignRestriction at extension sapymktsegmentation
        _catalogVersion - initial attribute declared by type CMSItem at extension cms2
        _owner - initial attribute declared by type Item at extension core
        _uid - initial attribute declared by type CMSItem at extension cms2
    • Method Detail

      • getCampaign

        @Accessor(qualifier="campaign",
                  type=GETTER)
        public java.lang.String getCampaign()
        Generated method - Getter of the CMSYmktCampaignRestriction.campaign attribute defined at extension sapymktsegmentation.
        Returns:
        the campaign - Campaign selected for restriction
      • getMemberOfCampaign

        @Accessor(qualifier="memberOfCampaign",
                  type=GETTER)
        public java.lang.Boolean getMemberOfCampaign()
        Generated method - Getter of the CMSYmktCampaignRestriction.memberOfCampaign attribute defined at extension sapymktsegmentation.
        Returns:
        the memberOfCampaign - Determines if restriction is valid when the user is a member of the selected campaign
      • setCampaign

        @Accessor(qualifier="campaign",
                  type=SETTER)
        public void setCampaign​(java.lang.String value)
        Generated method - Setter of CMSYmktCampaignRestriction.campaign attribute defined at extension sapymktsegmentation.
        Parameters:
        value - the campaign - Campaign selected for restriction
      • setMemberOfCampaign

        @Accessor(qualifier="memberOfCampaign",
                  type=SETTER)
        public void setMemberOfCampaign​(java.lang.Boolean value)
        Generated method - Setter of CMSYmktCampaignRestriction.memberOfCampaign attribute defined at extension sapymktsegmentation.
        Parameters:
        value - the memberOfCampaign - Determines if restriction is valid when the user is a member of the selected campaign