com.ibm.commerce.wallet.facade.server.metadata

Class WalletMetadata



  • public class WalletMetadata
    extends ComponentMetadata
    This class provides the Wallet metadata for the data service layer.
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM Copyright notice field.
        See Also:
        Constant Field Values
      • WALLET_NAME_LENGTH_LIMIT

        public static final int WALLET_NAME_LENGTH_LIMIT
        Wallet name length limit (in bytes).
        See Also:
        Constant Field Values
      • WALLETITEM_NAME_LENGTH_LIMIT

        public static final int WALLETITEM_NAME_LENGTH_LIMIT
        Wallet item name length limit (in bytes).
        See Also:
        Constant Field Values
    • Constructor Detail

      • WalletMetadata

        public WalletMetadata()
    • Method Detail

      • getEPackageName

        public java.lang.String getEPackageName()
        This method gets the Wallet physical SDO EPackage name.
        Specified by:
        getEPackageName in class ComponentMetadata
        Returns:
        This method returns the Wallet physical SDO EPackage name.
      • getRootEClass

        public org.eclipse.emf.ecore.EClass getRootEClass()
        This method gets the root class.
        Overrides:
        getRootEClass in class ComponentMetadata
        Returns:
        This method returns the root class.
      • invalidStringLength

        public static boolean invalidStringLength(java.lang.String str,
                                                  int maxLength)
        This method checks if the specified string exceed the maximum length that can be stored in the database. The maximum length is specified in the number of bytes.
        Parameters:
        str - The string to check.
        maxLength - The maximum length of the string specified in the number of bytes.
        Returns:
        This method returns true if the string length exceeds the maximum number of bytes, otherwise it will return false.