Class GeneratedPunchOutCredential

    • Field Detail

      • CODE

        public static final java.lang.String CODE
        Qualifier of the PunchOutCredential.code attribute
        See Also:
        Constant Field Values
      • IDENTITY

        public static final java.lang.String IDENTITY
        Qualifier of the PunchOutCredential.identity attribute
        See Also:
        Constant Field Values
      • DOMAIN

        public static final java.lang.String DOMAIN
        Qualifier of the PunchOutCredential.domain attribute
        See Also:
        Constant Field Values
      • SHAREDSECRET

        public static final java.lang.String SHAREDSECRET
        Qualifier of the PunchOutCredential.sharedsecret attribute
        See Also:
        Constant Field Values
      • B2BCUSTOMERPUNCHOUTCREDENTIALMAPPING

        public static final java.lang.String B2BCUSTOMERPUNCHOUTCREDENTIALMAPPING
        Qualifier of the PunchOutCredential.B2BCustomerPunchOutCredentialMapping attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedPunchOutCredential

        public GeneratedPunchOutCredential()
    • Method Detail

      • getB2BCustomerPunchOutCredentialMapping

        public B2BCustomerPunchOutCredentialMapping getB2BCustomerPunchOutCredentialMapping​(SessionContext ctx)
        Generated method - Getter of the PunchOutCredential.B2BCustomerPunchOutCredentialMapping attribute.
        Returns:
        the B2BCustomerPunchOutCredentialMapping
      • getB2BCustomerPunchOutCredentialMapping

        public B2BCustomerPunchOutCredentialMapping getB2BCustomerPunchOutCredentialMapping()
        Generated method - Getter of the PunchOutCredential.B2BCustomerPunchOutCredentialMapping attribute.
        Returns:
        the B2BCustomerPunchOutCredentialMapping
      • setB2BCustomerPunchOutCredentialMapping

        public void setB2BCustomerPunchOutCredentialMapping​(SessionContext ctx,
                                                            B2BCustomerPunchOutCredentialMapping value)
        Generated method - Setter of the PunchOutCredential.B2BCustomerPunchOutCredentialMapping attribute.
        Parameters:
        value - the B2BCustomerPunchOutCredentialMapping
      • setB2BCustomerPunchOutCredentialMapping

        public void setB2BCustomerPunchOutCredentialMapping​(B2BCustomerPunchOutCredentialMapping value)
        Generated method - Setter of the PunchOutCredential.B2BCustomerPunchOutCredentialMapping attribute.
        Parameters:
        value - the B2BCustomerPunchOutCredentialMapping
      • getCode

        public java.lang.String getCode​(SessionContext ctx)
        Generated method - Getter of the PunchOutCredential.code attribute.
        Returns:
        the code
      • getCode

        public java.lang.String getCode()
        Generated method - Getter of the PunchOutCredential.code attribute.
        Returns:
        the code
      • setCode

        public void setCode​(SessionContext ctx,
                            java.lang.String value)
        Generated method - Setter of the PunchOutCredential.code attribute.
        Parameters:
        value - the code
      • setCode

        public void setCode​(java.lang.String value)
        Generated method - Setter of the PunchOutCredential.code attribute.
        Parameters:
        value - the code
      • createItem

        protected Item createItem​(SessionContext ctx,
                                  ComposedType type,
                                  Item.ItemAttributeMap allAttributes)
                           throws JaloBusinessException
        Description copied from class: Item
        Has to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) during ComposedType.newInstance(Map).

        In case this method uses any of the attribute values during creation it is required to override Item.getNonInitialAttributes(SessionContext, ItemAttributeMap) too.
        Sn example:

        
         public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext
         ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return
         man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) );
         // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes(
         SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret =
         super.getNonInitialAttributes( ctx, allAttributes );
         // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }
        
         
        Overrides:
        createItem in class GenericItem
        Parameters:
        ctx - the current session context which this item is created within
        type - the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )
        Returns:
        the new item instance
        Throws:
        JaloBusinessException - indicates an error during creation - any changes will be rollbacked
      • getDomain

        public java.lang.String getDomain​(SessionContext ctx)
        Generated method - Getter of the PunchOutCredential.domain attribute.
        Returns:
        the domain
      • getDomain

        public java.lang.String getDomain()
        Generated method - Getter of the PunchOutCredential.domain attribute.
        Returns:
        the domain
      • setDomain

        public void setDomain​(SessionContext ctx,
                              java.lang.String value)
        Generated method - Setter of the PunchOutCredential.domain attribute.
        Parameters:
        value - the domain
      • setDomain

        public void setDomain​(java.lang.String value)
        Generated method - Setter of the PunchOutCredential.domain attribute.
        Parameters:
        value - the domain
      • getIdentity

        public java.lang.String getIdentity​(SessionContext ctx)
        Generated method - Getter of the PunchOutCredential.identity attribute.
        Returns:
        the identity
      • getIdentity

        public java.lang.String getIdentity()
        Generated method - Getter of the PunchOutCredential.identity attribute.
        Returns:
        the identity
      • setIdentity

        public void setIdentity​(SessionContext ctx,
                                java.lang.String value)
        Generated method - Setter of the PunchOutCredential.identity attribute.
        Parameters:
        value - the identity
      • setIdentity

        public void setIdentity​(java.lang.String value)
        Generated method - Setter of the PunchOutCredential.identity attribute.
        Parameters:
        value - the identity
      • getSharedsecret

        public java.lang.String getSharedsecret​(SessionContext ctx)
        Generated method - Getter of the PunchOutCredential.sharedsecret attribute.
        Returns:
        the sharedsecret
      • getSharedsecret

        public java.lang.String getSharedsecret()
        Generated method - Getter of the PunchOutCredential.sharedsecret attribute.
        Returns:
        the sharedsecret
      • setSharedsecret

        public void setSharedsecret​(SessionContext ctx,
                                    java.lang.String value)
        Generated method - Setter of the PunchOutCredential.sharedsecret attribute.
        Parameters:
        value - the sharedsecret
      • setSharedsecret

        public void setSharedsecret​(java.lang.String value)
        Generated method - Setter of the PunchOutCredential.sharedsecret attribute.
        Parameters:
        value - the sharedsecret