Class GeneratedPunchOutCredential

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
PunchOutCredential

public abstract class GeneratedPunchOutCredential extends GenericItem
Generated class for type PunchOutCredential.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedPunchOutCredential

      public GeneratedPunchOutCredential()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class Item
    • 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 String getCode(SessionContext ctx)
      Generated method - Getter of the PunchOutCredential.code attribute.
      Returns:
      the code
    • getCode

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

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

      public void setCode(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 String getDomain(SessionContext ctx)
      Generated method - Getter of the PunchOutCredential.domain attribute.
      Returns:
      the domain
    • getDomain

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

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

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

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

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

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

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

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

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

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

      public void setSharedsecret(String value)
      Generated method - Setter of the PunchOutCredential.sharedsecret attribute.
      Parameters:
      value - the sharedsecret
    • getSharedSecretModifiedTime

      public Date getSharedSecretModifiedTime(SessionContext ctx)
      Generated method - Getter of the PunchOutCredential.sharedSecretModifiedTime attribute.
      Returns:
      the sharedSecretModifiedTime
    • getSharedSecretModifiedTime

      public Date getSharedSecretModifiedTime()
      Generated method - Getter of the PunchOutCredential.sharedSecretModifiedTime attribute.
      Returns:
      the sharedSecretModifiedTime
    • setSharedSecretModifiedTime

      public void setSharedSecretModifiedTime(SessionContext ctx, Date value)
      Generated method - Setter of the PunchOutCredential.sharedSecretModifiedTime attribute.
      Parameters:
      value - the sharedSecretModifiedTime
    • setSharedSecretModifiedTime

      public void setSharedSecretModifiedTime(Date value)
      Generated method - Setter of the PunchOutCredential.sharedSecretModifiedTime attribute.
      Parameters:
      value - the sharedSecretModifiedTime